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. Introduces a path of execution to take when no case is a match in a switch statement.
char
default
synchronized
abstract
2. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
MVC Architecture
package
Java Foundation Classes (JFC)
double
3. Jumps out of a loop or switch.
JBossn
Java Development Kit (JDK)
float
break
4. A tool for checking compliance of applications and applets to a specification.
Servlet Chaining
ORB (Object Request Broker)
JavaCheck
catch
5. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Java Native Interface
double precision
strictfp
do
6. ______ 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
boolean
JSP
catch
for
7. Creates a newly defined type
short
Servlet
enum
Include Directive element
8. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
short
Update
Servlet Chaining
9. Indicates that a variable or method can be used only within a certain class.
private
try
native
class
10. Reuses the functionality from a previously defined interface.
jsp:forware Action element (with jsp:param)
implements
catch
Semaphore
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.
Servlet Aliasing
synchronized
JBossn
Java Remote Method Invocation (RMI)
12. Introduces statements that are watched (during runtime) for things that can go wrong.
try
private
JBossn
IIOP (Internet Inter-ORB Protocol)
13. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
short
DTD (Document Type Definition)
transient
int
14. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
JavaSafe
javax.servlet.http.*
Java Database Connectivity (JDBC)
throw
15. Indicates that a value is a 16-bit whole number.
short
import
long
while
16. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Servlet container
Semaphore
DOM (Document Object Model)
default
17. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
goto
Expressions
Jini Technology
for
18. Tests to see whether a certain object comes from a certain class.
DOM (Document Object Model)
instanceof
Jini Technology
POA (Portable Object Adapter)
19. Similar to the include Directive but can pass information to the included resource
Java Development Kit (JDK)
Tag Library Directive element
jsp:include Action element (with jsp:param)
implements
20. A Web scripting language that is used in both browsers and Web servers. Like all scripting languages it is used primarily to tie other components together or to accept user input.
JavaSafe
JavaScript
Java Native Interface
DOM (Document Object Model)
21. Indicates that a method doesn't return a value.
void
double precision
final
new
22. Repeats some statements over and over again (as long as a condition is still true).
while
JavaCheck
Java Naming and Directory Interface (JNDI)
Servlet container
23. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
native
volatile
throws
abstract
24. Indicates that a value is a 32-bit whole number.
Java Naming and Directory Interface (JNDI)
OS principal
continue
int
25. Includes a file in the page
import
Include Directive element
extends
JSP Beans
26. 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()
throws
synchronized
Declarations
Java Media APIs
27. Forces the abrupt end of the current loop iteration and begins another iteration.
break
private
continue
Java Compatibility Kit (JCK)
28. An opensource Java Application Server
JBossn
Java Runtime Environment (JRE)
JavaScript
throw
29. Includes a new tag library into page - allows use of tags in page
instanceof
Tag Library Directive element
void
Page-centric architecture
30. Used to generate HTML
if
Servlet container
jsp:plugin (uses jsp:params and jsp:fallback)
transient
31. 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.
strictfp
JAR (Java Archive)
Servlet
volatile
32. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Page-centric architecture
Servlet container
case
final
33. Indicates that a value is either true or false in the Java sense.
Servlet Aliasing
boolean
Java Runtime Environment (JRE)
Java Compatibility Kit (JCK)
34. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java virtual machine
Semaphore
IIOP (Internet Inter-ORB Protocol)
native
35. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
int
Update
double
Java Remote Method Invocation (RMI)
36. Creates a subclass
CORBA
throw
extends
abstract
37. 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
Java virtual machine
MVC Architecture
case
jsp:forware Action element (with jsp:param)
38. Basic code block of a JSP page
JSP Beans
transient
Scriptlets
while
39. Indicates that a value is an 8-bit whole number.
byte
Java Media APIs
case
JavaSpaces
40. Used to terminate the execution of the current JSP page and switch control to another resource
volatile
jsp:forware Action element (with jsp:param)
JavaSpaces
JDK (Java Development Kit)
41. 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.
wrapper class
Java Native Interface
Java Database Connectivity (JDBC)
protected
42. 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.
jsp:include Action element (with jsp:param)
Java Runtime Environment (JRE)
POA (Portable Object Adapter)
jsp:plugin (uses jsp:params and jsp:fallback)
43. Two Servlet API packages: javax.servlet.* ___________
Java Database Connectivity (JDBC)
javax.servlet.http.*
Declarations
IIOP (Internet Inter-ORB Protocol)
44. A tool for tracking and managing source file changes - written in Java.
break
catch
JavaSafe
short
45. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.
Java Media Framework
while
Include Directive element
int
46. Useful only for small sites
new
Servlet container
super
Page-centric architecture
47. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
char
do
protected
else
48. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Page-centric architecture
void
public
JavaSpaces
49. Introduces the last will and testament of the statements in a try clause.
import
finally
short
boolean
50. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
boolean
for
Java Platform
OTS (Object Transaction Service)