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. Introduces the last will and testament of the statements in a try clause.
Jini Technology
transient
Servlet Aliasing
finally
2. A description of the structure and properties of a class of XML files.
abstract
DTD (Document Type Definition)
synchronized
interface
3. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
jsp:include Action element (with jsp:param)
Java Foundation Classes (JFC)
JSP
4. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
JBossn
Java Runtime Environment (JRE)
jsp:include Action element (with jsp:param)
if
5. 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.
instanceof
javax.servlet.http.*
Java Development Kit (JDK)
Servlet workings
6. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Servlet
Java Foundation Classes (JFC)
short
implements
7. 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
protected
Jini Technology
OTS (Object Transaction Service)
8. 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.
package
JavaSpaces
private
Java Database Connectivity (JDBC)
9. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
break
wrapper class
Semaphore
JSP Beans
10. Indicates that a method or constructor may pass the buck when an exception is thrown.
jsp:include Action element (with jsp:param)
protected
JBossn
throws
11. 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
Semaphore
JavaSpaces
Java Applet Definition
12. Keeps two threads from interfering with one another.
Tag Library Directive element
Java Foundation Classes (JFC)
float
synchronized
13. 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
Servlet workings
JavaSafe
JDK (Java Development Kit)
Java Interface Definition Language (IDL)
14. 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
finally
Servlet workings
Java Native Interface
OS principal
15. Used to terminate the execution of the current JSP page and switch control to another resource
char
throws
jsp:forware Action element (with jsp:param)
int
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
class
JBossn
Java Runtime Environment (JRE)
17. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
JSP
JSP Beans
try
double precision
18. Two Servlet API packages: javax.servlet.* ___________
JavaBeans
javax.servlet.http.*
final
Java Remote Method Invocation (RMI)
19. A special Java servlet-aware web server process.
assert
Servlet container
Page Directive element
while
20. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
Include Directive element
boolean
JavaBeans
21. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Expressions
static
CORBA
while
22. Creates a subclass
this
Scriptlets
extends
Servlet workings
23. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
boolean
OTS (Object Transaction Service)
transient
POA (Portable Object Adapter)
24. Indicates that a value is a 64-bit whole number.
jsp:forware Action element (with jsp:param)
float
long
break
25. Sets attributes and properties specific to the current JSP page
if
Page Directive element
Update
Java Compatibility Kit (JCK)
26. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
DOM (Document Object Model)
enum
jsp:plugin (uses jsp:params and jsp:fallback)
27. The output of one servlet act as a input to another servlet.
IIOP (Internet Inter-ORB Protocol)
Java Applet Definition
package
Servlet Chaining
28. Reuses the functionality from a previously defined interface.
Java Naming and Directory Interface (JNDI)
Java Platform
implements
Java Applet Definition
29. A tool for tracking and managing source file changes - written in Java.
Scriptlets
JavaSafe
jsp:include Action element (with jsp:param)
JavaBeans
30. Indicates that a value is an 8-bit whole number.
javax.servlet.http.*
Include Directive element
byte
JSP
31. Repeats some statements over and over again (as long as a condition is still true).
while
do
Servlet
Java Media Framework
32. Enables the programmer to abbreviate the names of classes defined in a package.
Jini Technology
JSP Beans
import
Java virtual machine
33. Tests the truth of a condition that the programmer believes is true.
assert
IIOP (Internet Inter-ORB Protocol)
POA (Portable Object Adapter)
boolean
34. Refers to the superclass of the code in which the word super appears.
try
default
super
boolean
35. Introduces an interface which is like a class but less specific.
new
interface
native
Expressions
36. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
int
native
Java Naming and Directory Interface (JNDI)
CORBA
37. Introduces one of several possible paths of execution in a switch statement.
catch
Java Media APIs
Include Directive element
case
38. Indicates that a variable or method belongs to a class rather than to any object created from the class.
extends
Page Directive element
static
void
39. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
if
wrapper class
JSP Beans
javax.servlet.http.*
40. 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
float
JAR (Java Archive)
case
if
41. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
double
instanceof
Java Runtime Environment (JRE)
short
42. Indicates that a value is a 16-bit whole number.
ORB (Object Request Broker)
JavaSafe
Servlet container
short
43. Useful only for small sites
char
Scriptlets
Page-centric architecture
JavaScript
44. Jumps out of a loop or switch.
void
catch
private
break
45. A principal native to the operating system on which the Java platform is executing.
continue
instanceof
OS principal
OTS (Object Transaction Service)
46. Indicates that a variable or class or method can be used by any other Java code.
return
public
void
POA (Portable Object Adapter)
47. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
strictfp
byte
Servlet Aliasing
const
48. Introduces statements that are watched (during runtime) for things that can go wrong.
try
synchronized
throw
JBossn
49. 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 Database Connectivity (JDBC)
Java Compatibility Kit (JCK)
abstract
while
50. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
synchronized
catch
Update