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. Keeps two threads from interfering with one another.
Servlet
case
Java Interface Definition Language (IDL)
synchronized
2. ______ 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
JSP
import
Java Interface Definition Language (IDL)
Java virtual machine
3. Introduces a class
boolean
Java Development Kit (JDK)
CORBA
class
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.
JavaSafe
final
new
short
5. Basic code block of a JSP page
abstract
Servlet Chaining
finally
Scriptlets
6. Indicates that a value is a 32-bit whole number.
POA (Portable Object Adapter)
int
JSP
JavaSpaces
7. A description of the structure and properties of a class of XML files.
native
POA (Portable Object Adapter)
import
DTD (Document Type Definition)
8. A self-reference
const
JavaScript
abstract
this
9. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
public
DOM (Document Object Model)
short
do
10. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Java Media APIs
float
JDK (Java Development Kit)
Scriptlets
11. A class that wraps primitives - Integer or Boolean...
Servlet
this
wrapper class
Java Foundation Classes (JFC)
12. Indicates that a variable or method can be used only within a certain class.
Java Media APIs
Servlet workings
private
byte
13. Creates a subclass
native
POA (Portable Object Adapter)
extends
Jini Technology
14. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
volatile
JavaBeans
transient
synchronized
15. Repeats some statements over and over again (as long as a condition is still true).
Java Compatibility Kit (JCK)
while
wrapper class
Semaphore
16. 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.
throws
Java Media APIs
super
Jini Technology
17. 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)
Scriptlets
Servlet
assert
18. 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.
native
import
default
const
19. 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.
if
Java Development Kit (JDK)
long
Java virtual machine
20. A special Java servlet-aware web server process.
extends
transient
Servlet container
catch
21. 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.
jsp:forware Action element (with jsp:param)
Servlet workings
char
JavaScript
22. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
byte
JSP Beans
native
wrapper class
23. Creates a newly defined type
Java Runtime Environment (JRE)
int
finally
enum
24. 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
implements
Java Compatibility Kit (JCK)
IIOP (Internet Inter-ORB Protocol)
25. A tool for checking compliance of applications and applets to a specification.
JavaCheck
ORB (Object Request Broker)
boolean
wrapper class
26. A library than enables CORBA objects to locate and communicate with one another.
protected
ORB (Object Request Broker)
void
OS principal
27. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
while
catch
Java Database Connectivity (JDBC)
abstract
28. Introduces an interface which is like a class but less specific.
interface
Java Applet Definition
Java Interface Definition Language (IDL)
volatile
29. Similar to the include Directive but can pass information to the included resource
Include Directive element
jsp:include Action element (with jsp:param)
Java Native Interface
static
30. 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).
final
IIOP (Internet Inter-ORB Protocol)
Java Platform
enum
31. Used to terminate the execution of the current JSP page and switch control to another resource
MVC Architecture
double
jsp:forware Action element (with jsp:param)
class
32. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
const
default
throw
switch
33. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
public
JSP Beans
POA (Portable Object Adapter)
abstract
34. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
Java Development Kit (JDK)
Tag Library Directive element
Servlet container
35. Enables the programmer to abbreviate the names of classes defined in a package.
transient
import
DTD (Document Type Definition)
else
36. The output of one servlet act as a input to another servlet.
Java Runtime Environment (JRE)
Servlet Chaining
Update
Declarations
37. 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
strictfp
Scriptlets
JAR (Java Archive)
jsp:plugin (uses jsp:params and jsp:fallback)
38. Indicates that a value is a 64-bit whole number.
switch
long
for
Java Applet Definition
39. Introduces statements that are executed when the condition in an if statement isn't true.
throws
Jini Technology
new
else
40. 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.
Scriptlets
extends
Java Runtime Environment (JRE)
throws
41. Useful only for small sites
Declarations
Page-centric architecture
Tag Library Directive element
Servlet container
42. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
float
boolean
POA (Portable Object Adapter)
Servlet
43. A tool for tracking and managing source file changes - written in Java.
try
short
JavaSafe
break
44. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
float
Java Development Kit (JDK)
CORBA
JDK (Java Development Kit)
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
package
Java Development Kit (JDK)
volatile
Servlet workings
46. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
JDK (Java Development Kit)
Servlet Chaining
Java Foundation Classes (JFC)
Java Media Framework
47. Refers to the superclass of the code in which the word super appears.
super
synchronized
switch
assert
48. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
super
this
assert
49. 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.
jsp:plugin (uses jsp:params and jsp:fallback)
native
JavaSafe
Java Media Framework
50. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
jsp:plugin (uses jsp:params and jsp:fallback)
strictfp
else