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 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.
Tag Library Directive element
continue
finally
Servlet
2. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
extends
case
int
catch
3. CRUD: Create - Retrieve - ________ - Delete
Update
DOM (Document Object Model)
JSP
byte
4. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Java virtual machine
instanceof
POA (Portable Object Adapter)
implements
5. Introduces a class
JavaCheck
class
volatile
Servlet Aliasing
6. Enables the programmer to abbreviate the names of classes defined in a package.
Java Naming and Directory Interface (JNDI)
throws
if
import
7. Indicates that a value is an 8-bit whole number.
synchronized
byte
Declarations
DTD (Document Type Definition)
8. An opensource Java Application Server
javax.servlet.http.*
JBossn
double precision
JavaCheck
9. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Java Runtime Environment (JRE)
Expressions
double
Java Platform
10. A tool for tracking and managing source file changes - written in Java.
Java Database Connectivity (JDBC)
JavaSafe
wrapper class
Page Directive element
11. A class that wraps primitives - Integer or Boolean...
switch
try
wrapper class
OS principal
12. 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
JAR (Java Archive)
final
Servlet Aliasing
JSP Beans
13. Basic code block of a JSP page
Scriptlets
jsp:forware Action element (with jsp:param)
Page-centric architecture
Java Platform
14. Sets attributes and properties specific to the current JSP page
Java Naming and Directory Interface (JNDI)
JavaSpaces
Page Directive element
Servlet workings
15. ______ 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
final
JSP
const
double
16. A special Java servlet-aware web server process.
Servlet container
Java Runtime Environment (JRE)
JBossn
try
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)
extends
Java Interface Definition Language (IDL)
try
18. Introduces a path of execution to take when no case is a match in a switch statement.
default
while
Java Remote Method Invocation (RMI)
Java Applet Definition
19. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
Java Development Kit (JDK)
throw
throws
20. A self-reference
Include Directive element
boolean
this
Java Applet Definition
21. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
import
JavaSpaces
Page-centric architecture
Semaphore
22. Forces the abrupt end of the current loop iteration and begins another iteration.
DTD (Document Type Definition)
Declarations
synchronized
continue
23. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
while
jsp:include Action element (with jsp:param)
do
OTS (Object Transaction Service)
24. Keeps two threads from interfering with one another.
Page Directive element
interface
synchronized
do
25. Indicates that a value is a 32-bit whole number.
Java Compatibility Kit (JCK)
int
Expressions
char
26. A tool for checking compliance of applications and applets to a specification.
transient
enum
JavaCheck
JavaScript
27. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
private
final
Servlet workings
synchronized
28. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Database Connectivity (JDBC)
transient
Tag Library Directive element
static
29. Introduces an interface which is like a class but less specific.
Java Database Connectivity (JDBC)
interface
CORBA
Tag Library Directive element
30. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
Java Database Connectivity (JDBC)
case
break
31. Similar to the include Directive but can pass information to the included resource
implements
ORB (Object Request Broker)
jsp:include Action element (with jsp:param)
JavaScript
32. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
new
if
void
throws
33. 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
else
Java Interface Definition Language (IDL)
Java Foundation Classes (JFC)
Java Applet Definition
34. 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
JavaSpaces
IIOP (Internet Inter-ORB Protocol)
Scriptlets
35. Tests to see whether a certain object comes from a certain class.
instanceof
Java Development Kit (JDK)
JSP
Java Platform
36. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Servlet
OS principal
CORBA
continue
37. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
assert
throw
return
Java Interface Definition Language (IDL)
38. Introduces the last will and testament of the statements in a try clause.
ORB (Object Request Broker)
case
this
finally
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.
Java Compatibility Kit (JCK)
Java Database Connectivity (JDBC)
jsp:plugin (uses jsp:params and jsp:fallback)
else
40. 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.
Java Media APIs
strictfp
jsp:plugin (uses jsp:params and jsp:fallback)
double
41. 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.
JavaSafe
volatile
Java Runtime Environment (JRE)
implements
42. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JBossn
MVC Architecture
JavaBeans
Java Foundation Classes (JFC)
43. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
DTD (Document Type Definition)
Java Platform
abstract
interface
44. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JSP Beans
Page Directive element
javax.servlet.http.*
DTD (Document Type Definition)
45. A definition of the interfaces that permit CORBA objects to participate in transactions.
wrapper class
Tag Library Directive element
throw
OTS (Object Transaction Service)
46. 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.
Java Remote Method Invocation (RMI)
Java Runtime Environment (JRE)
Servlet container
Java Database Connectivity (JDBC)
47. Indicates that a value is either true or false in the Java sense.
Servlet Chaining
goto
boolean
while
48. Imposes strict rules on the use of a variable by more than one thread at a time.
new
JavaSafe
volatile
Update
49. 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.
Java Compatibility Kit (JCK)
goto
extends
JBossn
50. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
short
double precision
Declarations
throw