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 self-reference
this
catch
transient
extends
2. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
finally
Semaphore
Java Native Interface
long
3. Consists of class libraries - a Java virtual machine (JVM) and class loader (which comprise the runtime environment) and a compiler - debugger and other tools (which comprise the development kit).
JDK (Java Development Kit)
jsp:plugin (uses jsp:params and jsp:fallback)
Java Media Framework
Java Platform
4. Indicates that a variable or method can be used only within a certain class.
Servlet Chaining
Update
Scriptlets
private
5. 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.
final
Java Compatibility Kit (JCK)
default
continue
6. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
while
POA (Portable Object Adapter)
throws
7. A special Java servlet-aware web server process.
Servlet container
Java Media APIs
native
wrapper class
8. Indicates that a value is a 64-bit whole number.
switch
JSP Beans
long
ORB (Object Request Broker)
9. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Java Applet Definition
Jini Technology
JavaBeans
Java Remote Method Invocation (RMI)
10. Indicates that a variable or method can be used in subclasses from another package.
Scriptlets
new
JDK (Java Development Kit)
protected
11. Indicates that a method doesn't return a value.
void
Scriptlets
continue
double
12. Introduces a path of execution to take when no case is a match in a switch statement.
default
Java Foundation Classes (JFC)
this
DTD (Document Type Definition)
13. Sets attributes and properties specific to the current JSP page
javax.servlet.http.*
Page Directive element
Java Naming and Directory Interface (JNDI)
package
14. A tool for checking compliance of applications and applets to a specification.
IIOP (Internet Inter-ORB Protocol)
JavaCheck
Update
Jini Technology
15. 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.
JavaCheck
this
goto
try
16. Reuses the functionality from a previously defined interface.
else
JDK (Java Development Kit)
implements
while
17. Introduces statements that are watched (during runtime) for things that can go wrong.
DTD (Document Type Definition)
Servlet
transient
try
18. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
implements
goto
break
for
19. A set of APIs that assists with the interfacing to multiple naming and directory services.
extends
JAR (Java Archive)
Include Directive element
Java Naming and Directory Interface (JNDI)
20. Indicates that a variable or class or method can be used by any other Java code.
public
do
else
Java Compatibility Kit (JCK)
21. 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.
Page Directive element
Java Media APIs
short
static
22. A tool for tracking and managing source file changes - written in Java.
JSP
JavaSafe
MVC Architecture
package
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
this
Page-centric architecture
Java Development Kit (JDK)
24. A software development environment for writing applets and application in Java .
OTS (Object Transaction Service)
JDK (Java Development Kit)
catch
interface
25. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
extends
static
synchronized
double
26. The output of one servlet act as a input to another servlet.
Include Directive element
Servlet Chaining
JavaSafe
JBossn
27. Used to terminate the execution of the current JSP page and switch control to another resource
transient
byte
jsp:forware Action element (with jsp:param)
instanceof
28. Used to generate HTML
CORBA
byte
Java Media APIs
jsp:plugin (uses jsp:params and jsp:fallback)
29. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
assert
final
Servlet Aliasing
import
30. Introduces the last will and testament of the statements in a try clause.
jsp:forware Action element (with jsp:param)
Java Media Framework
finally
Servlet Chaining
31. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
MVC Architecture
Java Interface Definition Language (IDL)
Java Platform
32. 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
finally
long
Java Platform
33. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
char
Scriptlets
Java Naming and Directory Interface (JNDI)
Java Media APIs
34. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
char
Java Foundation Classes (JFC)
Java Applet Definition
Java Naming and Directory Interface (JNDI)
35. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
char
catch
continue
default
36. A protocol used for communication between CORBA object request brokers.
Semaphore
IIOP (Internet Inter-ORB Protocol)
MVC Architecture
extends
37. Indicates that a value is a 32-bit whole number.
int
default
short
Servlet Chaining
38. Forces the abrupt end of the current loop iteration and begins another iteration.
else
continue
Servlet Aliasing
double precision
39. Similar to the include Directive but can pass information to the included resource
char
catch
enum
jsp:include Action element (with jsp:param)
40. CRUD: Create - Retrieve - ________ - Delete
MVC Architecture
DOM (Document Object Model)
Update
Jini Technology
41. Indicates that a variable or method belongs to a class rather than to any object created from the class.
synchronized
Java virtual machine
static
char
42. A software "execution engine" that safely and compatibly executes the byte codes in Java class files on a microprocessor (whether in a computer or in another electronic device).
Java virtual machine
super
Java Foundation Classes (JFC)
jsp:forware Action element (with jsp:param)
43. Repeats some statements over and over again (as long as a condition is still true).
void
while
new
default
44. Creates a newly defined type
enum
Java Native Interface
DTD (Document Type Definition)
synchronized
45. 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.
Java Development Kit (JDK)
jsp:plugin (uses jsp:params and jsp:fallback)
public
JAR (Java Archive)
46. Tests the truth of a condition that the programmer believes is true.
assert
OS principal
synchronized
implements
47. 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
JDK (Java Development Kit)
return
Declarations
JAR (Java Archive)
48. 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
Java Naming and Directory Interface (JNDI)
Servlet
case
Servlet workings
49. Introduces statements that are executed when the condition in an if statement isn't true.
private
else
do
Update
50. 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
float
assert
Java Interface Definition Language (IDL)
Scriptlets