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. Indicates that a value is a 32-bit whole number.
Java Applet Definition
int
Servlet workings
enum
2. Introduces an interface which is like a class but less specific.
Java Database Connectivity (JDBC)
ORB (Object Request Broker)
interface
Java Media Framework
3. Tests to see whether a certain object comes from a certain class.
instanceof
Java Media Framework
OTS (Object Transaction Service)
JBossn
4. Enables the programmer to abbreviate the names of classes defined in a package.
import
Scriptlets
JAR (Java Archive)
Tag Library Directive element
5. Ends execution of a method and possibly returns a value to the calling code.
Servlet Chaining
Java Database Connectivity (JDBC)
return
goto
6. Indicates that a value is a 64-bit whole number.
Java Compatibility Kit (JCK)
long
jsp:plugin (uses jsp:params and jsp:fallback)
Page Directive element
7. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
super
ORB (Object Request Broker)
import
Expressions
8. 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.
OS principal
public
Scriptlets
Java Remote Method Invocation (RMI)
9. 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()
class
continue
Declarations
void
10. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
char
Java Development Kit (JDK)
DOM (Document Object Model)
float
11. 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.
for
do
int
Java Development Kit (JDK)
12. A definition of the interfaces that permit CORBA objects to participate in transactions.
Java Naming and Directory Interface (JNDI)
JavaCheck
double precision
OTS (Object Transaction Service)
13. 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).
static
Java Runtime Environment (JRE)
Java Platform
Servlet
14. Introduces the last will and testament of the statements in a try clause.
enum
void
finally
instanceof
15. A self-reference
Page-centric architecture
strictfp
this
return
16. Indicates that a variable or method can be used in subclasses from another package.
Servlet Aliasing
Java Media Framework
private
protected
17. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
ORB (Object Request Broker)
Semaphore
JDK (Java Development Kit)
Declarations
18. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
DOM (Document Object Model)
double
Java Database Connectivity (JDBC)
wrapper class
19. A class that wraps primitives - Integer or Boolean...
byte
JAR (Java Archive)
catch
wrapper class
20. A tool for tracking and managing source file changes - written in Java.
case
JavaSafe
switch
JavaSpaces
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.
goto
Scriptlets
Java Compatibility Kit (JCK)
DOM (Document Object Model)
22. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
transient
double precision
final
native
23. Useful only for small sites
DTD (Document Type Definition)
Java Media Framework
public
Page-centric architecture
24. Indicates that a value is a 16-bit whole number.
interface
short
Java Media Framework
float
25. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
JavaScript
Java Naming and Directory Interface (JNDI)
jsp:include Action element (with jsp:param)
26. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
Java Runtime Environment (JRE)
throw
switch
Java Foundation Classes (JFC)
27. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
abstract
import
enum
catch
28. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
Java Applet Definition
final
void
29. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Java Media Framework
JDK (Java Development Kit)
DOM (Document Object Model)
JavaBeans
30. The output of one servlet act as a input to another servlet.
case
Servlet Chaining
Scriptlets
byte
31. Creates a newly defined type
switch
enum
OS principal
JSP Beans
32. Introduces a class
JSP Beans
double
case
class
33. A principal native to the operating system on which the Java platform is executing.
OS principal
DOM (Document Object Model)
JavaSafe
Java Foundation Classes (JFC)
34. Repeats some statements over and over again (as long as a condition is still true).
Java Database Connectivity (JDBC)
char
switch
while
35. 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
new
Servlet workings
Tag Library Directive element
JavaSpaces
36. 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.
Scriptlets
case
boolean
Servlet
37. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
boolean
for
transient
Semaphore
38. 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.
wrapper class
Java Platform
Java Compatibility Kit (JCK)
switch
39. Two Servlet API packages: javax.servlet.* ___________
wrapper class
jsp:plugin (uses jsp:params and jsp:fallback)
Semaphore
javax.servlet.http.*
40. 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
native
Java Compatibility Kit (JCK)
Servlet workings
41. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.
Declarations
Java Media Framework
package
boolean
42. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Java Runtime Environment (JRE)
case
JavaSpaces
Semaphore
43. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
switch
enum
Java Development Kit (JDK)
Java Native Interface
44. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
finally
final
Java Foundation Classes (JFC)
assert
45. 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
jsp:plugin (uses jsp:params and jsp:fallback)
Java Interface Definition Language (IDL)
wrapper class
class
46. Jumps out of a loop or switch.
for
break
Servlet Chaining
JavaCheck
47. Introduces one of several possible paths of execution in a switch statement.
class
JavaSafe
if
case
48. 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
assert
Servlet workings
byte
49. 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.
Java Database Connectivity (JDBC)
try
native
long
50. Reuses the functionality from a previously defined interface.
implements
wrapper class
short
Page-centric architecture