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. 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
Java Applet Definition
Page-centric architecture
Java Compatibility Kit (JCK)
while
2. Indicates that a method or constructor may pass the buck when an exception is thrown.
Java Applet Definition
jsp:plugin (uses jsp:params and jsp:fallback)
throws
ORB (Object Request Broker)
3. Introduces an interface which is like a class but less specific.
Java Native Interface
OS principal
interface
Update
4. Tests to see whether a certain object comes from a certain class.
ORB (Object Request Broker)
JavaCheck
instanceof
javax.servlet.http.*
5. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
public
JavaSafe
protected
6. A self-reference
this
boolean
DOM (Document Object Model)
JAR (Java Archive)
7. Indicates that a variable or class or method can be used by any other Java code.
short
JavaScript
const
public
8. Tests the truth of a condition that the programmer believes is true.
Servlet Aliasing
Update
assert
for
9. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
new
Java Media Framework
final
char
10. Sets attributes and properties specific to the current JSP page
MVC Architecture
Java Media APIs
Page Directive element
Java Naming and Directory Interface (JNDI)
11. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
DOM (Document Object Model)
double
native
Java Remote Method Invocation (RMI)
12. CRUD: Create - Retrieve - ________ - Delete
extends
final
Update
enum
13. Used to generate HTML
Java Foundation Classes (JFC)
const
long
jsp:plugin (uses jsp:params and jsp:fallback)
14. 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.
final
javax.servlet.http.*
continue
goto
15. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
short
long
Java Foundation Classes (JFC)
JavaSafe
16. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Servlet Chaining
OTS (Object Transaction Service)
double precision
javax.servlet.http.*
17. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
package
Java Platform
JavaCheck
18. Introduces a path of execution to take when no case is a match in a switch statement.
package
default
Servlet
Page Directive element
19. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
JavaSpaces
Semaphore
catch
OTS (Object Transaction Service)
20. Introduces statements that are executed when the condition in an if statement isn't true.
javax.servlet.http.*
Java Compatibility Kit (JCK)
else
JavaScript
21. 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.
Java Native Interface
JavaScript
finally
Java Naming and Directory Interface (JNDI)
22. 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.
interface
Servlet
JavaScript
throw
23. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java Media APIs
this
final
Semaphore
24. Indicates that a method doesn't return a value.
implements
void
wrapper class
abstract
25. A class that wraps primitives - Integer or Boolean...
OTS (Object Transaction Service)
wrapper class
class
jsp:forware Action element (with jsp:param)
26. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
MVC Architecture
break
Declarations
27. Indicates that a value is a 32-bit whole number.
finally
int
ORB (Object Request Broker)
class
28. Refers to the superclass of the code in which the word super appears.
DOM (Document Object Model)
super
throws
new
29. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
native
strictfp
Java Media Framework
30. Introduces statements that are watched (during runtime) for things that can go wrong.
try
short
CORBA
Servlet container
31. The output of one servlet act as a input to another servlet.
native
try
Servlet Chaining
Update
32. Two Servlet API packages: javax.servlet.* ___________
int
JavaScript
boolean
javax.servlet.http.*
33. Imposes strict rules on the use of a variable by more than one thread at a time.
JSP Beans
JSP
jsp:plugin (uses jsp:params and jsp:fallback)
volatile
34. Introduces a class
CORBA
instanceof
class
JavaBeans
35. A library than enables CORBA objects to locate and communicate with one another.
do
Java virtual machine
ORB (Object Request Broker)
return
36. An opensource Java Application Server
CORBA
package
JBossn
Java virtual machine
37. 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.
private
Jini Technology
if
Java Applet Definition
38. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
DOM (Document Object Model)
throw
native
jsp:plugin (uses jsp:params and jsp:fallback)
39. Reuses the functionality from a previously defined interface.
float
private
implements
catch
40. Indicates that a variable or method can be used in subclasses from another package.
MVC Architecture
protected
JavaCheck
throws
41. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
Page Directive element
import
DTD (Document Type Definition)
42. Creates an object from an existing class.
Java Interface Definition Language (IDL)
new
Java Remote Method Invocation (RMI)
assert
43. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
switch
protected
catch
Include Directive element
44. A distributed object model for Java program to Java program in which the methods of remote objects written in the Java programming language can be invoked from other Java virtual machines1 - possibly on different hosts.
try
Include Directive element
Java Remote Method Invocation (RMI)
strictfp
45. A description of the structure and properties of a class of XML files.
volatile
final
DTD (Document Type Definition)
Declarations
46. Includes a new tag library into page - allows use of tags in page
Scriptlets
Java Media Framework
Tag Library Directive element
void
47. Keeps two threads from interfering with one another.
Java Compatibility Kit (JCK)
JDK (Java Development Kit)
const
synchronized
48. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSafe
native
try
JavaSpaces
49. Indicates that a value is a 64-bit whole number.
this
long
implements
class
50. A special Java servlet-aware web server process.
JBossn
Servlet container
throw
Java Development Kit (JDK)