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 statements that are executed when the condition in an if statement isn't true.
break
volatile
interface
else
2. Includes a file in the page
import
Include Directive element
jsp:plugin (uses jsp:params and jsp:fallback)
while
3. Indicates that a variable or class or method can be used by any other Java code.
public
jsp:include Action element (with jsp:param)
Java Media APIs
JBossn
4. 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()
try
Java Remote Method Invocation (RMI)
Declarations
catch
5. Introduces a class
void
double precision
class
Java virtual machine
6. A special Java servlet-aware web server process.
byte
Scriptlets
JavaSpaces
Servlet container
7. A class that wraps primitives - Integer or Boolean...
Java Native Interface
DOM (Document Object Model)
wrapper class
jsp:forware Action element (with jsp:param)
8. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
Java Media Framework
JDK (Java Development Kit)
OS principal
catch
9. Creates a subclass
volatile
boolean
JavaCheck
extends
10. CRUD: Create - Retrieve - ________ - Delete
Update
JBossn
volatile
OS principal
11. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
strictfp
static
import
double
12. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
protected
double precision
private
synchronized
13. A self-reference
do
this
switch
extends
14. Jumps out of a loop or switch.
this
JBossn
Servlet container
break
15. Includes a new tag library into page - allows use of tags in page
Servlet Aliasing
Tag Library Directive element
JavaCheck
Java Platform
16. Indicates that a variable or method can be used in subclasses from another package.
switch
volatile
protected
Servlet workings
17. A definition of the interfaces that permit CORBA objects to participate in transactions.
Expressions
Java Platform
OTS (Object Transaction Service)
private
18. The output of one servlet act as a input to another servlet.
break
abstract
Servlet container
Servlet Chaining
19. Two Servlet API packages: javax.servlet.* ___________
JavaScript
CORBA
Semaphore
javax.servlet.http.*
20. Indicates that a method or constructor may pass the buck when an exception is thrown.
JBossn
throws
Java Media Framework
Java Foundation Classes (JFC)
21. A tool for tracking and managing source file changes - written in Java.
throw
final
JavaSafe
short
22. Creates an object from an existing class.
private
protected
public
new
23. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
package
JSP Beans
super
throw
24. 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.
try
case
Servlet workings
Java Database Connectivity (JDBC)
25. Used to terminate the execution of the current JSP page and switch control to another resource
transient
new
Java Naming and Directory Interface (JNDI)
jsp:forware Action element (with jsp:param)
26. 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.
do
Include Directive element
Java Development Kit (JDK)
Declarations
27. A description of the structure and properties of a class of XML files.
Declarations
strictfp
DTD (Document Type Definition)
this
28. 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.
Java Remote Method Invocation (RMI)
Expressions
Java Native Interface
public
29. 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.
instanceof
native
try
Java Media APIs
30. A set of APIs that assists with the interfacing to multiple naming and directory services.
Jini Technology
POA (Portable Object Adapter)
JBossn
Java Naming and Directory Interface (JNDI)
31. Similar to the include Directive but can pass information to the included resource
JSP
double
CORBA
jsp:include Action element (with jsp:param)
32. Introduces statements that are watched (during runtime) for things that can go wrong.
try
Include Directive element
boolean
OTS (Object Transaction Service)
33. Reuses the functionality from a previously defined interface.
JAR (Java Archive)
Servlet Aliasing
double precision
implements
34. Indicates that a value is a 16-bit whole number.
JavaSpaces
short
Servlet container
extends
35. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
interface
Scriptlets
char
long
36. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Servlet container
JSP Beans
IIOP (Internet Inter-ORB Protocol)
Semaphore
37. 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.
static
float
DOM (Document Object Model)
Servlet
38. Indicates that a variable or method belongs to a class rather than to any object created from the class.
transient
Servlet
static
Jini Technology
39. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
switch
jsp:plugin (uses jsp:params and jsp:fallback)
JSP Beans
Java Naming and Directory Interface (JNDI)
40. Tests the truth of a condition that the programmer believes is true.
assert
Servlet Aliasing
Java Media APIs
interface
41. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
Expressions
ORB (Object Request Broker)
import
42. Used to generate HTML
instanceof
jsp:plugin (uses jsp:params and jsp:fallback)
Java Remote Method Invocation (RMI)
Java Naming and Directory Interface (JNDI)
43. A software development environment for writing applets and application in Java .
Java Remote Method Invocation (RMI)
JAR (Java Archive)
return
JDK (Java Development Kit)
44. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
if
break
Page-centric architecture
45. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Java Native Interface
byte
JavaSpaces
Java Applet Definition
46. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Semaphore
abstract
implements
Java Compatibility Kit (JCK)
47. Imposes strict rules on the use of a variable by more than one thread at a time.
Jini Technology
Java Applet Definition
volatile
final
48. ______ 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
Page Directive element
JBossn
JSP
JavaScript
49. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
int
float
Java virtual machine
for
50. Indicates that a value is a 64-bit whole number.
Include Directive element
long
CORBA
JAR (Java Archive)