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. An industry standard for database-independent connectivity between the Java platform and a wide range of databases. The JDBC provides a call-level API for SQL-based database access.
Expressions
Java Database Connectivity (JDBC)
Java Naming and Directory Interface (JNDI)
float
2. A tool for tracking and managing source file changes - written in Java.
Scriptlets
JBossn
const
JavaSafe
3. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
int
throws
jsp:include Action element (with jsp:param)
4. Tests the truth of a condition that the programmer believes is true.
implements
Servlet container
Java Compatibility Kit (JCK)
assert
5. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
if
Declarations
Tag Library Directive element
6. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
OTS (Object Transaction Service)
finally
import
float
7. A tool for checking compliance of applications and applets to a specification.
JavaCheck
DTD (Document Type Definition)
else
case
8. Indicates that a variable or method can be used only within a certain class.
JavaCheck
private
else
POA (Portable Object Adapter)
9. Type of Java program (as opposed to a stand-alone program) which is embedded in a web page (requested from a server) and run on a client-side browser
JDK (Java Development Kit)
Page Directive element
switch
Java Applet Definition
10. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
synchronized
switch
CORBA
Java Runtime Environment (JRE)
11. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
POA (Portable Object Adapter)
final
native
catch
12. Similar to the include Directive but can pass information to the included resource
catch
super
jsp:include Action element (with jsp:param)
Java Remote Method Invocation (RMI)
13. CRUD: Create - Retrieve - ________ - Delete
Update
Java Media Framework
void
enum
14. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
byte
JavaScript
char
double
15. Indicates that a value is either true or false in the Java sense.
char
private
boolean
instanceof
16. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Scriptlets
CORBA
char
synchronized
17. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
Scriptlets
javax.servlet.http.*
package
throw
18. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
catch
return
if
POA (Portable Object Adapter)
19. Creates an object from an existing class.
new
int
JSP
goto
20. A software development environment for writing applets and application in Java .
DTD (Document Type Definition)
throws
JDK (Java Development Kit)
do
21. Includes a file in the page
do
catch
Include Directive element
throw
22. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Java Remote Method Invocation (RMI)
Expressions
POA (Portable Object Adapter)
Java Runtime Environment (JRE)
23. Introduces one of several possible paths of execution in a switch statement.
Include Directive element
protected
case
goto
24. Ends execution of a method and possibly returns a value to the calling code.
Servlet
return
long
case
25. Basic code block of a JSP page
Scriptlets
Page Directive element
Jini Technology
strictfp
26. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java Development Kit (JDK)
Semaphore
private
Java Applet Definition
27. Introduces a path of execution to take when no case is a match in a switch statement.
continue
double
default
POA (Portable Object Adapter)
28. Sets attributes and properties specific to the current JSP page
DOM (Document Object Model)
Java Development Kit (JDK)
Page Directive element
static
29. 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.
const
Page-centric architecture
Expressions
Java virtual machine
30. 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
else
javax.servlet.http.*
boolean
Java Interface Definition Language (IDL)
31. A description of the structure and properties of a class of XML files.
ORB (Object Request Broker)
switch
DTD (Document Type Definition)
IIOP (Internet Inter-ORB Protocol)
32. Imposes strict rules on the use of a variable by more than one thread at a time.
Java Database Connectivity (JDBC)
volatile
finally
else
33. Indicates that a variable or method can be used in subclasses from another package.
super
protected
Java Database Connectivity (JDBC)
const
34. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
protected
Java Foundation Classes (JFC)
double precision
void
35. Indicates that a variable or method belongs to a class rather than to any object created from the class.
this
DTD (Document Type Definition)
Scriptlets
static
36. Introduces the last will and testament of the statements in a try clause.
protected
Java Native Interface
finally
IIOP (Internet Inter-ORB Protocol)
37. Tests to see whether a certain object comes from a certain class.
Java Native Interface
JDK (Java Development Kit)
instanceof
throws
38. Repeats some statements over and over again (as long as a condition is still true).
new
while
public
static
39. A self-reference
jsp:include Action element (with jsp:param)
this
while
Java Naming and Directory Interface (JNDI)
40. A library than enables CORBA objects to locate and communicate with one another.
Semaphore
Java virtual machine
ORB (Object Request Broker)
short
41. Run-once code blocks which run once at beginning of page load for initialization tasks - can appear anywhere in .jsp page itself - useful for overload JspInit() and JspDestroy()
Declarations
extends
Java Runtime Environment (JRE)
Java Compatibility Kit (JCK)
42. Enables the programmer to abbreviate the names of classes defined in a package.
Java Media APIs
JBossn
super
import
43. Indicates that a value is a 16-bit whole number.
Scriptlets
byte
Java Remote Method Invocation (RMI)
short
44. Indicates that a method doesn't return a value.
const
Java Development Kit (JDK)
JBossn
void
45. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
JSP
new
native
46. Useful only for small sites
Servlet container
Servlet Aliasing
Page-centric architecture
this
47. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
JBossn
long
transient
synchronized
48. 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.
wrapper class
Semaphore
Java Compatibility Kit (JCK)
Java Media APIs
49. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
long
continue
float
DOM (Document Object Model)
50. A software development environment for writing applets and applications in the Java programming language. Technically - the JDK is the correct name for all versions of the Java platform from 1.0 to 1.1.x.
strictfp
break
Java Development Kit (JDK)
Expressions