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. 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.
JSP
float
Servlet
transient
2. Introduces a class
Java Native Interface
this
class
JDK (Java Development Kit)
3. Forces the abrupt end of the current loop iteration and begins another iteration.
do
double
native
continue
4. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
implements
transient
default
Expressions
5. 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.
catch
throw
Java Runtime Environment (JRE)
POA (Portable Object Adapter)
6. 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.
Update
Java Compatibility Kit (JCK)
public
goto
7. Useful only for small sites
Page-centric architecture
break
for
Java Media Framework
8. 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.
import
Java Media APIs
abstract
Java Media Framework
9. A principal native to the operating system on which the Java platform is executing.
return
OS principal
Page Directive element
JBossn
10. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
Jini Technology
try
finally
11. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
jsp:forware Action element (with jsp:param)
short
Java Naming and Directory Interface (JNDI)
CORBA
12. Reuses the functionality from a previously defined interface.
byte
Expressions
implements
final
13. Used to generate HTML
Page-centric architecture
Java Compatibility Kit (JCK)
jsp:plugin (uses jsp:params and jsp:fallback)
int
14. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
extends
JAR (Java Archive)
abstract
Declarations
15. 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).
Java Platform
Java Native Interface
new
Servlet
16. Tests to see whether a certain object comes from a certain class.
instanceof
Java Interface Definition Language (IDL)
DTD (Document Type Definition)
private
17. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
extends
Jini Technology
instanceof
18. Includes a file in the page
byte
Include Directive element
if
float
19. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
for
else
Page-centric architecture
char
20. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
private
static
Java Platform
double
21. 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 Runtime Environment (JRE)
JavaScript
protected
Jini Technology
22. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
assert
Java Media APIs
DTD (Document Type Definition)
do
23. Puts the code into a package
package
Java Database Connectivity (JDBC)
finally
transient
24. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Page-centric architecture
byte
native
Java virtual machine
25. Tests the truth of a condition that the programmer believes is true.
Jini Technology
assert
static
ORB (Object Request Broker)
26. Indicates that a value is a 16-bit whole number.
JavaSpaces
JavaSafe
strictfp
short
27. Ends execution of a method and possibly returns a value to the calling code.
char
return
boolean
static
28. Repeats some statements over and over again (as long as a condition is still true).
Update
while
Java Native Interface
ORB (Object Request Broker)
29. Introduces a path of execution to take when no case is a match in a switch statement.
Declarations
DOM (Document Object Model)
Java Naming and Directory Interface (JNDI)
default
30. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
OS principal
goto
short
31. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
default
Servlet
float
javax.servlet.http.*
32. Similar to the include Directive but can pass information to the included resource
Java Remote Method Invocation (RMI)
jsp:include Action element (with jsp:param)
Expressions
try
33. 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)
new
Java Interface Definition Language (IDL)
JBossn
34. Introduces statements that are executed when the condition in an if statement isn't true.
implements
else
static
wrapper class
35. Keeps two threads from interfering with one another.
throws
for
synchronized
Tag Library Directive element
36. Enables the programmer to abbreviate the names of classes defined in a package.
DTD (Document Type Definition)
Java Remote Method Invocation (RMI)
interface
import
37. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
native
char
strictfp
catch
38. A special Java servlet-aware web server process.
JavaScript
Servlet container
Java virtual machine
JSP Beans
39. 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.
DOM (Document Object Model)
break
for
Java Database Connectivity (JDBC)
40. CRUD: Create - Retrieve - ________ - Delete
int
Tag Library Directive element
Update
DTD (Document Type Definition)
41. Refers to the superclass of the code in which the word super appears.
super
Java Runtime Environment (JRE)
Declarations
Java Media APIs
42. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
jsp:forware Action element (with jsp:param)
return
Page Directive element
JavaBeans
43. Indicates that a variable or class or method can be used by any other Java code.
Java Media Framework
Servlet Aliasing
synchronized
public
44. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
return
OS principal
Scriptlets
45. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JSP Beans
for
Java Media APIs
finally
46. A description of the structure and properties of a class of XML files.
Servlet workings
transient
continue
DTD (Document Type Definition)
47. 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()
Declarations
Page-centric architecture
DTD (Document Type Definition)
Java Platform
48. Creates an object from an existing class.
new
Servlet Chaining
JavaSpaces
Java Applet Definition
49. Jumps out of a loop or switch.
extends
break
class
Java Remote Method Invocation (RMI)
50. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSafe
long
default
JavaSpaces