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. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Jini Technology
Java Runtime Environment (JRE)
JavaSpaces
JavaBeans
2. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
transient
double precision
Java Platform
catch
3. Creates an object from an existing class.
try
final
Java Media Framework
new
4. 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
private
Servlet workings
implements
Include Directive element
5. Tests to see whether a certain object comes from a certain class.
JavaBeans
return
instanceof
final
6. Jumps out of a loop or switch.
final
Java Runtime Environment (JRE)
volatile
break
7. Indicates that a method doesn't return a value.
void
final
float
double
8. Indicates that a value is a 64-bit whole number.
long
while
OTS (Object Transaction Service)
abstract
9. 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.
IIOP (Internet Inter-ORB Protocol)
instanceof
Java Media Framework
goto
10. Used to terminate the execution of the current JSP page and switch control to another resource
Java Media APIs
jsp:forware Action element (with jsp:param)
Java Applet Definition
instanceof
11. 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()
extends
abstract
Declarations
Java Remote Method Invocation (RMI)
12. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
goto
native
float
Java Database Connectivity (JDBC)
13. This separates the content presentation (View) from the underlying business operations/content generation (Model) using infrastructure/controller Servlet (Controller) which exists between the client browser and the JSP/Servlet-generated pages. Contro
MVC Architecture
jsp:plugin (uses jsp:params and jsp:fallback)
byte
Java Naming and Directory Interface (JNDI)
14. Introduces a class
class
static
Expressions
catch
15. Ends execution of a method and possibly returns a value to the calling code.
Java Platform
return
try
JavaCheck
16. A tool for checking compliance of applications and applets to a specification.
Servlet Chaining
wrapper class
JavaCheck
goto
17. Sets attributes and properties specific to the current JSP page
Java Media Framework
while
Page Directive element
long
18. Introduces one of several possible paths of execution in a switch statement.
case
char
Servlet Aliasing
else
19. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
interface
wrapper class
MVC Architecture
20. Indicates that a method or constructor may pass the buck when an exception is thrown.
JSP
throws
if
Java Applet Definition
21. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
DTD (Document Type Definition)
class
POA (Portable Object Adapter)
wrapper class
22. Indicates that a variable or method can be used in subclasses from another package.
Page-centric architecture
Expressions
protected
Servlet workings
23. A class that wraps primitives - Integer or Boolean...
Servlet
interface
wrapper class
continue
24. 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
Servlet Aliasing
transient
Java Interface Definition Language (IDL)
short
25. A set of APIs that support the integration of audio and video clips & 2D fonts & graphics and images as well as 3D models and telephony.
double precision
ORB (Object Request Broker)
char
Java Media APIs
26. Indicates that a value is an 8-bit whole number.
ORB (Object Request Broker)
JDK (Java Development Kit)
byte
Declarations
27. 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
case
long
JavaBeans
28. Indicates that a variable or method belongs to a class rather than to any object created from the class.
Java Compatibility Kit (JCK)
static
float
Servlet workings
29. A tool for tracking and managing source file changes - written in Java.
do
Servlet container
Servlet workings
JavaSafe
30. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
Java virtual machine
JavaCheck
while
31. Basic code block of a JSP page
Java Media APIs
Scriptlets
long
Java Foundation Classes (JFC)
32. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
JavaBeans
float
DOM (Document Object Model)
Servlet workings
33. Similar to the include Directive but can pass information to the included resource
JAR (Java Archive)
extends
jsp:include Action element (with jsp:param)
Servlet Aliasing
34. Reuses the functionality from a previously defined interface.
implements
Java Compatibility Kit (JCK)
int
import
35. Indicates that a value is a 32-bit whole number.
Java Naming and Directory Interface (JNDI)
int
JSP Beans
new
36. Indicates that a variable or class or method can be used by any other Java code.
abstract
public
default
break
37. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
break
Java Interface Definition Language (IDL)
Java Native Interface
38. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
Java Runtime Environment (JRE)
Tag Library Directive element
DOM (Document Object Model)
39. A self-reference
Java Database Connectivity (JDBC)
for
javax.servlet.http.*
this
40. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
while
instanceof
abstract
double
41. The output of one servlet act as a input to another servlet.
catch
Servlet Aliasing
Servlet Chaining
new
42. Useful only for small sites
Java Compatibility Kit (JCK)
Page-centric architecture
OTS (Object Transaction Service)
Java Foundation Classes (JFC)
43. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
else
long
Java Native Interface
Servlet Aliasing
44. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
short
abstract
break
native
45. Introduces a path of execution to take when no case is a match in a switch statement.
Page Directive element
jsp:include Action element (with jsp:param)
Java Native Interface
default
46. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JDK (Java Development Kit)
JavaBeans
implements
while
47. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
abstract
throw
Java Compatibility Kit (JCK)
Scriptlets
48. Two Servlet API packages: javax.servlet.* ___________
final
javax.servlet.http.*
throw
byte
49. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
JavaSpaces
transient
while
static
50. Keeps two threads from interfering with one another.
Scriptlets
synchronized
static
goto