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 lock that can be counted - i.e. how many times a resouce has been accessed and locked
char
implements
boolean
Semaphore
2. Indicates that a value is a 64-bit whole number.
long
volatile
OTS (Object Transaction Service)
Java Remote Method Invocation (RMI)
3. Creates a newly defined type
javax.servlet.http.*
enum
ORB (Object Request Broker)
Page Directive element
4. 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
JavaScript
extends
JAR (Java Archive)
Expressions
5. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Java Remote Method Invocation (RMI)
jsp:include Action element (with jsp:param)
CORBA
Java Foundation Classes (JFC)
6. 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.
import
const
Java virtual machine
Java Remote Method Invocation (RMI)
7. A principal native to the operating system on which the Java platform is executing.
Java Runtime Environment (JRE)
OS principal
POA (Portable Object Adapter)
Java Database Connectivity (JDBC)
8. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
ORB (Object Request Broker)
extends
Expressions
for
9. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
enum
package
public
double precision
10. Jumps out of a loop or switch.
protected
public
DTD (Document Type Definition)
break
11. Introduces statements that are watched (during runtime) for things that can go wrong.
try
Java Remote Method Invocation (RMI)
char
Java Naming and Directory Interface (JNDI)
12. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
JAR (Java Archive)
Servlet container
POA (Portable Object Adapter)
13. A class that wraps primitives - Integer or Boolean...
MVC Architecture
final
OTS (Object Transaction Service)
wrapper class
14. Ends execution of a method and possibly returns a value to the calling code.
IIOP (Internet Inter-ORB Protocol)
MVC Architecture
return
double precision
15. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
Java virtual machine
native
JavaCheck
16. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Java Media Framework
const
do
Servlet container
17. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
JSP
jsp:include Action element (with jsp:param)
Java Database Connectivity (JDBC)
double
18. Indicates that a variable or method can be used only within a certain class.
finally
break
private
OTS (Object Transaction Service)
19. Indicates that a variable or method can be used in subclasses from another package.
finally
protected
char
JDK (Java Development Kit)
20. Refers to the superclass of the code in which the word super appears.
JDK (Java Development Kit)
super
native
enum
21. Includes a file in the page
float
Include Directive element
Java Naming and Directory Interface (JNDI)
transient
22. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JSP Beans
char
JavaScript
boolean
23. 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.
while
Java Remote Method Invocation (RMI)
Java Native Interface
Include Directive element
24. Indicates that a value is an 8-bit whole number.
byte
javax.servlet.http.*
const
Page Directive element
25. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
final
while
Include Directive element
abstract
26. Creates a subclass
extends
Semaphore
Java virtual machine
synchronized
27. 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.
while
public
implements
Java Media APIs
28. A software development environment for writing applets and application in Java .
strictfp
DTD (Document Type Definition)
Servlet
JDK (Java Development Kit)
29. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
void
DTD (Document Type Definition)
switch
strictfp
30. Introduces statements that are executed when the condition in an if statement isn't true.
continue
JavaCheck
super
else
31. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Page-centric architecture
JDK (Java Development Kit)
DTD (Document Type Definition)
Java Foundation Classes (JFC)
32. 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
protected
Servlet workings
Servlet Aliasing
Include Directive element
33. 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.
Jini Technology
Java Interface Definition Language (IDL)
try
const
34. Indicates that a variable or class or method can be used by any other Java code.
Servlet
Page Directive element
Java Compatibility Kit (JCK)
public
35. 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.
JDK (Java Development Kit)
package
Jini Technology
byte
36. 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
JavaCheck
Expressions
void
37. Indicates that a method or constructor may pass the buck when an exception is thrown.
byte
Java Foundation Classes (JFC)
Include Directive element
throws
38. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaBeans
JavaSpaces
javax.servlet.http.*
Servlet Chaining
39. Introduces a class
class
Java Database Connectivity (JDBC)
Jini Technology
double precision
40. 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
goto
interface
throw
41. Used to terminate the execution of the current JSP page and switch control to another resource
double
jsp:forware Action element (with jsp:param)
throws
JSP
42. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
super
POA (Portable Object Adapter)
Servlet Aliasing
43. Reuses the functionality from a previously defined interface.
Java Runtime Environment (JRE)
implements
wrapper class
DOM (Document Object Model)
44. 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)
Java Interface Definition Language (IDL)
instanceof
Java Database Connectivity (JDBC)
45. Creates an object from an existing class.
new
else
try
double
46. Similar to the include Directive but can pass information to the included resource
volatile
Java Platform
DOM (Document Object Model)
jsp:include Action element (with jsp:param)
47. 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
throw
assert
Java Platform
48. Enables the programmer to abbreviate the names of classes defined in a package.
assert
enum
Scriptlets
import
49. 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()
wrapper class
boolean
Declarations
Servlet container
50. Indicates that a value is either true or false in the Java sense.
boolean
assert
case
Java Native Interface