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. 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
continue
return
Java Development Kit (JDK)
2. 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 Compatibility Kit (JCK)
try
Servlet container
3. Introduces statements that are executed when the condition in an if statement isn't true.
float
else
jsp:forware Action element (with jsp:param)
JDK (Java Development Kit)
4. Introduces a class
enum
default
class
new
5. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
private
Java Interface Definition Language (IDL)
POA (Portable Object Adapter)
volatile
6. Introduces one of several possible paths of execution in a switch statement.
throws
POA (Portable Object Adapter)
do
case
7. 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
boolean
public
void
8. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
throws
jsp:plugin (uses jsp:params and jsp:fallback)
transient
9. 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 Media Framework
Semaphore
const
JSP
10. A tool for checking compliance of applications and applets to a specification.
super
default
JavaCheck
jsp:plugin (uses jsp:params and jsp:fallback)
11. Servlet is: loaded by servlet container when 1st requested; is then forwarded the user's request; processes the user's request; returns the response back to the servlet container. Servlet container sends this response back to the user. Servlet stays
JavaCheck
Java Applet Definition
Java Media Framework
Servlet workings
12. Indicates that a value is an 8-bit whole number.
jsp:include Action element (with jsp:param)
double precision
byte
enum
13. A definition of the interfaces that permit CORBA objects to participate in transactions.
Java Foundation Classes (JFC)
JavaCheck
assert
OTS (Object Transaction Service)
14. 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
JavaBeans
return
Jini Technology
15. 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
JavaBeans
double
Semaphore
16. Creates a subclass
extends
Java Compatibility Kit (JCK)
wrapper class
Tag Library Directive element
17. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
strictfp
continue
ORB (Object Request Broker)
18. 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.
JavaScript
interface
Java Applet Definition
Expressions
19. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
instanceof
Java Native Interface
JSP Beans
JavaSpaces
20. 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)
static
for
switch
21. Basic code block of a JSP page
throw
Scriptlets
import
finally
22. 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
JavaCheck
JAR (Java Archive)
do
native
23. Creates a newly defined type
enum
class
short
int
24. Introduces an interface which is like a class but less specific.
Update
goto
Java Native Interface
interface
25. Repeats some statements over and over again (as long as a condition is still true).
Java Compatibility Kit (JCK)
Java Development Kit (JDK)
while
Java Database Connectivity (JDBC)
26. A special Java servlet-aware web server process.
class
Servlet container
Java Native Interface
volatile
27. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
JAR (Java Archive)
instanceof
Java Foundation Classes (JFC)
synchronized
28. Indicates that a value is a 32-bit whole number.
else
int
while
double
29. A class that wraps primitives - Integer or Boolean...
JavaBeans
do
wrapper class
JSP
30. 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.
DTD (Document Type Definition)
Java Media APIs
Servlet Chaining
const
31. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
continue
break
double
finally
32. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Java Interface Definition Language (IDL)
goto
CORBA
do
33. Reuses the functionality from a previously defined interface.
do
private
Servlet workings
implements
34. 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).
synchronized
do
char
Java Platform
35. Indicates that a value is a 16-bit whole number.
Java Development Kit (JDK)
extends
short
while
36. 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
Java Applet Definition
instanceof
Java Media Framework
void
37. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
DOM (Document Object Model)
char
byte
super
38. Tests to see whether a certain object comes from a certain class.
Expressions
Java virtual machine
instanceof
Java Platform
39. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
Semaphore
Java Media APIs
Servlet Chaining
40. Forces the abrupt end of the current loop iteration and begins another iteration.
Java virtual machine
continue
Jini Technology
JavaCheck
41. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
finally
JSP
boolean
42. 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.
Servlet
JAR (Java Archive)
new
Java Compatibility Kit (JCK)
43. A protocol used for communication between CORBA object request brokers.
JavaScript
Scriptlets
IIOP (Internet Inter-ORB Protocol)
return
44. 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.
interface
Java Remote Method Invocation (RMI)
Servlet Aliasing
Java Applet Definition
45. Indicates that a method or constructor may pass the buck when an exception is thrown.
Servlet Chaining
Declarations
throws
jsp:plugin (uses jsp:params and jsp:fallback)
46. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
JAR (Java Archive)
switch
goto
IIOP (Internet Inter-ORB Protocol)
47. Indicates that a value is a 64-bit whole number.
double precision
long
CORBA
DOM (Document Object Model)
48. ______ 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
IIOP (Internet Inter-ORB Protocol)
JSP
JavaCheck
char
49. Creates an object from an existing class.
catch
double
Jini Technology
new
50. Refers to the superclass of the code in which the word super appears.
public
else
jsp:forware Action element (with jsp:param)
super