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 opensource Java Application Server
long
if
JBossn
POA (Portable Object Adapter)
2. 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
else
abstract
Servlet workings
super
3. Keeps two threads from interfering with one another.
synchronized
Java Naming and Directory Interface (JNDI)
void
IIOP (Internet Inter-ORB Protocol)
4. 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.
ORB (Object Request Broker)
Java Media Framework
const
do
5. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Java Development Kit (JDK)
double precision
super
Java Database Connectivity (JDBC)
6. 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.
Jini Technology
Java Database Connectivity (JDBC)
int
class
7. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
float
Java Runtime Environment (JRE)
DTD (Document Type Definition)
public
8. Tests to see whether a certain object comes from a certain class.
case
synchronized
IIOP (Internet Inter-ORB Protocol)
instanceof
9. A description of the structure and properties of a class of XML files.
if
DTD (Document Type Definition)
Java Applet Definition
IIOP (Internet Inter-ORB Protocol)
10. CRUD: Create - Retrieve - ________ - Delete
switch
transient
Java Platform
Update
11. 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.
extends
short
abstract
Java Remote Method Invocation (RMI)
12. Used to terminate the execution of the current JSP page and switch control to another resource
do
JavaBeans
JAR (Java Archive)
jsp:forware Action element (with jsp:param)
13. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
while
Update
strictfp
14. Indicates that a variable or method can be used in subclasses from another package.
Java Runtime Environment (JRE)
protected
package
Java Media APIs
15. 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
if
implements
MVC Architecture
interface
16. Imposes strict rules on the use of a variable by more than one thread at a time.
return
protected
volatile
public
17. Jumps out of a loop or switch.
boolean
private
break
transient
18. Includes a new tag library into page - allows use of tags in page
Java Foundation Classes (JFC)
JSP Beans
Tag Library Directive element
abstract
19. Indicates that a variable or class or method can be used by any other Java code.
implements
public
JSP Beans
int
20. Creates an object from an existing class.
JSP Beans
Java Interface Definition Language (IDL)
new
Java Media APIs
21. 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 Runtime Environment (JRE)
protected
while
IIOP (Internet Inter-ORB Protocol)
22. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
volatile
Page Directive element
CORBA
int
23. 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
JavaBeans
POA (Portable Object Adapter)
Declarations
24. 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.
IIOP (Internet Inter-ORB Protocol)
OTS (Object Transaction Service)
for
Java Native Interface
25. ______ 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
DOM (Document Object Model)
JSP
Declarations
static
26. A protocol used for communication between CORBA object request brokers.
float
IIOP (Internet Inter-ORB Protocol)
enum
const
27. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
Include Directive element
void
JavaSpaces
28. Puts the code into a package
float
jsp:plugin (uses jsp:params and jsp:fallback)
new
package
29. 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
JavaBeans
public
POA (Portable Object Adapter)
30. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Include Directive element
continue
throws
do
31. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Semaphore
volatile
Page Directive element
boolean
32. Includes a file in the page
wrapper class
JavaSpaces
Include Directive element
throws
33. A principal native to the operating system on which the Java platform is executing.
double
Java Naming and Directory Interface (JNDI)
DTD (Document Type Definition)
OS principal
34. 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.
return
Tag Library Directive element
Java Development Kit (JDK)
public
35. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
JDK (Java Development Kit)
throw
Java Interface Definition Language (IDL)
transient
36. Forces the abrupt end of the current loop iteration and begins another iteration.
transient
continue
else
import
37. Refers to the superclass of the code in which the word super appears.
super
for
long
IIOP (Internet Inter-ORB Protocol)
38. Reuses the functionality from a previously defined interface.
implements
ORB (Object Request Broker)
try
JavaScript
39. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
static
MVC Architecture
transient
strictfp
40. Ends execution of a method and possibly returns a value to the calling code.
return
Servlet Chaining
jsp:plugin (uses jsp:params and jsp:fallback)
default
41. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
JavaBeans
Servlet Aliasing
abstract
CORBA
42. A tool for tracking and managing source file changes - written in Java.
protected
default
Semaphore
JavaSafe
43. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
package
Java Database Connectivity (JDBC)
import
44. Introduces statements that are executed when the condition in an if statement isn't true.
JBossn
implements
Semaphore
else
45. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
continue
double
JBossn
instanceof
46. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
protected
final
wrapper class
JSP Beans
47. Repeats some statements over and over again (as long as a condition is still true).
while
Java Media Framework
Java Applet Definition
Page-centric architecture
48. 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.
this
throws
super
Java Media APIs
49. Indicates that a variable or method belongs to a class rather than to any object created from the class.
transient
super
new
static
50. 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.
Servlet
goto
Java Applet Definition
JSP Beans