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. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JBossn
short
JavaSafe
JSP Beans
2. Creates a subclass
default
jsp:plugin (uses jsp:params and jsp:fallback)
Java Native Interface
extends
3. Tests the truth of a condition that the programmer believes is true.
volatile
Servlet Chaining
if
assert
4. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
wrapper class
OS principal
instanceof
5. 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
JavaSafe
javax.servlet.http.*
CORBA
6. Imposes strict rules on the use of a variable by more than one thread at a time.
abstract
volatile
goto
implements
7. Indicates that a variable or method belongs to a class rather than to any object created from the class.
volatile
Servlet Aliasing
static
Java Runtime Environment (JRE)
8. 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).
Servlet
jsp:forware Action element (with jsp:param)
Java Platform
Java Runtime Environment (JRE)
9. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
Semaphore
protected
Java Database Connectivity (JDBC)
10. Reuses the functionality from a previously defined interface.
implements
Java Interface Definition Language (IDL)
if
JBossn
11. Introduces the last will and testament of the statements in a try clause.
protected
finally
OS principal
Servlet workings
12. 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).
Java virtual machine
jsp:include Action element (with jsp:param)
short
Java Platform
13. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
Servlet Aliasing
catch
POA (Portable Object Adapter)
switch
14. Similar to the include Directive but can pass information to the included resource
Servlet container
this
jsp:plugin (uses jsp:params and jsp:fallback)
jsp:include Action element (with jsp:param)
15. A special Java servlet-aware web server process.
const
Java Media APIs
Servlet container
jsp:plugin (uses jsp:params and jsp:fallback)
16. Indicates that a value is a 32-bit whole number.
Java Development Kit (JDK)
Java Media Framework
int
goto
17. A tool for tracking and managing source file changes - written in Java.
DOM (Document Object Model)
case
assert
JavaSafe
18. A class that wraps primitives - Integer or Boolean...
switch
abstract
wrapper class
return
19. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
strictfp
jsp:plugin (uses jsp:params and jsp:fallback)
float
final
20. A description of the structure and properties of a class of XML files.
Java Database Connectivity (JDBC)
ORB (Object Request Broker)
DTD (Document Type Definition)
Include Directive element
21. 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
Java Remote Method Invocation (RMI)
Servlet workings
CORBA
JAR (Java Archive)
22. Keeps two threads from interfering with one another.
OTS (Object Transaction Service)
char
synchronized
JavaCheck
23. Indicates that a value is a 16-bit whole number.
CORBA
Java Naming and Directory Interface (JNDI)
Semaphore
short
24. Indicates that a method or constructor may pass the buck when an exception is thrown.
JSP Beans
throws
float
JBossn
25. 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
Java Compatibility Kit (JCK)
DOM (Document Object Model)
JAR (Java Archive)
throws
26. A principal native to the operating system on which the Java platform is executing.
JavaSpaces
OS principal
MVC Architecture
Servlet Aliasing
27. Includes a file in the page
Include Directive element
OTS (Object Transaction Service)
if
CORBA
28. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Java Remote Method Invocation (RMI)
continue
default
abstract
29. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
default
public
Jini Technology
Semaphore
30. You can't use this word in a Java program. The word has no meaning. Because it's a keyword you can't create a goto variable.
else
new
switch
goto
31. Introduces an interface which is like a class but less specific.
interface
Servlet
Java Naming and Directory Interface (JNDI)
Java Foundation Classes (JFC)
32. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
jsp:plugin (uses jsp:params and jsp:fallback)
Page Directive element
char
IIOP (Internet Inter-ORB Protocol)
33. 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.
Java Compatibility Kit (JCK)
throw
JavaSafe
Java Media APIs
34. A tool for checking compliance of applications and applets to a specification.
public
final
JavaCheck
Java Media APIs
35. Introduces a path of execution to take when no case is a match in a switch statement.
const
default
native
new
36. Ends execution of a method and possibly returns a value to the calling code.
Include Directive element
Expressions
finally
return
37. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Java Media Framework
Java Interface Definition Language (IDL)
JDK (Java Development Kit)
POA (Portable Object Adapter)
38. Introduces one of several possible paths of execution in a switch statement.
case
Update
goto
Java virtual machine
39. 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.
IIOP (Internet Inter-ORB Protocol)
float
javax.servlet.http.*
Java Development Kit (JDK)
40. Introduces a class
class
final
private
JavaCheck
41. ______ 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
volatile
Java Interface Definition Language (IDL)
jsp:include Action element (with jsp:param)
JSP
42. CRUD: Create - Retrieve - ________ - Delete
if
Java Interface Definition Language (IDL)
Update
Tag Library Directive element
43. Introduces statements that are watched (during runtime) for things that can go wrong.
Update
private
const
try
44. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Include Directive element
jsp:include Action element (with jsp:param)
JavaSpaces
JavaBeans
45. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
switch
Java Applet Definition
int
throw
46. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
JavaSpaces
boolean
package
47. Puts the code into a package
Java Remote Method Invocation (RMI)
package
class
throw
48. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Tag Library Directive element
native
catch
JSP
49. Indicates that a value is either true or false in the Java sense.
Java Database Connectivity (JDBC)
protected
Java Runtime Environment (JRE)
boolean
50. Indicates that a variable or class or method can be used by any other Java code.
static
public
protected
finally