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. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Java Applet Definition
finally
Servlet Aliasing
void
2. Enables the programmer to abbreviate the names of classes defined in a package.
POA (Portable Object Adapter)
double precision
import
char
3. Creates a subclass
OTS (Object Transaction Service)
protected
extends
short
4. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
JBossn
Declarations
Java Naming and Directory Interface (JNDI)
double
5. 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.
DOM (Document Object Model)
javax.servlet.http.*
Java Database Connectivity (JDBC)
case
6. Indicates that a method doesn't return a value.
double
void
Jini Technology
Servlet Aliasing
7. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
javax.servlet.http.*
JavaSpaces
Java virtual machine
public
8. 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.
Jini Technology
package
finally
transient
9. 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.
JBossn
Java Remote Method Invocation (RMI)
Java Compatibility Kit (JCK)
jsp:include Action element (with jsp:param)
10. 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
for
Java Interface Definition Language (IDL)
double precision
instanceof
11. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
Java Compatibility Kit (JCK)
double precision
Page-centric architecture
catch
12. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
enum
IIOP (Internet Inter-ORB Protocol)
if
DOM (Document Object Model)
13. 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.
IIOP (Internet Inter-ORB Protocol)
while
transient
Servlet
14. A set of APIs that assists with the interfacing to multiple naming and directory services.
Servlet Aliasing
double precision
Java Naming and Directory Interface (JNDI)
int
15. 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.
import
Scriptlets
Java Native Interface
default
16. 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).
Java virtual machine
Java Naming and Directory Interface (JNDI)
Java Compatibility Kit (JCK)
new
17. Introduces a path of execution to take when no case is a match in a switch statement.
default
Servlet Aliasing
Scriptlets
Page-centric architecture
18. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
char
else
JavaScript
19. 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.
JavaCheck
Java Interface Definition Language (IDL)
Java Media Framework
Java Native Interface
20. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
void
Java Compatibility Kit (JCK)
Java Foundation Classes (JFC)
POA (Portable Object Adapter)
21. Indicates that a value is a 16-bit whole number.
short
Declarations
goto
ORB (Object Request Broker)
22. A class that wraps primitives - Integer or Boolean...
wrapper class
assert
Page-centric architecture
JavaSpaces
23. 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.
jsp:include Action element (with jsp:param)
CORBA
JavaScript
Java Platform
24. Ends execution of a method and possibly returns a value to the calling code.
JSP Beans
Java Foundation Classes (JFC)
return
Servlet
25. Indicates that a value is an 8-bit whole number.
Java Platform
byte
Page-centric architecture
for
26. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Java Compatibility Kit (JCK)
synchronized
JavaBeans
OS principal
27. Indicates that a variable or method belongs to a class rather than to any object created from the class.
JBossn
Declarations
extends
static
28. 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.
case
Java Development Kit (JDK)
void
Java Interface Definition Language (IDL)
29. 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.
do
interface
private
const
30. Tests to see whether a certain object comes from a certain class.
instanceof
MVC Architecture
Servlet workings
byte
31. 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).
Java Media Framework
Java Platform
JavaSafe
package
32. Indicates that a variable or class or method can be used by any other Java code.
goto
IIOP (Internet Inter-ORB Protocol)
public
POA (Portable Object Adapter)
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)
JavaCheck
boolean
Page-centric architecture
34. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Page-centric architecture
enum
if
native
35. Indicates that a value is a 32-bit whole number.
case
Java Interface Definition Language (IDL)
int
Java virtual machine
36. Includes a file in the page
Include Directive element
Java Applet Definition
short
implements
37. A tool for tracking and managing source file changes - written in Java.
JavaSafe
Java Foundation Classes (JFC)
case
CORBA
38. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
private
Page-centric architecture
CORBA
39. Includes a new tag library into page - allows use of tags in page
Servlet container
Tag Library Directive element
package
byte
40. Introduces one of several possible paths of execution in a switch statement.
JSP Beans
Page-centric architecture
MVC Architecture
case
41. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
boolean
double precision
transient
JavaSafe
42. A library than enables CORBA objects to locate and communicate with one another.
JavaSpaces
Java Runtime Environment (JRE)
ORB (Object Request Broker)
Java Compatibility Kit (JCK)
43. Useful only for small sites
Java Naming and Directory Interface (JNDI)
Scriptlets
Page Directive element
Page-centric architecture
44. Introduces statements that are watched (during runtime) for things that can go wrong.
DTD (Document Type Definition)
return
finally
try
45. Tests the truth of a condition that the programmer believes is true.
default
OTS (Object Transaction Service)
public
assert
46. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
double precision
long
const
char
47. ______ 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
protected
case
for
48. Indicates that a value is either true or false in the Java sense.
Java virtual machine
boolean
case
package
49. Indicates that a method or constructor may pass the buck when an exception is thrown.
float
char
throws
static
50. 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)
DOM (Document Object Model)
break
javax.servlet.http.*