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. 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 container
POA (Portable Object Adapter)
jsp:plugin (uses jsp:params and jsp:fallback)
Servlet
2. Repeats some statements over and over again (as long as a condition is still true).
Servlet Aliasing
void
while
OTS (Object Transaction Service)
3. Imposes strict rules on the use of a variable by more than one thread at a time.
char
volatile
long
private
4. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
ORB (Object Request Broker)
CORBA
transient
protected
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.
DTD (Document Type Definition)
JAR (Java Archive)
Java Native Interface
DOM (Document Object Model)
6. 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.
long
double precision
Java Database Connectivity (JDBC)
Include Directive element
7. 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()
CORBA
Declarations
Java Media APIs
Java Naming and Directory Interface (JNDI)
8. Keeps two threads from interfering with one another.
synchronized
package
Java Development Kit (JDK)
Java Media APIs
9. Indicates that a variable or method belongs to a class rather than to any object created from the class.
wrapper class
Java Media APIs
static
byte
10. 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
JAR (Java Archive)
try
void
default
11. A tool for tracking and managing source file changes - written in Java.
JavaSafe
Scriptlets
Include Directive element
case
12. 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)
JavaSafe
continue
jsp:forware Action element (with jsp:param)
13. Introduces a class
Java Remote Method Invocation (RMI)
super
final
class
14. A definition of the interfaces that permit CORBA objects to participate in transactions.
JavaBeans
OTS (Object Transaction Service)
throws
Java Applet Definition
15. 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.
ORB (Object Request Broker)
Java Interface Definition Language (IDL)
JavaScript
throws
16. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
Page Directive element
do
javax.servlet.http.*
17. Introduces statements that are watched (during runtime) for things that can go wrong.
catch
JavaSafe
Scriptlets
try
18. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Declarations
while
native
transient
19. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
while
Expressions
ORB (Object Request Broker)
throw
20. A self-reference
this
protected
class
Java Naming and Directory Interface (JNDI)
21. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
enum
JAR (Java Archive)
float
Java Platform
22. Indicates that a variable or method can be used only within a certain class.
catch
const
protected
private
23. Used to terminate the execution of the current JSP page and switch control to another resource
JDK (Java Development Kit)
final
jsp:forware Action element (with jsp:param)
Java Naming and Directory Interface (JNDI)
24. Includes a new tag library into page - allows use of tags in page
Tag Library Directive element
Servlet Aliasing
instanceof
JDK (Java Development Kit)
25. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Java Remote Method Invocation (RMI)
JSP Beans
for
goto
26. Puts the code into a package
package
Jini Technology
JAR (Java Archive)
goto
27. 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)
Java Interface Definition Language (IDL)
JDK (Java Development Kit)
Java Media APIs
28. A principal native to the operating system on which the Java platform is executing.
jsp:include Action element (with jsp:param)
double precision
OS principal
transient
29. CRUD: Create - Retrieve - ________ - Delete
DOM (Document Object Model)
Page-centric architecture
Update
Servlet Chaining
30. Indicates that a variable or method can be used in subclasses from another package.
Scriptlets
double
Servlet Chaining
protected
31. 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 Remote Method Invocation (RMI)
Declarations
interface
32. A class that wraps primitives - Integer or Boolean...
wrapper class
Java Remote Method Invocation (RMI)
double
finally
33. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
implements
JBossn
default
CORBA
34. Introduces a path of execution to take when no case is a match in a switch statement.
Page Directive element
double precision
default
javax.servlet.http.*
35. The output of one servlet act as a input to another servlet.
long
public
Servlet Chaining
Scriptlets
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
ORB (Object Request Broker)
Java Applet Definition
wrapper class
Java Development Kit (JDK)
37. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
super
Expressions
assert
38. Jumps out of a loop or switch.
JSP Beans
abstract
break
Declarations
39. Creates an object from an existing class.
const
new
float
long
40. Indicates that a method or constructor may pass the buck when an exception is thrown.
native
throws
JavaCheck
case
41. Introduces statements that are executed when the condition in an if statement isn't true.
try
else
double
Page Directive element
42. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
implements
boolean
throws
43. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
wrapper class
synchronized
abstract
MVC Architecture
44. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
const
import
if
JavaSpaces
45. Indicates that a value is a 16-bit whole number.
JavaBeans
short
Tag Library Directive element
assert
46. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
continue
Jini Technology
Declarations
47. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
final
POA (Portable Object Adapter)
javax.servlet.http.*
48. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
Java Media APIs
Update
Servlet workings
49. ______ 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
implements
Java Native Interface
instanceof
JSP
50. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
throws
strictfp
JSP Beans
Servlet container