SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
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 either true or false in the Java sense.
Include Directive element
try
JDK (Java Development Kit)
boolean
2. Indicates that a value is a 32-bit whole number.
private
import
int
finally
3. Introduces the last will and testament of the statements in a try clause.
do
this
protected
finally
4. A definition of the interfaces that permit CORBA objects to participate in transactions.
JavaBeans
float
OTS (Object Transaction Service)
Jini Technology
5. A protocol used for communication between CORBA object request brokers.
jsp:forware Action element (with jsp:param)
OS principal
IIOP (Internet Inter-ORB Protocol)
while
6. Indicates that a value is an 8-bit whole number.
Java Foundation Classes (JFC)
byte
static
private
7. ______ 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:include Action element (with jsp:param)
JSP
switch
this
8. 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.
Scriptlets
Expressions
JSP
Java Database Connectivity (JDBC)
9. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Jini Technology
Java Naming and Directory Interface (JNDI)
native
boolean
10. 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.
boolean
synchronized
throws
JavaScript
11. Creates an object from an existing class.
volatile
double
new
assert
12. Keeps two threads from interfering with one another.
case
synchronized
goto
import
13. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
package
private
double precision
14. Indicates that a value is a 64-bit whole number.
ORB (Object Request Broker)
Java Remote Method Invocation (RMI)
long
Java Naming and Directory Interface (JNDI)
15. Introduces one of several possible paths of execution in a switch statement.
Page Directive element
Java Applet Definition
case
interface
16. Includes a new tag library into page - allows use of tags in page
Java Media APIs
instanceof
Tag Library Directive element
throw
17. Includes a file in the page
Include Directive element
byte
case
Java Compatibility Kit (JCK)
18. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
DOM (Document Object Model)
private
final
Servlet Chaining
19. A software "execution engine" that safely and compatibly executes the byte codes in Java class files on a microprocessor (whether in a computer or in another electronic device).
assert
Java Remote Method Invocation (RMI)
Java virtual machine
IIOP (Internet Inter-ORB Protocol)
20. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Java Interface Definition Language (IDL)
JavaBeans
Page-centric architecture
volatile
21. A description of the structure and properties of a class of XML files.
transient
jsp:include Action element (with jsp:param)
char
DTD (Document Type Definition)
22. Puts the code into a package
package
char
Scriptlets
static
23. An opensource Java Application Server
class
wrapper class
implements
JBossn
24. A set of APIs that assists with the interfacing to multiple naming and directory services.
super
long
int
Java Naming and Directory Interface (JNDI)
25. Basic code block of a JSP page
jsp:plugin (uses jsp:params and jsp:fallback)
if
javax.servlet.http.*
Scriptlets
26. Sets attributes and properties specific to the current JSP page
Java Media Framework
JDK (Java Development Kit)
Page Directive element
jsp:forware Action element (with jsp:param)
27. A class that wraps primitives - Integer or Boolean...
static
wrapper class
Scriptlets
Semaphore
28. 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()
JAR (Java Archive)
Declarations
double precision
javax.servlet.http.*
29. 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.
jsp:include Action element (with jsp:param)
JavaSpaces
Jini Technology
Page Directive element
30. CRUD: Create - Retrieve - ________ - Delete
else
Tag Library Directive element
Update
super
31. Ends execution of a method and possibly returns a value to the calling code.
public
JavaSafe
OTS (Object Transaction Service)
return
32. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
OS principal
Jini Technology
double precision
extends
33. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
protected
do
catch
Java Compatibility Kit (JCK)
34. 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.
final
Servlet workings
Java Database Connectivity (JDBC)
Java Development Kit (JDK)
35. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
DOM (Document Object Model)
Page-centric architecture
Java Media APIs
36. Indicates that a variable or method belongs to a class rather than to any object created from the class.
Java Naming and Directory Interface (JNDI)
static
JavaSafe
Servlet workings
37. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Java Naming and Directory Interface (JNDI)
JavaSpaces
transient
OS principal
38. 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 Remote Method Invocation (RMI)
goto
strictfp
JavaScript
39. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
abstract
Java Database Connectivity (JDBC)
JavaSafe
40. Tests to see whether a certain object comes from a certain class.
Java Native Interface
Update
instanceof
synchronized
41. Jumps out of a loop or switch.
Java Remote Method Invocation (RMI)
Expressions
JavaBeans
break
42. Indicates that a value is a 16-bit whole number.
public
Declarations
Java Interface Definition Language (IDL)
short
43. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Scriptlets
Declarations
else
if
44. A tool for checking compliance of applications and applets to a specification.
JSP Beans
Servlet workings
JavaCheck
jsp:forware Action element (with jsp:param)
45. 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.
case
Java Media Framework
JavaSafe
MVC Architecture
46. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
goto
transient
short
case
47. 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
Java Interface Definition Language (IDL)
synchronized
JavaSpaces
48. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
enum
interface
Servlet workings
throw
49. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Java Applet Definition
Servlet Aliasing
Jini Technology
volatile
50. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
try
void
Expressions
Servlet workings