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 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 container
Tag Library Directive element
Java Remote Method Invocation (RMI)
throw
2. Creates a newly defined type
for
Java Applet Definition
JavaScript
enum
3. Puts the code into a package
jsp:forware Action element (with jsp:param)
enum
JavaBeans
package
4. 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.
throws
Servlet
Jini Technology
Java Compatibility Kit (JCK)
5. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
try
JavaSpaces
jsp:include Action element (with jsp:param)
Jini Technology
6. Similar to the include Directive but can pass information to the included resource
catch
DOM (Document Object Model)
throws
jsp:include Action element (with jsp:param)
7. Indicates that a variable or class or method can be used by any other Java code.
Java Database Connectivity (JDBC)
Java Compatibility Kit (JCK)
JAR (Java Archive)
public
8. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
interface
JSP
void
9. Introduces a path of execution to take when no case is a match in a switch statement.
default
Java Foundation Classes (JFC)
this
enum
10. A special Java servlet-aware web server process.
Semaphore
throws
Servlet container
jsp:plugin (uses jsp:params and jsp:fallback)
11. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
return
default
Java Foundation Classes (JFC)
12. Imposes strict rules on the use of a variable by more than one thread at a time.
Java virtual machine
Java Remote Method Invocation (RMI)
DTD (Document Type Definition)
volatile
13. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Servlet Chaining
short
Java Development Kit (JDK)
char
14. A protocol used for communication between CORBA object request brokers.
instanceof
Java Interface Definition Language (IDL)
IIOP (Internet Inter-ORB Protocol)
JSP
15. 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.
transient
Servlet workings
Java Development Kit (JDK)
synchronized
16. Introduces statements that are executed when the condition in an if statement isn't true.
transient
if
Java Native Interface
else
17. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaSafe
boolean
DTD (Document Type Definition)
JavaBeans
18. Repeats some statements over and over again (as long as a condition is still true).
jsp:include Action element (with jsp:param)
Java Runtime Environment (JRE)
JavaSafe
while
19. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Servlet Chaining
JavaCheck
throws
POA (Portable Object Adapter)
20. ______ 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
JSP
Java Native Interface
return
boolean
21. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Servlet Aliasing
jsp:forware Action element (with jsp:param)
JSP Beans
Expressions
22. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
Servlet Chaining
Java Naming and Directory Interface (JNDI)
Page Directive element
23. Enables the programmer to abbreviate the names of classes defined in a package.
JSP
jsp:include Action element (with jsp:param)
import
break
24. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
CORBA
JavaScript
package
DOM (Document Object Model)
25. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
Java Platform
wrapper class
Java Native Interface
double
26. The output of one servlet act as a input to another servlet.
Servlet Chaining
Java virtual machine
IIOP (Internet Inter-ORB Protocol)
class
27. Tests to see whether a certain object comes from a certain class.
synchronized
JavaScript
instanceof
Java Media Framework
28. Refers to the superclass of the code in which the word super appears.
instanceof
return
super
JSP
29. 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.
else
Java Database Connectivity (JDBC)
Java Applet Definition
float
30. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
JDK (Java Development Kit)
throw
public
continue
31. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
public
for
catch
Include Directive element
32. 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.
Java Media APIs
POA (Portable Object Adapter)
float
JDK (Java Development Kit)
33. Introduces an interface which is like a class but less specific.
new
interface
JavaBeans
JSP Beans
34. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Java Applet Definition
if
throws
double precision
35. Ends execution of a method and possibly returns a value to the calling code.
JSP
int
return
Java Development Kit (JDK)
36. Indicates that a value is a 16-bit whole number.
short
JavaCheck
Scriptlets
super
37. An opensource Java Application Server
JBossn
Java Media APIs
return
Scriptlets
38. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
Java Media APIs
boolean
instanceof
39. Introduces statements that are watched (during runtime) for things that can go wrong.
assert
try
Servlet container
do
40. Basic code block of a JSP page
Java Development Kit (JDK)
Java Compatibility Kit (JCK)
Scriptlets
long
41. Introduces one of several possible paths of execution in a switch statement.
return
throws
case
Java Database Connectivity (JDBC)
42. 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.
jsp:include Action element (with jsp:param)
double
Java Native Interface
extends
43. A tool for checking compliance of applications and applets to a specification.
Java Interface Definition Language (IDL)
JavaCheck
private
Servlet workings
44. A principal native to the operating system on which the Java platform is executing.
Java Media Framework
OS principal
protected
MVC Architecture
45. Jumps out of a loop or switch.
break
JavaCheck
goto
JSP
46. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
implements
else
Semaphore
47. 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).
catch
assert
Java virtual machine
double
48. Tests the truth of a condition that the programmer believes is true.
for
int
Declarations
assert
49. Type of Java program (as opposed to a stand-alone program) which is embedded in a web page (requested from a server) and run on a client-side browser
private
goto
Java Foundation Classes (JFC)
Java Applet Definition
50. 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.
transient
JavaScript
OS principal
jsp:include Action element (with jsp:param)