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. Ends execution of a method and possibly returns a value to the calling code.
DOM (Document Object Model)
Jini Technology
return
instanceof
2. Basic code block of a JSP page
Servlet workings
Declarations
Page-centric architecture
Scriptlets
3. A protocol used for communication between CORBA object request brokers.
this
JavaCheck
package
IIOP (Internet Inter-ORB Protocol)
4. A description of the structure and properties of a class of XML files.
enum
Servlet container
DTD (Document Type Definition)
MVC Architecture
5. 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
JavaCheck
public
JAR (Java Archive)
OTS (Object Transaction Service)
6. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Page-centric architecture
javax.servlet.http.*
transient
Java Remote Method Invocation (RMI)
7. Imposes strict rules on the use of a variable by more than one thread at a time.
abstract
volatile
implements
jsp:forware Action element (with jsp:param)
8. 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.
Java Database Connectivity (JDBC)
Expressions
Java Media Framework
Jini Technology
9. Indicates that a value is either true or false in the Java sense.
static
Jini Technology
boolean
strictfp
10. Refers to the superclass of the code in which the word super appears.
Servlet workings
switch
Java Database Connectivity (JDBC)
super
11. Keeps two threads from interfering with one another.
do
JSP Beans
POA (Portable Object Adapter)
synchronized
12. Introduces an interface which is like a class but less specific.
break
interface
for
long
13. Indicates that a value is a 32-bit whole number.
int
DOM (Document Object Model)
char
JavaCheck
14. The output of one servlet act as a input to another servlet.
assert
void
volatile
Servlet Chaining
15. 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
catch
Java Foundation Classes (JFC)
Java Compatibility Kit (JCK)
16. Introduces the last will and testament of the statements in a try clause.
continue
POA (Portable Object Adapter)
finally
try
17. Tests to see whether a certain object comes from a certain class.
strictfp
class
instanceof
DOM (Document Object Model)
18. A class that wraps primitives - Integer or Boolean...
wrapper class
JSP Beans
package
else
19. A library than enables CORBA objects to locate and communicate with one another.
throw
interface
jsp:plugin (uses jsp:params and jsp:fallback)
ORB (Object Request Broker)
20. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Java Media Framework
try
DOM (Document Object Model)
jsp:plugin (uses jsp:params and jsp:fallback)
21. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Foundation Classes (JFC)
case
CORBA
Java Naming and Directory Interface (JNDI)
22. 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()
boolean
Declarations
Java Media Framework
volatile
23. Indicates that a value is a 64-bit whole number.
int
javax.servlet.http.*
return
long
24. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
Servlet Chaining
double
Servlet workings
Servlet Aliasing
25. Useful only for small sites
Servlet container
Page-centric architecture
int
this
26. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
jsp:plugin (uses jsp:params and jsp:fallback)
double precision
finally
catch
27. 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.
Servlet workings
Java Interface Definition Language (IDL)
interface
const
28. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Servlet
boolean
JSP Beans
class
29. A tool for checking compliance of applications and applets to a specification.
Jini Technology
boolean
JavaCheck
for
30. Two Servlet API packages: javax.servlet.* ___________
IIOP (Internet Inter-ORB Protocol)
javax.servlet.http.*
JBossn
abstract
31. Indicates that a value is a 16-bit whole number.
short
wrapper class
Java Native Interface
if
32. An opensource Java Application Server
Page Directive element
protected
switch
JBossn
33. 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.
synchronized
Java Native Interface
Semaphore
if
34. Sets attributes and properties specific to the current JSP page
final
Java Media APIs
POA (Portable Object Adapter)
Page Directive element
35. 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
Jini Technology
Java Compatibility Kit (JCK)
IIOP (Internet Inter-ORB Protocol)
36. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
jsp:include Action element (with jsp:param)
this
boolean
final
37. 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
Java Interface Definition Language (IDL)
goto
extends
Java Runtime Environment (JRE)
38. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
JSP Beans
if
JavaSafe
throws
39. 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
Update
OTS (Object Transaction Service)
long
40. Includes a new tag library into page - allows use of tags in page
break
Tag Library Directive element
jsp:include Action element (with jsp:param)
instanceof
41. 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.
return
continue
Java Media APIs
private
42. Reuses the functionality from a previously defined interface.
implements
Java Native Interface
OS principal
do
43. Introduces statements that are watched (during runtime) for things that can go wrong.
boolean
try
do
enum
44. Used to terminate the execution of the current JSP page and switch control to another resource
Java Platform
finally
jsp:forware Action element (with jsp:param)
JavaCheck
45. Introduces one of several possible paths of execution in a switch statement.
wrapper class
Page Directive element
case
Servlet workings
46. 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
Servlet
JavaSpaces
Java Applet Definition
switch
47. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
wrapper class
Java Foundation Classes (JFC)
ORB (Object Request Broker)
Java Development Kit (JDK)
48. CRUD: Create - Retrieve - ________ - Delete
Java Media APIs
strictfp
Update
finally
49. Introduces statements that are executed when the condition in an if statement isn't true.
Jini Technology
if
new
else
50. 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.
Java Database Connectivity (JDBC)
new
Scriptlets
byte