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.
int
Servlet Aliasing
if
Java Platform
2. Two Servlet API packages: javax.servlet.* ___________
POA (Portable Object Adapter)
javax.servlet.http.*
Java Runtime Environment (JRE)
if
3. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
strictfp
transient
Java Naming and Directory Interface (JNDI)
Jini Technology
4. An opensource Java Application Server
Declarations
JBossn
else
goto
5. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Jini Technology
Java Foundation Classes (JFC)
POA (Portable Object Adapter)
instanceof
6. Ends execution of a method and possibly returns a value to the calling code.
return
throws
JavaScript
double precision
7. Includes a file in the page
float
Include Directive element
Java Compatibility Kit (JCK)
Java Applet Definition
8. A description of the structure and properties of a class of XML files.
Java Interface Definition Language (IDL)
Java Compatibility Kit (JCK)
DTD (Document Type Definition)
jsp:forware Action element (with jsp:param)
9. 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).
interface
case
Java virtual machine
Java Platform
10. 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
extends
if
Servlet workings
super
11. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
jsp:include Action element (with jsp:param)
strictfp
DOM (Document Object Model)
class
12. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
throws
final
do
while
13. 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 Development Kit (JDK)
instanceof
POA (Portable Object Adapter)
Page Directive element
14. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
strictfp
OTS (Object Transaction Service)
double precision
this
15. Introduces one of several possible paths of execution in a switch statement.
short
case
wrapper class
extends
16. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Tag Library Directive element
JavaSpaces
do
JavaSafe
17. 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 Media APIs
Java Database Connectivity (JDBC)
Tag Library Directive element
MVC Architecture
18. Indicates that a variable or method can be used in subclasses from another package.
Java Applet Definition
throw
JDK (Java Development Kit)
protected
19. Indicates that a value is either true or false in the Java sense.
boolean
throws
wrapper class
new
20. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
else
Java Naming and Directory Interface (JNDI)
DOM (Document Object Model)
JDK (Java Development Kit)
21. Repeats some statements over and over again (as long as a condition is still true).
Servlet
ORB (Object Request Broker)
goto
while
22. A class that wraps primitives - Integer or Boolean...
Servlet
wrapper class
synchronized
for
23. Jumps out of a loop or switch.
Java Applet Definition
break
short
catch
24. Indicates that a value is a 32-bit whole number.
instanceof
super
int
OS principal
25. Imposes strict rules on the use of a variable by more than one thread at a time.
protected
if
volatile
abstract
26. A set of APIs that assists with the interfacing to multiple naming and directory services.
JAR (Java Archive)
super
Semaphore
Java Naming and Directory Interface (JNDI)
27. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Java Interface Definition Language (IDL)
CORBA
char
while
28. This separates the content presentation (View) from the underlying business operations/content generation (Model) using infrastructure/controller Servlet (Controller) which exists between the client browser and the JSP/Servlet-generated pages. Contro
synchronized
MVC Architecture
protected
Java Interface Definition Language (IDL)
29. 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
interface
assert
case
30. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
wrapper class
throw
Java Media Framework
31. The output of one servlet act as a input to another servlet.
protected
Servlet Chaining
switch
try
32. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
assert
Servlet workings
IIOP (Internet Inter-ORB Protocol)
33. 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.
public
while
Servlet
assert
34. Useful only for small sites
JavaBeans
Expressions
Page-centric architecture
Java Remote Method Invocation (RMI)
35. Introduces a path of execution to take when no case is a match in a switch statement.
char
private
default
break
36. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
javax.servlet.http.*
finally
assert
char
37. Similar to the include Directive but can pass information to the included resource
else
Servlet workings
jsp:include Action element (with jsp:param)
try
38. Introduces statements that are watched (during runtime) for things that can go wrong.
double precision
try
synchronized
instanceof
39. Refers to the superclass of the code in which the word super appears.
super
Java Media Framework
abstract
JavaScript
40. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
wrapper class
synchronized
Page-centric architecture
41. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
jsp:forware Action element (with jsp:param)
break
package
double
42. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
double precision
POA (Portable Object Adapter)
Servlet container
JavaScript
43. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
Tag Library Directive element
enum
JDK (Java Development Kit)
44. ______ 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
else
while
instanceof
JSP
45. A tool for checking compliance of applications and applets to a specification.
case
return
for
JavaCheck
46. 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()
enum
ORB (Object Request Broker)
Declarations
public
47. Indicates that a variable or class or method can be used by any other Java code.
static
goto
double
public
48. 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 Media APIs
Java Interface Definition Language (IDL)
JBossn
this
49. A self-reference
void
JAR (Java Archive)
Servlet workings
this
50. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
Tag Library Directive element
switch
goto
private