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. Two Servlet API packages: javax.servlet.* ___________
instanceof
IIOP (Internet Inter-ORB Protocol)
POA (Portable Object Adapter)
javax.servlet.http.*
2. 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
else
Scriptlets
JDK (Java Development Kit)
3. Tests the truth of a condition that the programmer believes is true.
Semaphore
JBossn
Scriptlets
assert
4. A tool for tracking and managing source file changes - written in Java.
jsp:forware Action element (with jsp:param)
instanceof
do
JavaSafe
5. An opensource Java Application Server
JBossn
Java Naming and Directory Interface (JNDI)
continue
Java Development Kit (JDK)
6. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
final
jsp:forware Action element (with jsp:param)
native
Java Applet Definition
7. Used to terminate the execution of the current JSP page and switch control to another resource
IIOP (Internet Inter-ORB Protocol)
public
jsp:forware Action element (with jsp:param)
synchronized
8. Introduces statements that are watched (during runtime) for things that can go wrong.
jsp:plugin (uses jsp:params and jsp:fallback)
protected
switch
try
9. 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.
JAR (Java Archive)
do
Java Database Connectivity (JDBC)
JavaScript
10. A description of the structure and properties of a class of XML files.
Java Media APIs
protected
DTD (Document Type Definition)
JDK (Java Development Kit)
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.
strictfp
JavaScript
Java Foundation Classes (JFC)
JavaCheck
12. Introduces one of several possible paths of execution in a switch statement.
double precision
case
final
jsp:forware Action element (with jsp:param)
13. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JSP Beans
Servlet workings
super
private
14. 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
extends
final
wrapper class
Java Interface Definition Language (IDL)
15. Indicates that a variable or method can be used in subclasses from another package.
Java Media Framework
wrapper class
protected
new
16. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Include Directive element
assert
double precision
long
17. ______ 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
CORBA
JSP
break
OTS (Object Transaction Service)
18. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
extends
const
double
JavaSpaces
19. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Compatibility Kit (JCK)
transient
long
Update
20. Indicates that a value is a 16-bit whole number.
ORB (Object Request Broker)
short
Java Media Framework
Java Applet Definition
21. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
JavaScript
Servlet Aliasing
return
JAR (Java Archive)
22. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
OTS (Object Transaction Service)
return
POA (Portable Object Adapter)
JavaBeans
23. 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
catch
float
else
Java Applet Definition
24. Introduces a class
double
class
JavaBeans
Java Native Interface
25. A definition of the interfaces that permit CORBA objects to participate in transactions.
Update
this
OTS (Object Transaction Service)
JSP
26. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Java Naming and Directory Interface (JNDI)
Java Development Kit (JDK)
char
finally
27. 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).
Servlet container
void
Java Platform
JAR (Java Archive)
28. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java Media APIs
try
enum
Semaphore
29. A software development environment for writing applets and application in Java .
jsp:forware Action element (with jsp:param)
JDK (Java Development Kit)
jsp:plugin (uses jsp:params and jsp:fallback)
throws
30. Includes a new tag library into page - allows use of tags in page
DTD (Document Type Definition)
POA (Portable Object Adapter)
Tag Library Directive element
boolean
31. Tests to see whether a certain object comes from a certain class.
instanceof
long
POA (Portable Object Adapter)
JDK (Java Development Kit)
32. Indicates that a value is an 8-bit whole number.
JavaBeans
package
byte
static
33. Indicates that a variable or method belongs to a class rather than to any object created from the class.
JAR (Java Archive)
static
while
jsp:forware Action element (with jsp:param)
34. Indicates that a method or constructor may pass the buck when an exception is thrown.
IIOP (Internet Inter-ORB Protocol)
Java Compatibility Kit (JCK)
throws
Java Media Framework
35. Creates a newly defined type
enum
Jini Technology
JavaScript
switch
36. Indicates that a value is either true or false in the Java sense.
Semaphore
boolean
Servlet Aliasing
try
37. Puts the code into a package
package
Servlet container
Servlet Chaining
JavaSafe
38. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
jsp:include Action element (with jsp:param)
JavaBeans
break
Expressions
39. 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 Interface Definition Language (IDL)
jsp:forware Action element (with jsp:param)
Java Development Kit (JDK)
if
40. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Update
JavaSpaces
jsp:include Action element (with jsp:param)
catch
41. A principal native to the operating system on which the Java platform is executing.
OS principal
Java Platform
new
JavaSpaces
42. A tool for checking compliance of applications and applets to a specification.
case
Jini Technology
JavaCheck
instanceof
43. Enables the programmer to abbreviate the names of classes defined in a package.
Update
float
jsp:plugin (uses jsp:params and jsp:fallback)
import
44. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
Java Native Interface
Java Remote Method Invocation (RMI)
Page Directive element
45. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Java Remote Method Invocation (RMI)
final
IIOP (Internet Inter-ORB Protocol)
strictfp
46. Indicates that a variable or method can be used only within a certain class.
Java virtual machine
private
OTS (Object Transaction Service)
jsp:include Action element (with jsp:param)
47. A self-reference
double precision
JavaBeans
this
strictfp
48. A class that wraps primitives - Integer or Boolean...
wrapper class
jsp:forware Action element (with jsp:param)
JSP
DOM (Document Object Model)
49. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
JavaBeans
Java Media APIs
else
50. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
POA (Portable Object Adapter)
wrapper class
try
for