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 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.
import
Java Compatibility Kit (JCK)
javax.servlet.http.*
package
2. Sets attributes and properties specific to the current JSP page
Java Remote Method Invocation (RMI)
IIOP (Internet Inter-ORB Protocol)
Page Directive element
package
3. Similar to the include Directive but can pass information to the included resource
synchronized
enum
jsp:include Action element (with jsp:param)
Java Runtime Environment (JRE)
4. A definition of the interfaces that permit CORBA objects to participate in transactions.
final
const
Declarations
OTS (Object Transaction Service)
5. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
super
Servlet workings
throw
Servlet
6. A self-reference
jsp:plugin (uses jsp:params and jsp:fallback)
jsp:include Action element (with jsp:param)
jsp:forware Action element (with jsp:param)
this
7. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
double
JBossn
Servlet Chaining
Java Applet Definition
8. A class that wraps primitives - Integer or Boolean...
Java Database Connectivity (JDBC)
continue
wrapper class
int
9. The output of one servlet act as a input to another servlet.
Servlet Chaining
JDK (Java Development Kit)
Declarations
boolean
10. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
return
instanceof
public
11. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Java virtual machine
Java Foundation Classes (JFC)
for
void
12. Repeats some statements over and over again (as long as a condition is still true).
finally
instanceof
while
volatile
13. Ends execution of a method and possibly returns a value to the calling code.
return
protected
Java Remote Method Invocation (RMI)
instanceof
14. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Jini Technology
JavaSafe
public
Semaphore
15. 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)
Scriptlets
continue
default
16. 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.
OTS (Object Transaction Service)
JavaScript
Page-centric architecture
Semaphore
17. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Java Remote Method Invocation (RMI)
Java Development Kit (JDK)
this
Expressions
18. Enables the programmer to abbreviate the names of classes defined in a package.
assert
case
import
Page Directive element
19. Includes a file in the page
super
void
else
Include Directive element
20. Indicates that a value is a 64-bit whole number.
Java Applet Definition
long
JavaSafe
Semaphore
21. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
case
IIOP (Internet Inter-ORB Protocol)
if
double precision
22. A library than enables CORBA objects to locate and communicate with one another.
for
ORB (Object Request Broker)
OTS (Object Transaction Service)
Java Native Interface
23. 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).
Java Platform
return
boolean
implements
24. Indicates that a value is an 8-bit whole number.
static
byte
if
JBossn
25. 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
JBossn
Java Naming and Directory Interface (JNDI)
wrapper class
26. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
final
Java Remote Method Invocation (RMI)
transient
Java Naming and Directory Interface (JNDI)
27. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
private
OS principal
Java Foundation Classes (JFC)
Tag Library Directive element
28. A special Java servlet-aware web server process.
const
Servlet container
javax.servlet.http.*
jsp:plugin (uses jsp:params and jsp:fallback)
29. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
default
catch
int
strictfp
30. 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
this
synchronized
Servlet workings
throw
31. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
JSP
Java Runtime Environment (JRE)
abstract
implements
32. 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.
if
Java Media Framework
Java Remote Method Invocation (RMI)
Servlet Chaining
33. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
CORBA
Java Applet Definition
transient
34. A description of the structure and properties of a class of XML files.
JavaSpaces
throw
OTS (Object Transaction Service)
DTD (Document Type Definition)
35. Creates a newly defined type
double
Jini Technology
throw
enum
36. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
enum
protected
float
Servlet workings
37. CRUD: Create - Retrieve - ________ - Delete
JavaCheck
this
volatile
Update
38. 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.
int
Servlet
super
DTD (Document Type Definition)
39. Introduces a path of execution to take when no case is a match in a switch statement.
POA (Portable Object Adapter)
Jini Technology
default
const
40. A tool for tracking and managing source file changes - written in Java.
continue
Java Interface Definition Language (IDL)
Java Applet Definition
JavaSafe
41. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
break
abstract
case
42. 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)
boolean
goto
while
43. A software development environment for writing applets and application in Java .
OTS (Object Transaction Service)
CORBA
private
JDK (Java Development Kit)
44. Imposes strict rules on the use of a variable by more than one thread at a time.
Page Directive element
volatile
javax.servlet.http.*
public
45. An opensource Java Application Server
JBossn
super
short
public
46. Introduces the last will and testament of the statements in a try clause.
IIOP (Internet Inter-ORB Protocol)
Java Media Framework
finally
JBossn
47. 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.
JavaBeans
int
Jini Technology
IIOP (Internet Inter-ORB Protocol)
48. Puts the code into a package
char
package
JBossn
JSP Beans
49. Indicates that a value is a 32-bit whole number.
CORBA
static
int
Java Native Interface
50. A tool for checking compliance of applications and applets to a specification.
Servlet
JavaCheck
abstract
do