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 tool for tracking and managing source file changes - written in Java.
JavaSpaces
Include Directive element
JavaSafe
Java Naming and Directory Interface (JNDI)
2. 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()
Java Foundation Classes (JFC)
protected
enum
Declarations
3. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Naming and Directory Interface (JNDI)
Page-centric architecture
OS principal
transient
4. A description of the structure and properties of a class of XML files.
double precision
ORB (Object Request Broker)
DTD (Document Type Definition)
boolean
5. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
Servlet Chaining
Java Compatibility Kit (JCK)
catch
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.
Java Database Connectivity (JDBC)
wrapper class
synchronized
Java Compatibility Kit (JCK)
7. Creates a subclass
final
CORBA
JavaSafe
extends
8. Forces the abrupt end of the current loop iteration and begins another iteration.
case
continue
JSP
JavaSafe
9. A class that wraps primitives - Integer or Boolean...
catch
Semaphore
ORB (Object Request Broker)
wrapper class
10. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
class
Java Remote Method Invocation (RMI)
static
final
11. Similar to the include Directive but can pass information to the included resource
new
Java Applet Definition
jsp:include Action element (with jsp:param)
Page Directive element
12. Indicates that a value is a 32-bit whole number.
POA (Portable Object Adapter)
int
Scriptlets
package
13. 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.
Java Remote Method Invocation (RMI)
JSP
MVC Architecture
Java Naming and Directory Interface (JNDI)
14. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Java Media Framework
Servlet Aliasing
jsp:forware Action element (with jsp:param)
JDK (Java Development Kit)
15. 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 Platform
Jini Technology
transient
while
16. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
DOM (Document Object Model)
byte
catch
Java Remote Method Invocation (RMI)
17. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Expressions
byte
switch
JavaBeans
18. 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.
finally
protected
synchronized
Servlet
19. Introduces statements that are executed when the condition in an if statement isn't true.
JavaCheck
else
jsp:include Action element (with jsp:param)
Jini Technology
20. Enables the programmer to abbreviate the names of classes defined in a package.
Servlet
import
this
default
21. 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.
native
Java Media Framework
catch
Java Database Connectivity (JDBC)
22. Sets attributes and properties specific to the current JSP page
Page Directive element
try
native
JavaSafe
23. Indicates that a value is either true or false in the Java sense.
Servlet workings
Java Media Framework
Java Database Connectivity (JDBC)
boolean
24. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
POA (Portable Object Adapter)
do
default
protected
25. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Java Compatibility Kit (JCK)
JavaSpaces
javax.servlet.http.*
throws
26. A self-reference
class
Update
this
Java Media APIs
27. 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
Servlet Chaining
DOM (Document Object Model)
JAR (Java Archive)
throws
28. A definition of the interfaces that permit CORBA objects to participate in transactions.
finally
JDK (Java Development Kit)
OTS (Object Transaction Service)
OS principal
29. Ends execution of a method and possibly returns a value to the calling code.
public
while
return
Tag Library Directive element
30. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
static
POA (Portable Object Adapter)
package
Servlet
31. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java virtual machine
do
CORBA
Semaphore
32. Used to terminate the execution of the current JSP page and switch control to another resource
char
Java Foundation Classes (JFC)
jsp:forware Action element (with jsp:param)
Java Native Interface
33. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
new
while
native
34. Introduces an interface which is like a class but less specific.
Scriptlets
throw
interface
Page-centric architecture
35. Indicates that a value is a 64-bit whole number.
JavaSpaces
long
ORB (Object Request Broker)
this
36. Introduces the last will and testament of the statements in a try clause.
finally
Java Foundation Classes (JFC)
Semaphore
Expressions
37. Introduces a class
Include Directive element
JDK (Java Development Kit)
Declarations
class
38. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Servlet container
abstract
JAR (Java Archive)
JavaScript
39. Indicates that a variable or method can be used in subclasses from another package.
double
native
float
protected
40. 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).
double
DTD (Document Type Definition)
JavaScript
Java virtual machine
41. An opensource Java Application Server
Page Directive element
Declarations
JBossn
JAR (Java Archive)
42. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
int
short
default
Expressions
43. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
int
CORBA
JavaSafe
this
44. Indicates that a method or constructor may pass the buck when an exception is thrown.
POA (Portable Object Adapter)
throws
Java Interface Definition Language (IDL)
Scriptlets
45. A library than enables CORBA objects to locate and communicate with one another.
instanceof
ORB (Object Request Broker)
Servlet workings
jsp:forware Action element (with jsp:param)
46. Indicates that a value is an 8-bit whole number.
case
class
byte
Include Directive element
47. A special Java servlet-aware web server process.
abstract
Java Media APIs
byte
Servlet container
48. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
implements
enum
void
49. Includes a new tag library into page - allows use of tags in page
Tag Library Directive element
double precision
JAR (Java Archive)
boolean
50. 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 Applet Definition
import
Java Native Interface
MVC Architecture