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 principal native to the operating system on which the Java platform is executing.
break
Tag Library Directive element
continue
OS principal
2. Useful only for small sites
class
char
abstract
Page-centric architecture
3. 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.
Java Foundation Classes (JFC)
JSP Beans
Java Native Interface
OS principal
4. 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
JAR (Java Archive)
wrapper class
jsp:forware Action element (with jsp:param)
5. 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.
goto
JSP
JavaScript
CORBA
6. Indicates that a method doesn't return a value.
void
JavaCheck
IIOP (Internet Inter-ORB Protocol)
Expressions
7. Two Servlet API packages: javax.servlet.* ___________
instanceof
break
double precision
javax.servlet.http.*
8. Imposes strict rules on the use of a variable by more than one thread at a time.
enum
new
volatile
Page Directive element
9. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
JavaCheck
enum
default
Expressions
10. Forces the abrupt end of the current loop iteration and begins another iteration.
Servlet Chaining
Java Remote Method Invocation (RMI)
goto
continue
11. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Java Remote Method Invocation (RMI)
Expressions
POA (Portable Object Adapter)
for
12. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
public
assert
Java Compatibility Kit (JCK)
13. 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.
Java virtual machine
transient
long
Jini Technology
14. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Expressions
private
const
JavaSpaces
15. Refers to the superclass of the code in which the word super appears.
while
IIOP (Internet Inter-ORB Protocol)
super
OTS (Object Transaction Service)
16. 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.
protected
double precision
Java Database Connectivity (JDBC)
do
17. Creates a subclass
extends
Java Native Interface
jsp:plugin (uses jsp:params and jsp:fallback)
Java Media APIs
18. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Page-centric architecture
Servlet workings
default
for
19. Introduces an interface which is like a class but less specific.
implements
interface
Java Media APIs
private
20. CRUD: Create - Retrieve - ________ - Delete
Update
static
jsp:plugin (uses jsp:params and jsp:fallback)
DTD (Document Type Definition)
21. 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
long
Java Media APIs
JavaScript
JAR (Java Archive)
22. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
POA (Portable Object Adapter)
package
strictfp
Servlet Aliasing
23. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
extends
Java Database Connectivity (JDBC)
double
class
24. Repeats some statements over and over again (as long as a condition is still true).
throw
while
JavaBeans
Java Native Interface
25. Creates an object from an existing class.
Java Naming and Directory Interface (JNDI)
Semaphore
new
JDK (Java Development Kit)
26. Puts the code into a package
JSP Beans
package
while
Java Native Interface
27. Indicates that a method or constructor may pass the buck when an exception is thrown.
final
else
throws
Semaphore
28. 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).
implements
switch
Java Database Connectivity (JDBC)
Java virtual machine
29. A class that wraps primitives - Integer or Boolean...
public
wrapper class
super
float
30. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
finally
JSP
break
31. Introduces statements that are executed when the condition in an if statement isn't true.
implements
JBossn
else
javax.servlet.http.*
32. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Servlet container
synchronized
float
interface
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.
protected
JavaScript
Update
synchronized
34. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
Java Platform
finally
IIOP (Internet Inter-ORB Protocol)
35. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
short
synchronized
JavaSafe
native
36. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
transient
return
continue
JavaBeans
37. Introduces a path of execution to take when no case is a match in a switch statement.
double precision
default
volatile
OTS (Object Transaction Service)
38. 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
else
Servlet workings
synchronized
Java Applet Definition
39. 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.
transient
Jini Technology
Java Compatibility Kit (JCK)
Java Foundation Classes (JFC)
40. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
volatile
JavaBeans
Include Directive element
41. Indicates that a variable or method can be used in subclasses from another package.
protected
catch
implements
public
42. Indicates that a value is a 64-bit whole number.
short
throw
Java Native Interface
long
43. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
extends
const
else
Semaphore
44. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
Include Directive element
return
switch
Tag Library Directive element
45. A tool for tracking and managing source file changes - written in Java.
final
JavaCheck
JavaSafe
default
46. Keeps two threads from interfering with one another.
super
double precision
synchronized
DTD (Document Type Definition)
47. 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.
enum
jsp:forware Action element (with jsp:param)
const
assert
48. 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
final
byte
Java Interface Definition Language (IDL)
49. Indicates that a variable or method can be used only within a certain class.
private
Page-centric architecture
POA (Portable Object Adapter)
class
50. ______ 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
OS principal
strictfp
new
JSP