SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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 if and when an object is serialized a variable's value doesn't need to be stored.
strictfp
jsp:include Action element (with jsp:param)
transient
Jini Technology
2. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
strictfp
assert
jsp:plugin (uses jsp:params and jsp:fallback)
import
3. Includes a file in the page
do
new
Java virtual machine
Include Directive element
4. 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.
const
Java Naming and Directory Interface (JNDI)
static
continue
5. The output of one servlet act as a input to another servlet.
ORB (Object Request Broker)
assert
Servlet Chaining
long
6. Introduces the last will and testament of the statements in a try clause.
import
volatile
Java Naming and Directory Interface (JNDI)
finally
7. Imposes strict rules on the use of a variable by more than one thread at a time.
long
Java Media Framework
volatile
CORBA
8. An opensource Java Application Server
catch
Java Native Interface
JBossn
static
9. Useful only for small sites
import
short
new
Page-centric architecture
10. 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.
JavaSafe
Java Compatibility Kit (JCK)
Servlet Aliasing
byte
11. ______ 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
protected
JavaSpaces
JSP
throws
12. A protocol used for communication between CORBA object request brokers.
Java Naming and Directory Interface (JNDI)
do
IIOP (Internet Inter-ORB Protocol)
Java Database Connectivity (JDBC)
13. Indicates that a variable or method belongs to a class rather than to any object created from the class.
assert
static
throws
ORB (Object Request Broker)
14. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
protected
JavaSpaces
volatile
int
15. Reuses the functionality from a previously defined interface.
static
Servlet workings
double
implements
16. Enables the programmer to abbreviate the names of classes defined in a package.
return
Servlet Aliasing
import
double precision
17. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
case
boolean
double
JDK (Java Development Kit)
18. Indicates that a value is either true or false in the Java sense.
JavaScript
Update
Java Database Connectivity (JDBC)
boolean
19. A tool for tracking and managing source file changes - written in Java.
Java Media Framework
throws
switch
JavaSafe
20. Indicates that a value is a 64-bit whole number.
void
long
Java Development Kit (JDK)
Java virtual machine
21. 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
DOM (Document Object Model)
short
catch
22. Introduces a path of execution to take when no case is a match in a switch statement.
this
default
Java Media Framework
static
23. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Java Database Connectivity (JDBC)
DOM (Document Object Model)
float
short
24. 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
wrapper class
jsp:include Action element (with jsp:param)
Expressions
25. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
case
switch
JAR (Java Archive)
Java Foundation Classes (JFC)
26. Tests to see whether a certain object comes from a certain class.
synchronized
instanceof
short
float
27. Tests the truth of a condition that the programmer believes is true.
assert
Java Remote Method Invocation (RMI)
JBossn
interface
28. Keeps two threads from interfering with one another.
JDK (Java Development Kit)
try
boolean
synchronized
29. Indicates that a variable or method can be used only within a certain class.
Include Directive element
OS principal
Scriptlets
private
30. Repeats some statements over and over again (as long as a condition is still true).
static
extends
while
switch
31. 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.
JavaScript
Java Compatibility Kit (JCK)
Page-centric architecture
Servlet workings
32. Creates a subclass
Java Applet Definition
double precision
switch
extends
33. Ends execution of a method and possibly returns a value to the calling code.
return
JavaSpaces
private
ORB (Object Request Broker)
34. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Jini Technology
do
case
final
35. 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.
do
void
Java Runtime Environment (JRE)
Java Native Interface
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
wrapper class
Java Interface Definition Language (IDL)
double precision
for
37. 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.
Servlet
interface
Java virtual machine
DOM (Document Object Model)
38. Sets attributes and properties specific to the current JSP page
finally
MVC Architecture
Page Directive element
interface
39. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
const
continue
Page Directive element
catch
40. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
Java Media Framework
Servlet
throw
41. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
Java virtual machine
this
int
42. Used to generate HTML
default
Java virtual machine
Declarations
jsp:plugin (uses jsp:params and jsp:fallback)
43. 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
Java virtual machine
const
Servlet workings
double precision
44. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
break
double precision
continue
JSP Beans
45. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
break
implements
native
assert
46. 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
this
JAR (Java Archive)
JSP Beans
short
47. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
JBossn
JavaBeans
Scriptlets
48. Puts the code into a package
Java Compatibility Kit (JCK)
package
Tag Library Directive element
Servlet Chaining
49. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
new
CORBA
do
Java Development Kit (JDK)
50. 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
Java Compatibility Kit (JCK)
Servlet Chaining
Java Remote Method Invocation (RMI)