SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Java Programming Basics
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Introduces statements that are watched (during runtime) for things that can go wrong.
catch
protected
OTS (Object Transaction Service)
try
2. Includes a new tag library into page - allows use of tags in page
Servlet container
Declarations
Tag Library Directive element
for
3. Ends execution of a method and possibly returns a value to the calling code.
return
Java Naming and Directory Interface (JNDI)
throws
void
4. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
public
for
goto
package
5. Creates a subclass
JavaSafe
JavaBeans
throws
extends
6. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
short
long
Jini Technology
7. Indicates that a method or constructor may pass the buck when an exception is thrown.
POA (Portable Object Adapter)
Java Applet Definition
JSP Beans
throws
8. Servlet is: loaded by servlet container when 1st requested; is then forwarded the user's request; processes the user's request; returns the response back to the servlet container. Servlet container sends this response back to the user. Servlet stays
Java Media Framework
Servlet workings
finally
break
9. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
static
final
Java Media APIs
POA (Portable Object Adapter)
10. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
JAR (Java Archive)
IIOP (Internet Inter-ORB Protocol)
final
11. Introduces a path of execution to take when no case is a match in a switch statement.
case
default
JSP Beans
boolean
12. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
Java Foundation Classes (JFC)
Java Compatibility Kit (JCK)
Java Native Interface
13. Introduces statements that are executed when the condition in an if statement isn't true.
else
Java Naming and Directory Interface (JNDI)
MVC Architecture
Java Runtime Environment (JRE)
14. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
do
double
Java Foundation Classes (JFC)
Include Directive element
15. Used to terminate the execution of the current JSP page and switch control to another resource
Scriptlets
jsp:forware Action element (with jsp:param)
Servlet
jsp:include Action element (with jsp:param)
16. Repeats some statements over and over again (as long as a condition is still true).
super
Java Remote Method Invocation (RMI)
while
Java Media Framework
17. Indicates that a variable or method can be used in subclasses from another package.
protected
Java Foundation Classes (JFC)
Semaphore
Tag Library Directive element
18. Jumps out of a loop or switch.
if
try
break
Include Directive element
19. Sets attributes and properties specific to the current JSP page
javax.servlet.http.*
JavaSpaces
Page Directive element
Semaphore
20. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
case
throw
byte
Java virtual machine
21. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
instanceof
default
Java Runtime Environment (JRE)
22. A protocol used for communication between CORBA object request brokers.
else
IIOP (Internet Inter-ORB Protocol)
case
Java Media Framework
23. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Tag Library Directive element
CORBA
OS principal
double precision
24. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
IIOP (Internet Inter-ORB Protocol)
switch
POA (Portable Object Adapter)
final
25. A subset of the Java Development Kit (JDK) for end-users and developers who want to redistribute the runtime environment alone. The Java runtime environment consists of the Java virtual machine1 - the Java core classes and supporting files.
assert
Java Runtime Environment (JRE)
default
private
26. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
OS principal
Java Platform
JavaBeans
IIOP (Internet Inter-ORB Protocol)
27. Keeps two threads from interfering with one another.
synchronized
private
JavaCheck
volatile
28. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
case
JAR (Java Archive)
strictfp
Servlet Aliasing
29. Indicates that a variable or method belongs to a class rather than to any object created from the class.
public
jsp:forware Action element (with jsp:param)
Java Applet Definition
static
30. Indicates that a value is either true or false in the Java sense.
boolean
assert
DOM (Document Object Model)
void
31. Introduces one of several possible paths of execution in a switch statement.
JavaSpaces
else
Java Platform
case
32. Puts the code into a package
POA (Portable Object Adapter)
package
volatile
Java Applet Definition
33. Basic code block of a JSP page
Scriptlets
static
Java Media Framework
javax.servlet.http.*
34. Creates an object from an existing class.
new
try
JavaScript
javax.servlet.http.*
35. A tool for tracking and managing source file changes - written in Java.
try
for
JavaSafe
Java Media Framework
36. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Include Directive element
assert
JAR (Java Archive)
if
37. The output of one servlet act as a input to another servlet.
Java Applet Definition
catch
Servlet Chaining
IIOP (Internet Inter-ORB Protocol)
38. Indicates that a variable or method can be used only within a certain class.
private
goto
Page-centric architecture
switch
39. Similar to the include Directive but can pass information to the included resource
super
instanceof
jsp:include Action element (with jsp:param)
JavaScript
40. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
Servlet workings
Servlet Chaining
javax.servlet.http.*
41. A tool for checking compliance of applications and applets to a specification.
Servlet
JavaCheck
Tag Library Directive element
Java Interface Definition Language (IDL)
42. Useful only for small sites
Page-centric architecture
Java Naming and Directory Interface (JNDI)
Page Directive element
package
43. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
DTD (Document Type Definition)
Java Runtime Environment (JRE)
JSP Beans
static
44. A principal native to the operating system on which the Java platform is executing.
OS principal
long
OTS (Object Transaction Service)
JavaSafe
45. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Page-centric architecture
Java Applet Definition
native
Declarations
46. A class that wraps primitives - Integer or Boolean...
MVC Architecture
if
wrapper class
volatile
47. Refers to the superclass of the code in which the word super appears.
public
super
extends
Java Foundation Classes (JFC)
48. An opensource Java Application Server
Page-centric architecture
JBossn
JavaSpaces
interface
49. A set of Java APIs that may be incorporated an optional package for any Java 2 Platform Edition. The Jini APIs enable transparent networking of devices and services and eliminates the need for system or network administration intervention by a user.
JavaCheck
Jini Technology
static
IIOP (Internet Inter-ORB Protocol)
50. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
Servlet
JavaSpaces
goto