SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. A protocol used for communication between CORBA object request brokers.
IIOP (Internet Inter-ORB Protocol)
Java Media Framework
Java Naming and Directory Interface (JNDI)
Java Native Interface
2. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Update
native
Servlet container
DOM (Document Object Model)
3. Jumps out of a loop or switch.
volatile
JDK (Java Development Kit)
break
interface
4. A platform-independent file format that aggregates many files into one. Multiple applets written in the Java programming language and their requisite components (.class files & images & sounds and other resource files) can be bundled in a JAR file an
long
JAR (Java Archive)
break
Include Directive element
5. Creates an object from an existing class.
continue
Java Development Kit (JDK)
case
new
6. 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.
break
Jini Technology
long
protected
7. Keeps two threads from interfering with one another.
MVC Architecture
return
break
synchronized
8. Indicates that a value is a 32-bit whole number.
int
Java Runtime Environment (JRE)
DTD (Document Type Definition)
void
9. 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.
Java Interface Definition Language (IDL)
Java Applet Definition
CORBA
Java Runtime Environment (JRE)
10. Tests the truth of a condition that the programmer believes is true.
jsp:plugin (uses jsp:params and jsp:fallback)
strictfp
wrapper class
assert
11. The output of one servlet act as a input to another servlet.
Java Foundation Classes (JFC)
throws
int
Servlet Chaining
12. A test suite - a set of tools and other requirements used to certify a Java platform implementation conformant both to the applicable Java platform specifications and to Java Software reference implementations.
return
Java Remote Method Invocation (RMI)
Java Compatibility Kit (JCK)
Jini Technology
13. Repeats some statements over and over again (as long as a condition is still true).
Expressions
OTS (Object Transaction Service)
while
int
14. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
implements
CORBA
const
15. Sets attributes and properties specific to the current JSP page
javax.servlet.http.*
strictfp
finally
Page Directive element
16. Indicates that a value is a 16-bit whole number.
short
volatile
boolean
Java Platform
17. Tests to see whether a certain object comes from a certain class.
void
implements
DTD (Document Type Definition)
instanceof
18. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
javax.servlet.http.*
OTS (Object Transaction Service)
native
Java Native Interface
19. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
implements
Java Naming and Directory Interface (JNDI)
Java Media Framework
Expressions
20. A tool for checking compliance of applications and applets to a specification.
IIOP (Internet Inter-ORB Protocol)
do
JavaCheck
Servlet container
21. Indicates that a variable or class or method can be used by any other Java code.
JavaSpaces
public
static
double precision
22. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
long
switch
Java Foundation Classes (JFC)
int
23. A Web scripting language that is used in both browsers and Web servers. Like all scripting languages it is used primarily to tie other components together or to accept user input.
OTS (Object Transaction Service)
JavaScript
Java Native Interface
catch
24. Consists of class libraries - a Java virtual machine (JVM) and class loader (which comprise the runtime environment) and a compiler - debugger and other tools (which comprise the development kit).
return
instanceof
Java Platform
Java Development Kit (JDK)
25. Useful only for small sites
Java Media APIs
final
Page-centric architecture
Expressions
26. An opensource Java Application Server
continue
volatile
JBossn
Java Runtime Environment (JRE)
27. Indicates that a method or constructor may pass the buck when an exception is thrown.
throw
throws
synchronized
Scriptlets
28. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
for
Servlet Aliasing
if
jsp:forware Action element (with jsp:param)
29. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
throws
implements
JSP Beans
30. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
Java Media APIs
this
throw
boolean
31. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
Java Applet Definition
char
double
switch
32. Used to terminate the execution of the current JSP page and switch control to another resource
Java Foundation Classes (JFC)
double precision
public
jsp:forware Action element (with jsp:param)
33. You can't use this word in a Java program. The word has no meaning. Because it's a keyword you can't create a goto variable.
private
goto
Declarations
catch
34. Enables the programmer to abbreviate the names of classes defined in a package.
import
extends
strictfp
do
35. Indicates that a variable or method can be used only within a certain class.
IIOP (Internet Inter-ORB Protocol)
JavaCheck
private
for
36. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
public
JavaBeans
Scriptlets
37. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
if
CORBA
Java Media APIs
JSP
38. A special Java servlet-aware web server process.
Servlet container
interface
Servlet workings
JSP Beans
39. You can't use this word in a Java program. The word has no meaning. Because it's a keyword - you can't create a const variable.
Java Development Kit (JDK)
JBossn
JavaSpaces
const
40. A Java class that can be loaded into and run dynamically in a Servlet container on a web server; interact with web clients via a request-response model based on HTTP.
Servlet Aliasing
abstract
Servlet
Java Media APIs
41. Similar to the include Directive but can pass information to the included resource
synchronized
Java virtual machine
char
jsp:include Action element (with jsp:param)
42. Forces the abrupt end of the current loop iteration and begins another iteration.
Servlet workings
super
Java Foundation Classes (JFC)
continue
43. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
jsp:forware Action element (with jsp:param)
volatile
Semaphore
for
44. Introduces one of several possible paths of execution in a switch statement.
throw
OTS (Object Transaction Service)
case
Java Media Framework
45. A standard programming interface for writing Java native methods and embedding the JVM into native applications. The primary goal is binary compatibility of native method libraries across all JVM implementations on a given platform.
Page Directive element
POA (Portable Object Adapter)
Java Native Interface
byte
46. Introduces statements that are watched (during runtime) for things that can go wrong.
implements
Java Runtime Environment (JRE)
try
super
47. Reuses the functionality from a previously defined interface.
Java Foundation Classes (JFC)
implements
JavaSpaces
catch
48. ______ uses HTML-like tags in a "*.jsp" web-page on a web server linked to from the client's web-browser as short-hand to render Java Servlet code in a Java .class file by the Servlet/JSP container (done by the "page-compiler" Servlet) running on the
JSP
import
javax.servlet.http.*
super
49. A set of Java APIs that provide CORBA (Common Object Request Broker Architecture) interoperability and connectivity capabilities for the J2EE platform. These capabilities enable J2EE applications to invoke operations on remote network services using
this
while
if
Java Interface Definition Language (IDL)
50. Indicates that a variable or method can be used in subclasses from another package.
Java Applet Definition
else
protected
Servlet Aliasing