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 set of APIs that support the integration of audio and video clips & 2D fonts & graphics and images as well as 3D models and telephony.
Semaphore
Servlet container
Java Media APIs
public
2. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
JDK (Java Development Kit)
native
DOM (Document Object Model)
double precision
3. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.
Tag Library Directive element
Java Media Framework
Java virtual machine
throw
4. Creates a newly defined type
finally
enum
for
OS principal
5. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
for
throw
JSP
strictfp
6. Indicates that a variable or method can be used only within a certain class.
package
Tag Library Directive element
private
short
7. A set of APIs that assists with the interfacing to multiple naming and directory services.
import
Java Naming and Directory Interface (JNDI)
long
double
8. A special Java servlet-aware web server process.
Servlet container
Scriptlets
float
Java virtual machine
9. Reuses the functionality from a previously defined interface.
Declarations
implements
default
Java Foundation Classes (JFC)
10. Indicates that a value is a 32-bit whole number.
abstract
Page-centric architecture
throw
int
11. 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.
catch
finally
static
Java Runtime Environment (JRE)
12. A description of the structure and properties of a class of XML files.
while
DTD (Document Type Definition)
Java Compatibility Kit (JCK)
Java virtual machine
13. Introduces statements that are watched (during runtime) for things that can go wrong.
case
try
JavaCheck
double precision
14. A definition of the interfaces that permit CORBA objects to participate in transactions.
package
Expressions
OTS (Object Transaction Service)
CORBA
15. Introduces a path of execution to take when no case is a match in a switch statement.
default
protected
double precision
catch
16. Indicates that a variable or method can be used in subclasses from another package.
volatile
Java Foundation Classes (JFC)
case
protected
17. 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.
JavaSafe
Java Compatibility Kit (JCK)
IIOP (Internet Inter-ORB Protocol)
volatile
18. 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
POA (Portable Object Adapter)
Java Applet Definition
Java Media APIs
19. Creates an object from an existing class.
assert
transient
final
new
20. Indicates that a value is either true or false in the Java sense.
boolean
Jini Technology
public
Java virtual machine
21. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
short
import
final
Tag Library Directive element
22. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
IIOP (Internet Inter-ORB Protocol)
Java Media APIs
new
23. Introduces statements that are executed when the condition in an if statement isn't true.
jsp:include Action element (with jsp:param)
else
Java Native Interface
int
24. Ends execution of a method and possibly returns a value to the calling code.
CORBA
Page Directive element
Servlet Aliasing
return
25. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
boolean
private
for
26. Similar to the include Directive but can pass information to the included resource
Update
Page Directive element
throws
jsp:include Action element (with jsp:param)
27. Imposes strict rules on the use of a variable by more than one thread at a time.
JavaCheck
private
volatile
Expressions
28. A library than enables CORBA objects to locate and communicate with one another.
assert
else
wrapper class
ORB (Object Request Broker)
29. A software development environment for writing applets and application in Java .
this
OTS (Object Transaction Service)
Java Platform
JDK (Java Development Kit)
30. 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 Compatibility Kit (JCK)
Jini Technology
Java Database Connectivity (JDBC)
Java Native Interface
31. Indicates that a method or constructor may pass the buck when an exception is thrown.
throw
implements
boolean
throws
32. A protocol used for communication between CORBA object request brokers.
Tag Library Directive element
IIOP (Internet Inter-ORB Protocol)
switch
transient
33. CRUD: Create - Retrieve - ________ - Delete
Update
DTD (Document Type Definition)
synchronized
Declarations
34. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
int
double
JavaBeans
try
35. Used to generate HTML
Java virtual machine
float
JBossn
jsp:plugin (uses jsp:params and jsp:fallback)
36. Introduces one of several possible paths of execution in a switch statement.
Java Database Connectivity (JDBC)
if
case
boolean
37. Includes a file in the page
Include Directive element
Java Development Kit (JDK)
Servlet
volatile
38. Indicates that a value is an 8-bit whole number.
JSP
byte
transient
OS principal
39. 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.
this
JavaSafe
const
Semaphore
40. Sets attributes and properties specific to the current JSP page
JavaSafe
class
native
Page Directive element
41. Introduces a class
Java Interface Definition Language (IDL)
catch
Java Applet Definition
class
42. Indicates that a value is a 16-bit whole number.
void
JSP Beans
if
short
43. A principal native to the operating system on which the Java platform is executing.
super
continue
Java Platform
OS principal
44. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
DTD (Document Type Definition)
Servlet container
Jini Technology
CORBA
45. The output of one servlet act as a input to another servlet.
Java Runtime Environment (JRE)
private
Servlet Chaining
IIOP (Internet Inter-ORB Protocol)
46. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:include Action element (with jsp:param)
jsp:forware Action element (with jsp:param)
extends
Java Naming and Directory Interface (JNDI)
47. ______ 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
Servlet container
JSP
synchronized
CORBA
48. Tests to see whether a certain object comes from a certain class.
Java virtual machine
Page Directive element
enum
instanceof
49. 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 Database Connectivity (JDBC)
while
byte
JSP
50. Basic code block of a JSP page
Scriptlets
case
OTS (Object Transaction Service)
continue