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. Used to generate HTML
JDK (Java Development Kit)
while
jsp:plugin (uses jsp:params and jsp:fallback)
DOM (Document Object Model)
2. Introduces statements that are watched (during runtime) for things that can go wrong.
while
try
catch
new
3. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
const
throws
if
4. Jumps out of a loop or switch.
strictfp
MVC Architecture
break
double
5. 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.
Scriptlets
default
public
Java Native Interface
6. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
interface
IIOP (Internet Inter-ORB Protocol)
Servlet Aliasing
static
7. A tool for tracking and managing source file changes - written in Java.
Tag Library Directive element
JavaSafe
catch
switch
8. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Semaphore
Scriptlets
public
super
9. CRUD: Create - Retrieve - ________ - Delete
Java virtual machine
Update
transient
default
10. Indicates that a value is a 16-bit whole number.
ORB (Object Request Broker)
package
return
short
11. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
IIOP (Internet Inter-ORB Protocol)
if
Java Naming and Directory Interface (JNDI)
catch
12. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
this
Java Platform
native
transient
13. ______ 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
private
Servlet Aliasing
native
14. Indicates that a variable or class or method can be used by any other Java code.
Include Directive element
long
super
public
15. 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.
OTS (Object Transaction Service)
Expressions
const
Java Development Kit (JDK)
16. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
Include Directive element
enum
protected
17. Useful only for small sites
Page-centric architecture
Java Media APIs
volatile
if
18. 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
while
Scriptlets
JAR (Java Archive)
Include Directive element
19. A library than enables CORBA objects to locate and communicate with one another.
float
double precision
ORB (Object Request Broker)
final
20. Tests the truth of a condition that the programmer believes is true.
assert
Semaphore
double precision
Servlet workings
21. A principal native to the operating system on which the Java platform is executing.
boolean
Java Native Interface
short
OS principal
22. Creates an object from an existing class.
this
JavaScript
new
Java Remote Method Invocation (RMI)
23. Introduces a class
while
OTS (Object Transaction Service)
protected
class
24. 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 Beans
Java Development Kit (JDK)
JavaScript
native
25. Reuses the functionality from a previously defined interface.
Java Naming and Directory Interface (JNDI)
DOM (Document Object Model)
this
implements
26. Indicates that a value is a 32-bit whole number.
super
JavaScript
int
Tag Library Directive element
27. 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.
continue
Semaphore
Jini Technology
float
28. 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 Platform
default
finally
enum
29. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
switch
for
Tag Library Directive element
POA (Portable Object Adapter)
30. A protocol used for communication between CORBA object request brokers.
IIOP (Internet Inter-ORB Protocol)
throws
JDK (Java Development Kit)
Page-centric architecture
31. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
double
private
try
JSP Beans
32. Basic code block of a JSP page
Scriptlets
Java Platform
ORB (Object Request Broker)
void
33. Indicates that a variable or method can be used only within a certain class.
break
Java Platform
import
private
34. Tests to see whether a certain object comes from a certain class.
ORB (Object Request Broker)
instanceof
while
Servlet Aliasing
35. Introduces an interface which is like a class but less specific.
interface
Java Interface Definition Language (IDL)
double
Expressions
36. 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.
catch
else
IIOP (Internet Inter-ORB Protocol)
Java Media APIs
37. A software development environment for writing applets and application in Java .
jsp:forware Action element (with jsp:param)
JDK (Java Development Kit)
for
super
38. Keeps two threads from interfering with one another.
synchronized
long
JBossn
native
39. A definition of the interfaces that permit CORBA objects to participate in transactions.
Java Naming and Directory Interface (JNDI)
OTS (Object Transaction Service)
char
Java Media Framework
40. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
OTS (Object Transaction Service)
jsp:include Action element (with jsp:param)
jsp:forware Action element (with jsp:param)
for
41. Enables the programmer to abbreviate the names of classes defined in a package.
while
import
try
goto
42. 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.
continue
Java Media Framework
native
jsp:include Action element (with jsp:param)
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.
Java Database Connectivity (JDBC)
try
goto
long
44. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Java Naming and Directory Interface (JNDI)
Servlet
double precision
goto
45. A tool for checking compliance of applications and applets to a specification.
interface
strictfp
MVC Architecture
JavaCheck
46. Includes a file in the page
Include Directive element
short
private
Servlet workings
47. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
goto
assert
for
48. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
if
JDK (Java Development Kit)
Java Foundation Classes (JFC)
switch
49. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
char
Servlet Aliasing
Expressions
if
50. 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()
Java Development Kit (JDK)
const
Declarations
case