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. Indicates that a value is a 64-bit whole number.
long
package
do
native
2. Introduces statements that are executed when the condition in an if statement isn't true.
else
Java virtual machine
Java Database Connectivity (JDBC)
Java Runtime Environment (JRE)
3. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Java Remote Method Invocation (RMI)
abstract
jsp:plugin (uses jsp:params and jsp:fallback)
JavaBeans
4. Tests to see whether a certain object comes from a certain class.
final
float
instanceof
IIOP (Internet Inter-ORB Protocol)
5. Repeats some statements over and over again (as long as a condition is still true).
short
while
JavaSafe
JAR (Java Archive)
6. Similar to the include Directive but can pass information to the included resource
do
jsp:include Action element (with jsp:param)
OS principal
return
7. Includes a new tag library into page - allows use of tags in page
jsp:plugin (uses jsp:params and jsp:fallback)
extends
JavaScript
Tag Library Directive element
8. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
volatile
JavaCheck
IIOP (Internet Inter-ORB Protocol)
9. Indicates that a value is an 8-bit whole number.
throws
Java Applet Definition
switch
byte
10. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
double
Update
throw
case
11. Introduces an interface which is like a class but less specific.
interface
short
IIOP (Internet Inter-ORB Protocol)
Java Database Connectivity (JDBC)
12. Enables the programmer to abbreviate the names of classes defined in a package.
Java Applet Definition
Page Directive element
CORBA
import
13. A tool for tracking and managing source file changes - written in Java.
JavaSafe
JavaBeans
JAR (Java Archive)
for
14. 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.
wrapper class
default
do
const
15. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
Java Foundation Classes (JFC)
Java Runtime Environment (JRE)
public
16. 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.
this
JavaScript
Java Runtime Environment (JRE)
return
17. A tool for checking compliance of applications and applets to a specification.
char
JavaCheck
native
Page-centric architecture
18. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
POA (Portable Object Adapter)
for
extends
long
19. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
JavaBeans
Java Runtime Environment (JRE)
switch
20. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
jsp:include Action element (with jsp:param)
Java Platform
Declarations
21. Indicates that a value is either true or false in the Java sense.
boolean
implements
Semaphore
JavaBeans
22. Indicates that a variable or class or method can be used by any other Java code.
break
CORBA
public
final
23. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
switch
Servlet
Page Directive element
24. 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.
import
const
package
Java Development Kit (JDK)
25. Introduces statements that are watched (during runtime) for things that can go wrong.
ORB (Object Request Broker)
assert
int
try
26. Introduces the last will and testament of the statements in a try clause.
JavaScript
JAR (Java Archive)
finally
throws
27. A self-reference
public
synchronized
double
this
28. 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).
public
Java Platform
CORBA
long
29. The output of one servlet act as a input to another servlet.
volatile
Java Database Connectivity (JDBC)
Servlet Chaining
JBossn
30. 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
jsp:forware Action element (with jsp:param)
Servlet workings
Jini Technology
Java Media Framework
31. 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.
transient
jsp:include Action element (with jsp:param)
Java Database Connectivity (JDBC)
Semaphore
32. Keeps two threads from interfering with one another.
for
Java Foundation Classes (JFC)
double precision
synchronized
33. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
synchronized
JBossn
this
34. Indicates that a value is a 16-bit whole number.
jsp:include Action element (with jsp:param)
this
switch
short
35. 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.
const
Java Media APIs
Page-centric architecture
super
36. Creates an object from an existing class.
implements
strictfp
float
new
37. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
final
throws
Java Runtime Environment (JRE)
JDK (Java Development Kit)
38. 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
case
throw
float
39. A software development environment for writing applets and application in Java .
int
Java Interface Definition Language (IDL)
JDK (Java Development Kit)
Servlet Chaining
40. Indicates that a variable or method can be used in subclasses from another package.
wrapper class
new
implements
protected
41. Basic code block of a JSP page
Scriptlets
Java Database Connectivity (JDBC)
Java Native Interface
do
42. A principal native to the operating system on which the Java platform is executing.
goto
if
throw
OS principal
43. 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)
DTD (Document Type Definition)
Java Interface Definition Language (IDL)
synchronized
44. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
assert
Page Directive element
JSP Beans
while
45. CRUD: Create - Retrieve - ________ - Delete
Update
JavaSpaces
Servlet container
Page Directive element
46. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Remote Method Invocation (RMI)
transient
switch
Servlet
47. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
JavaScript
double precision
this
MVC Architecture
48. Reuses the functionality from a previously defined interface.
static
implements
OTS (Object Transaction Service)
default
49. Introduces a path of execution to take when no case is a match in a switch statement.
default
class
long
else
50. Creates a newly defined type
JavaBeans
enum
JavaScript
new