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. 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.
break
goto
JavaSafe
jsp:forware Action element (with jsp:param)
2. Introduces statements that are executed when the condition in an if statement isn't true.
Include Directive element
Java Interface Definition Language (IDL)
Expressions
else
3. Used to generate HTML
ORB (Object Request Broker)
jsp:plugin (uses jsp:params and jsp:fallback)
float
continue
4. A library than enables CORBA objects to locate and communicate with one another.
double precision
Java Media Framework
synchronized
ORB (Object Request Broker)
5. Tests the truth of a condition that the programmer believes is true.
wrapper class
void
assert
class
6. 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
transient
JAR (Java Archive)
Java Development Kit (JDK)
Java virtual machine
7. The output of one servlet act as a input to another servlet.
Servlet Chaining
continue
finally
float
8. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
const
OS principal
do
JavaBeans
9. 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.
IIOP (Internet Inter-ORB Protocol)
const
byte
boolean
10. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
Servlet workings
DTD (Document Type Definition)
interface
11. Introduces an interface which is like a class but less specific.
interface
implements
jsp:forware Action element (with jsp:param)
const
12. Indicates that a value is a 64-bit whole number.
OTS (Object Transaction Service)
static
JSP
long
13. Introduces one of several possible paths of execution in a switch statement.
byte
final
native
case
14. Refers to the superclass of the code in which the word super appears.
ORB (Object Request Broker)
JavaBeans
package
super
15. A definition of the interfaces that permit CORBA objects to participate in transactions.
protected
OTS (Object Transaction Service)
Servlet container
short
16. 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 Media APIs
Servlet container
long
Jini Technology
17. Indicates that a value is a 32-bit whole number.
Java Foundation Classes (JFC)
DTD (Document Type Definition)
int
catch
18. Useful only for small sites
do
double
if
Page-centric architecture
19. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
Java Media Framework
super
package
20. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Servlet
JSP
final
throws
21. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
byte
for
JSP Beans
float
22. Introduces a path of execution to take when no case is a match in a switch statement.
default
goto
implements
if
23. Indicates that a variable or method can be used in subclasses from another package.
synchronized
DOM (Document Object Model)
long
protected
24. A software development environment for writing applets and application in Java .
jsp:include Action element (with jsp:param)
JavaBeans
JDK (Java Development Kit)
short
25. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
static
jsp:forware Action element (with jsp:param)
native
import
26. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
public
long
for
27. Reuses the functionality from a previously defined interface.
implements
Java Remote Method Invocation (RMI)
enum
goto
28. Includes a new tag library into page - allows use of tags in page
instanceof
POA (Portable Object Adapter)
long
Tag Library Directive element
29. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
wrapper class
Java Foundation Classes (JFC)
abstract
transient
30. 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.
Include Directive element
else
Java Remote Method Invocation (RMI)
char
31. Jumps out of a loop or switch.
this
catch
transient
break
32. Basic code block of a JSP page
Scriptlets
JSP Beans
POA (Portable Object Adapter)
JSP
33. A tool for tracking and managing source file changes - written in Java.
JavaSafe
Scriptlets
JSP
switch
34. Forces the abrupt end of the current loop iteration and begins another iteration.
float
Java Applet Definition
OTS (Object Transaction Service)
continue
35. Creates a subclass
Java Database Connectivity (JDBC)
extends
Jini Technology
import
36. 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.
else
const
Java Media APIs
boolean
37. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
continue
Page-centric architecture
const
38. Indicates that a variable or class or method can be used by any other Java code.
jsp:plugin (uses jsp:params and jsp:fallback)
public
Java Media APIs
native
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.
JavaScript
Java Compatibility Kit (JCK)
Jini Technology
MVC Architecture
40. 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
double precision
strictfp
wrapper class
41. ______ 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
Jini Technology
enum
JSP
strictfp
42. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
MVC Architecture
catch
strictfp
public
43. Introduces a class
implements
JAR (Java Archive)
class
else
44. A special Java servlet-aware web server process.
Servlet container
package
double precision
JavaBeans
45. 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
OS principal
double precision
Servlet workings
JavaSpaces
46. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
Page-centric architecture
Page Directive element
float
47. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Java Remote Method Invocation (RMI)
new
MVC Architecture
if
48. Includes a file in the page
JAR (Java Archive)
new
package
Include Directive element
49. An opensource Java Application Server
JavaSpaces
JBossn
final
abstract
50. Creates a newly defined type
enum
Declarations
short
instanceof