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. 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.
goto
Servlet workings
double
static
2. 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.
ORB (Object Request Broker)
Servlet workings
default
Java Compatibility Kit (JCK)
3. Sets attributes and properties specific to the current JSP page
private
Semaphore
Page Directive element
CORBA
4. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
Scriptlets
switch
DOM (Document Object Model)
POA (Portable Object Adapter)
5. Jumps out of a loop or switch.
javax.servlet.http.*
Java Applet Definition
ORB (Object Request Broker)
break
6. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
JavaScript
MVC Architecture
Java Platform
7. 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
wrapper class
byte
JSP Beans
JAR (Java Archive)
8. Ends execution of a method and possibly returns a value to the calling code.
DTD (Document Type Definition)
Servlet workings
Servlet
return
9. An opensource Java Application Server
new
Update
JBossn
MVC Architecture
10. Reuses the functionality from a previously defined interface.
default
implements
Servlet Chaining
return
11. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Jini Technology
POA (Portable Object Adapter)
Java Interface Definition Language (IDL)
JavaScript
12. 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.
DOM (Document Object Model)
Jini Technology
static
CORBA
13. Introduces statements that are watched (during runtime) for things that can go wrong.
interface
class
float
try
14. Indicates that a value is a 16-bit whole number.
throws
JSP Beans
short
Servlet Chaining
15. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
Java Remote Method Invocation (RMI)
Update
do
16. Indicates that a value is a 32-bit whole number.
wrapper class
int
OTS (Object Transaction Service)
Java virtual machine
17. Indicates that a variable or method can be used in subclasses from another package.
do
Java Media Framework
protected
package
18. 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.
protected
Java Foundation Classes (JFC)
Servlet
Servlet Chaining
19. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
int
enum
protected
20. 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
enum
JavaSafe
abstract
21. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Java Interface Definition Language (IDL)
if
protected
Java Remote Method Invocation (RMI)
22. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Java Database Connectivity (JDBC)
native
class
goto
23. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Java Media Framework
OS principal
strictfp
default
24. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
Update
JavaScript
try
25. A description of the structure and properties of a class of XML files.
JSP
javax.servlet.http.*
DTD (Document Type Definition)
Java Naming and Directory Interface (JNDI)
26. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
JDK (Java Development Kit)
transient
double
boolean
27. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
assert
JavaScript
default
28. Introduces a path of execution to take when no case is a match in a switch statement.
default
char
DOM (Document Object Model)
IIOP (Internet Inter-ORB Protocol)
29. CRUD: Create - Retrieve - ________ - Delete
Declarations
Java Interface Definition Language (IDL)
return
Update
30. 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.
Include Directive element
JAR (Java Archive)
Java Development Kit (JDK)
Java Database Connectivity (JDBC)
31. 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
import
throw
byte
Java Interface Definition Language (IDL)
32. Imposes strict rules on the use of a variable by more than one thread at a time.
char
double precision
try
volatile
33. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
Include Directive element
goto
jsp:include Action element (with jsp:param)
34. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Declarations
super
Java Runtime Environment (JRE)
DOM (Document Object Model)
35. A definition of the interfaces that permit CORBA objects to participate in transactions.
extends
OTS (Object Transaction Service)
Java Interface Definition Language (IDL)
this
36. Introduces a class
Tag Library Directive element
class
JBossn
double
37. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
Servlet workings
JavaScript
else
38. A set of APIs that assists with the interfacing to multiple naming and directory services.
JavaSafe
IIOP (Internet Inter-ORB Protocol)
case
Java Naming and Directory Interface (JNDI)
39. A self-reference
this
JSP Beans
Servlet Aliasing
Expressions
40. Creates a subclass
extends
do
JavaSpaces
javax.servlet.http.*
41. A special Java servlet-aware web server process.
JAR (Java Archive)
Servlet container
Include Directive element
short
42. Creates a newly defined type
enum
Java Native Interface
Java Remote Method Invocation (RMI)
JSP
43. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
DTD (Document Type Definition)
JSP Beans
double precision
OS principal
44. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
default
JavaBeans
interface
class
45. 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 Foundation Classes (JFC)
Java Remote Method Invocation (RMI)
throws
Semaphore
46. Creates an object from an existing class.
static
this
interface
new
47. Keeps two threads from interfering with one another.
Servlet container
else
Java Media APIs
synchronized
48. A tool for tracking and managing source file changes - written in Java.
Java Native Interface
Java Compatibility Kit (JCK)
Servlet
JavaSafe
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 const variable.
native
Java Platform
const
abstract
50. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Java Media APIs
char
Java Naming and Directory Interface (JNDI)
case