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. Jumps out of a loop or switch.
break
Java Platform
transient
Java virtual machine
2. A tool for tracking and managing source file changes - written in Java.
jsp:forware Action element (with jsp:param)
JavaSafe
interface
throw
3. Indicates that a value is an 8-bit whole number.
double precision
ORB (Object Request Broker)
return
byte
4. 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 Foundation Classes (JFC)
Java virtual machine
Expressions
Java Media APIs
5. Used to terminate the execution of the current JSP page and switch control to another resource
Include Directive element
strictfp
Java Native Interface
jsp:forware Action element (with jsp:param)
6. Type of Java program (as opposed to a stand-alone program) which is embedded in a web page (requested from a server) and run on a client-side browser
OS principal
strictfp
do
Java Applet Definition
7. Introduces the last will and testament of the statements in a try clause.
Java Compatibility Kit (JCK)
strictfp
JBossn
finally
8. Ends execution of a method and possibly returns a value to the calling code.
JDK (Java Development Kit)
return
continue
Page-centric architecture
9. A software development environment for writing applets and application in Java .
Java Remote Method Invocation (RMI)
case
JDK (Java Development Kit)
OS principal
10. Introduces one of several possible paths of execution in a switch statement.
POA (Portable Object Adapter)
Java Runtime Environment (JRE)
case
package
11. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
continue
CORBA
else
implements
12. 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).
Update
Java virtual machine
Jini Technology
continue
13. A definition of the interfaces that permit CORBA objects to participate in transactions.
else
OTS (Object Transaction Service)
static
finally
14. Two Servlet API packages: javax.servlet.* ___________
assert
boolean
javax.servlet.http.*
final
15. Indicates that a variable or class or method can be used by any other Java code.
JavaSafe
wrapper class
Java Foundation Classes (JFC)
public
16. A standard programming interface for writing Java native methods and embedding the JVM into native applications. The primary goal is binary compatibility of native method libraries across all JVM implementations on a given platform.
Java Native Interface
Java Media APIs
void
Java Compatibility Kit (JCK)
17. A class that wraps primitives - Integer or Boolean...
double
Java Remote Method Invocation (RMI)
new
wrapper class
18. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Semaphore
Tag Library Directive element
finally
DOM (Document Object Model)
19. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
Java Media APIs
OS principal
break
20. A tool for checking compliance of applications and applets to a specification.
JavaCheck
abstract
Servlet Aliasing
Servlet Chaining
21. Puts the code into a package
package
else
wrapper class
Semaphore
22. Indicates that a variable or method can be used only within a certain class.
throw
instanceof
private
double
23. 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.
Java Runtime Environment (JRE)
new
Java Media Framework
Expressions
24. 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.
Java Database Connectivity (JDBC)
const
instanceof
private
25. Similar to the include Directive but can pass information to the included resource
Servlet
jsp:include Action element (with jsp:param)
static
import
26. 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
OTS (Object Transaction Service)
float
Java Interface Definition Language (IDL)
Servlet
27. Creates a newly defined type
JavaBeans
enum
byte
Jini Technology
28. 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.
try
catch
native
Java Media Framework
29. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
jsp:include Action element (with jsp:param)
catch
if
float
30. Introduces statements that are executed when the condition in an if statement isn't true.
Page-centric architecture
enum
else
static
31. 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
IIOP (Internet Inter-ORB Protocol)
char
JavaBeans
32. 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.
Java Native Interface
short
if
Java Development Kit (JDK)
33. 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.
JavaSpaces
native
instanceof
JavaScript
34. Used to generate HTML
JavaBeans
instanceof
jsp:plugin (uses jsp:params and jsp:fallback)
double
35. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Expressions
float
IIOP (Internet Inter-ORB Protocol)
super
36. 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.
JavaScript
switch
Java Remote Method Invocation (RMI)
import
37. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
native
default
Scriptlets
38. A description of the structure and properties of a class of XML files.
JDK (Java Development Kit)
char
Java Foundation Classes (JFC)
DTD (Document Type Definition)
39. A set of APIs that assists with the interfacing to multiple naming and directory services.
import
Java Naming and Directory Interface (JNDI)
Java Media APIs
Java Development Kit (JDK)
40. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Java Development Kit (JDK)
POA (Portable Object Adapter)
Tag Library Directive element
char
41. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
float
if
short
POA (Portable Object Adapter)
42. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Java Interface Definition Language (IDL)
Expressions
transient
static
43. 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.
Servlet Aliasing
Java Database Connectivity (JDBC)
continue
POA (Portable Object Adapter)
44. Indicates that a method or constructor may pass the buck when an exception is thrown.
if
short
throws
break
45. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
public
Java Media Framework
instanceof
46. An opensource Java Application Server
jsp:forware Action element (with jsp:param)
instanceof
JDK (Java Development Kit)
JBossn
47. Useful only for small sites
synchronized
Page-centric architecture
enum
int
48. Indicates that a value is a 32-bit whole number.
wrapper class
int
JavaSpaces
Tag Library Directive element
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.
goto
IIOP (Internet Inter-ORB Protocol)
Java Interface Definition Language (IDL)
JSP Beans
50. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
continue
byte
Servlet
Semaphore