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.
package
Java Remote Method Invocation (RMI)
implements
transient
2. Introduces statements that are watched (during runtime) for things that can go wrong.
try
instanceof
Java Platform
else
3. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
synchronized
Java Platform
Expressions
transient
4. A tool for checking compliance of applications and applets to a specification.
JavaCheck
abstract
javax.servlet.http.*
enum
5. A set of APIs that assists with the interfacing to multiple naming and directory services.
break
Java Naming and Directory Interface (JNDI)
Java Remote Method Invocation (RMI)
Java Foundation Classes (JFC)
6. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
Servlet
DOM (Document Object Model)
static
7. 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.
DTD (Document Type Definition)
continue
Servlet
try
8. Forces the abrupt end of the current loop iteration and begins another iteration.
double
static
continue
double precision
9. Indicates that a method doesn't return a value.
Java Native Interface
Servlet Chaining
goto
void
10. Indicates that a value is either true or false in the Java sense.
if
boolean
Update
Java Media Framework
11. Creates an object from an existing class.
new
try
this
enum
12. 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 Applet Definition
transient
static
DOM (Document Object Model)
13. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
catch
goto
jsp:forware Action element (with jsp:param)
JSP Beans
14. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
boolean
POA (Portable Object Adapter)
catch
Java Media Framework
15. CRUD: Create - Retrieve - ________ - Delete
DTD (Document Type Definition)
Java Foundation Classes (JFC)
Update
void
16. Indicates that a variable or method belongs to a class rather than to any object created from the class.
assert
catch
static
jsp:plugin (uses jsp:params and jsp:fallback)
17. A class that wraps primitives - Integer or Boolean...
switch
wrapper class
Semaphore
JavaCheck
18. Two Servlet API packages: javax.servlet.* ___________
Java Native Interface
protected
DOM (Document Object Model)
javax.servlet.http.*
19. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
throw
Page Directive element
if
Jini Technology
20. Ends execution of a method and possibly returns a value to the calling code.
return
JavaScript
package
Jini Technology
21. 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.
MVC Architecture
javax.servlet.http.*
break
goto
22. Sets attributes and properties specific to the current JSP page
Page Directive element
wrapper class
public
OTS (Object Transaction Service)
23. Indicates that a value is a 32-bit whole number.
Java Media Framework
Servlet
JavaBeans
int
24. A self-reference
this
enum
while
goto
25. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
jsp:forware Action element (with jsp:param)
Java Foundation Classes (JFC)
Java Development Kit (JDK)
ORB (Object Request Broker)
26. 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
continue
Java Foundation Classes (JFC)
Java Interface Definition Language (IDL)
27. Reuses the functionality from a previously defined interface.
jsp:include Action element (with jsp:param)
implements
jsp:forware Action element (with jsp:param)
POA (Portable Object Adapter)
28. A tool for tracking and managing source file changes - written in Java.
JDK (Java Development Kit)
Java Platform
enum
JavaSafe
29. Indicates that a variable or method can be used only within a certain class.
private
class
javax.servlet.http.*
Update
30. Used to terminate the execution of the current JSP page and switch control to another resource
short
JSP
goto
jsp:forware Action element (with jsp:param)
31. An opensource Java Application Server
JBossn
CORBA
instanceof
else
32. Includes a new tag library into page - allows use of tags in page
implements
Tag Library Directive element
try
JDK (Java Development Kit)
33. Indicates that a value is a 64-bit whole number.
finally
JavaSpaces
short
long
34. Puts the code into a package
float
package
JSP Beans
Java Media APIs
35. 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.
this
enum
Page-centric architecture
JavaScript
36. 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
synchronized
Java Interface Definition Language (IDL)
abstract
else
37. A principal native to the operating system on which the Java platform is executing.
int
JavaSafe
OS principal
Include Directive element
38. Introduces statements that are executed when the condition in an if statement isn't true.
Declarations
Java Native Interface
else
JavaSpaces
39. Useful only for small sites
wrapper class
DTD (Document Type Definition)
default
Page-centric architecture
40. 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
IIOP (Internet Inter-ORB Protocol)
double
throw
JAR (Java Archive)
41. Introduces an interface which is like a class but less specific.
throws
OTS (Object Transaction Service)
interface
void
42. Indicates that a value is an 8-bit whole number.
void
Scriptlets
JavaScript
byte
43. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
CORBA
try
if
44. ______ 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
throws
JSP
switch
implements
45. Imposes strict rules on the use of a variable by more than one thread at a time.
case
POA (Portable Object Adapter)
JavaCheck
volatile
46. Creates a subclass
protected
extends
JavaSafe
wrapper class
47. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
OS principal
float
while
CORBA
48. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Servlet
strictfp
jsp:forware Action element (with jsp:param)
DOM (Document Object Model)
49. A subset of the Java Development Kit (JDK) for end-users and developers who want to redistribute the runtime environment alone. The Java runtime environment consists of the Java virtual machine1 - the Java core classes and supporting files.
Include Directive element
if
Java Runtime Environment (JRE)
float
50. Creates a newly defined type
switch
Java Compatibility Kit (JCK)
enum
double