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. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
short
DTD (Document Type Definition)
strictfp
if
2. Introduces one of several possible paths of execution in a switch statement.
public
case
package
JSP
3. Forces the abrupt end of the current loop iteration and begins another iteration.
default
JavaCheck
continue
try
4. The output of one servlet act as a input to another servlet.
DTD (Document Type Definition)
JBossn
Servlet Chaining
else
5. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
return
case
instanceof
abstract
6. 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
switch
javax.servlet.http.*
byte
7. 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.
const
package
strictfp
byte
8. Repeats some statements over and over again (as long as a condition is still true).
OS principal
while
jsp:plugin (uses jsp:params and jsp:fallback)
Java Remote Method Invocation (RMI)
9. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
DTD (Document Type Definition)
Scriptlets
Java Naming and Directory Interface (JNDI)
native
10. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
DOM (Document Object Model)
throws
Include Directive element
void
11. Indicates that a value is a 32-bit whole number.
break
long
int
catch
12. Refers to the superclass of the code in which the word super appears.
Jini Technology
Java Platform
super
Java Media APIs
13. 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 Remote Method Invocation (RMI)
Servlet Aliasing
transient
DTD (Document Type Definition)
14. A description of the structure and properties of a class of XML files.
javax.servlet.http.*
DTD (Document Type Definition)
jsp:forware Action element (with jsp:param)
float
15. Keeps two threads from interfering with one another.
Java Database Connectivity (JDBC)
synchronized
protected
if
16. Useful only for small sites
Tag Library Directive element
Page-centric architecture
CORBA
Java virtual machine
17. Indicates that a variable or method can be used in subclasses from another package.
case
protected
DOM (Document Object Model)
javax.servlet.http.*
18. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
wrapper class
package
JavaSpaces
19. Introduces statements that are watched (during runtime) for things that can go wrong.
byte
JSP
try
Scriptlets
20. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
strictfp
Java virtual machine
synchronized
throw
21. Indicates that a variable or method can be used only within a certain class.
MVC Architecture
Servlet container
strictfp
private
22. 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.
Java Interface Definition Language (IDL)
Java Naming and Directory Interface (JNDI)
try
Java Database Connectivity (JDBC)
23. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JSP Beans
do
protected
jsp:forware Action element (with jsp:param)
24. 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.
long
Page Directive element
Jini Technology
Java Media Framework
25. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
JSP Beans
Page-centric architecture
interface
26. Indicates that a variable or class or method can be used by any other Java code.
Java Native Interface
default
public
Java Media APIs
27. 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.
jsp:plugin (uses jsp:params and jsp:fallback)
long
static
Java Development Kit (JDK)
28. Indicates that a value is a 16-bit whole number.
short
assert
Java Runtime Environment (JRE)
for
29. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
final
double
throws
JavaScript
30. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
JavaSpaces
POA (Portable Object Adapter)
JavaSafe
JavaCheck
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
Java Interface Definition Language (IDL)
JavaCheck
CORBA
Update
32. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
break
Java Media APIs
super
33. 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.
Java Compatibility Kit (JCK)
while
Java Foundation Classes (JFC)
new
34. 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
synchronized
boolean
JBossn
35. Creates a subclass
extends
final
Servlet Chaining
MVC Architecture
36. A tool for checking compliance of applications and applets to a specification.
enum
synchronized
Java Interface Definition Language (IDL)
JavaCheck
37. Creates an object from an existing class.
jsp:plugin (uses jsp:params and jsp:fallback)
Java Compatibility Kit (JCK)
else
new
38. A protocol used for communication between CORBA object request brokers.
OTS (Object Transaction Service)
IIOP (Internet Inter-ORB Protocol)
wrapper class
this
39. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
switch
JavaBeans
do
byte
40. Tests the truth of a condition that the programmer believes is true.
assert
long
JavaBeans
instanceof
41. Used to generate HTML
synchronized
double precision
JavaScript
jsp:plugin (uses jsp:params and jsp:fallback)
42. An opensource Java Application Server
continue
static
JBossn
JAR (Java Archive)
43. 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()
this
Declarations
package
Java Database Connectivity (JDBC)
44. Includes a new tag library into page - allows use of tags in page
Tag Library Directive element
JavaBeans
boolean
Servlet Chaining
45. Jumps out of a loop or switch.
default
const
Declarations
break
46. Indicates that a value is an 8-bit whole number.
JavaCheck
byte
for
Tag Library Directive element
47. A special Java servlet-aware web server process.
DTD (Document Type Definition)
protected
Servlet container
Servlet Chaining
48. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Java Database Connectivity (JDBC)
Page-centric architecture
double precision
throws
49. 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
Jini Technology
Semaphore
JAR (Java Archive)
char
50. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
byte
IIOP (Internet Inter-ORB Protocol)
char
JavaSpaces