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. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Page-centric architecture
native
Java Database Connectivity (JDBC)
Page Directive element
2. Introduces the last will and testament of the statements in a try clause.
super
finally
Java Foundation Classes (JFC)
class
3. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
long
final
Java Media APIs
4. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
while
Java Naming and Directory Interface (JNDI)
Servlet Chaining
5. Tests the truth of a condition that the programmer believes is true.
assert
Tag Library Directive element
class
OS principal
6. Indicates that a method doesn't return a value.
void
MVC Architecture
break
interface
7. 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.
case
Java Compatibility Kit (JCK)
Declarations
continue
8. 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 Naming and Directory Interface (JNDI)
Java Interface Definition Language (IDL)
long
strictfp
9. A tool for tracking and managing source file changes - written in Java.
try
JavaSafe
JBossn
MVC Architecture
10. 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
JDK (Java Development Kit)
protected
MVC Architecture
Servlet Aliasing
11. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
protected
else
JavaSpaces
void
12. 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).
void
Java Platform
JavaScript
finally
13. Basic code block of a JSP page
Include Directive element
Java Native Interface
Scriptlets
Expressions
14. A protocol used for communication between CORBA object request brokers.
import
instanceof
static
IIOP (Internet Inter-ORB Protocol)
15. Indicates that a value is a 16-bit whole number.
assert
protected
transient
short
16. Indicates that a value is a 64-bit whole number.
native
long
switch
Update
17. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
instanceof
Java Database Connectivity (JDBC)
Page Directive element
DOM (Document Object Model)
18. 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
else
Java Remote Method Invocation (RMI)
Servlet Chaining
19. ______ 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
continue
JBossn
JSP
Servlet container
20. A principal native to the operating system on which the Java platform is executing.
Java Runtime Environment (JRE)
short
OS principal
void
21. Tests to see whether a certain object comes from a certain class.
else
boolean
instanceof
DTD (Document Type Definition)
22. 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).
JavaSpaces
Java virtual machine
JBossn
Java Runtime Environment (JRE)
23. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
JavaBeans
return
char
throws
24. Introduces one of several possible paths of execution in a switch statement.
new
case
abstract
enum
25. Includes a new tag library into page - allows use of tags in page
Tag Library Directive element
interface
Page Directive element
Java Applet Definition
26. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
Java Foundation Classes (JFC)
package
enum
27. 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 const variable.
Java Runtime Environment (JRE)
OTS (Object Transaction Service)
const
CORBA
28. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
enum
finally
instanceof
29. 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.
Java Naming and Directory Interface (JNDI)
goto
Servlet Chaining
this
30. Refers to the superclass of the code in which the word super appears.
boolean
double
continue
super
31. The output of one servlet act as a input to another servlet.
static
enum
float
Servlet Chaining
32. A special Java servlet-aware web server process.
Servlet
Servlet container
JBossn
protected
33. 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.
Servlet container
JavaScript
assert
byte
34. Two Servlet API packages: javax.servlet.* ___________
JavaBeans
javax.servlet.http.*
private
JavaScript
35. Indicates that a value is an 8-bit whole number.
synchronized
OS principal
byte
Servlet
36. Indicates that a method or constructor may pass the buck when an exception is thrown.
CORBA
throws
Expressions
Java Media APIs
37. 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
public
JAR (Java Archive)
Servlet workings
38. A self-reference
Servlet Chaining
Java Interface Definition Language (IDL)
this
implements
39. A class that wraps primitives - Integer or Boolean...
javax.servlet.http.*
wrapper class
final
static
40. Used to terminate the execution of the current JSP page and switch control to another resource
Java Media Framework
assert
IIOP (Internet Inter-ORB Protocol)
jsp:forware Action element (with jsp:param)
41. 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
Java Naming and Directory Interface (JNDI)
else
protected
Java Applet Definition
42. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
abstract
transient
double
Java Runtime Environment (JRE)
43. Forces the abrupt end of the current loop iteration and begins another iteration.
protected
Java virtual machine
this
continue
44. Reuses the functionality from a previously defined interface.
default
JavaScript
implements
Java Naming and Directory Interface (JNDI)
45. Indicates that a variable or class or method can be used by any other Java code.
transient
Servlet
public
Declarations
46. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
Jini Technology
catch
enum
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.
jsp:forware Action element (with jsp:param)
Jini Technology
Java virtual machine
public
48. A tool for checking compliance of applications and applets to a specification.
JavaCheck
Java Database Connectivity (JDBC)
Page-centric architecture
class
49. Creates a newly defined type
enum
double
javax.servlet.http.*
JavaScript
50. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
if
Page-centric architecture
catch
jsp:include Action element (with jsp:param)