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.
catch
try
Java Media APIs
while
2. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
boolean
while
class
for
3. Reuses the functionality from a previously defined interface.
implements
jsp:forware Action element (with jsp:param)
instanceof
Java Native Interface
4. A tool for checking compliance of applications and applets to a specification.
final
Scriptlets
JavaCheck
JavaScript
5. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
char
OTS (Object Transaction Service)
transient
JavaScript
6. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
transient
Declarations
char
try
7. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
Java virtual machine
private
Java Media APIs
switch
8. 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.
for
case
const
long
9. Introduces one of several possible paths of execution in a switch statement.
double
jsp:plugin (uses jsp:params and jsp:fallback)
JavaSpaces
case
10. Refers to the superclass of the code in which the word super appears.
OS principal
while
super
native
11. 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
MVC Architecture
for
implements
12. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
catch
implements
native
finally
13. Keeps two threads from interfering with one another.
synchronized
goto
JSP
short
14. Indicates that a variable or method can be used only within a certain class.
private
JavaSpaces
char
Java Remote Method Invocation (RMI)
15. The output of one servlet act as a input to another servlet.
JSP Beans
package
if
Servlet Chaining
16. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Servlet Aliasing
strictfp
super
instanceof
17. A tool for tracking and managing source file changes - written in Java.
private
default
JavaSafe
break
18. ______ 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
throw
Java Compatibility Kit (JCK)
JSP
19. 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.
Java Runtime Environment (JRE)
Servlet Chaining
default
extends
20. Indicates that a variable or method belongs to a class rather than to any object created from the class.
char
Java Remote Method Invocation (RMI)
static
assert
21. Creates an object from an existing class.
byte
new
OS principal
break
22. An opensource Java Application Server
jsp:forware Action element (with jsp:param)
jsp:include Action element (with jsp:param)
JBossn
for
23. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Semaphore
class
new
DOM (Document Object Model)
24. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
do
import
while
25. A description of the structure and properties of a class of XML files.
return
while
continue
DTD (Document Type Definition)
26. A definition of the interfaces that permit CORBA objects to participate in transactions.
default
OTS (Object Transaction Service)
JSP
else
27. 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 goto variable.
case
const
Semaphore
goto
28. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
char
JavaCheck
Java Foundation Classes (JFC)
29. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
Semaphore
double
Jini Technology
Java Applet Definition
30. Two Servlet API packages: javax.servlet.* ___________
Java Media APIs
Servlet workings
javax.servlet.http.*
ORB (Object Request Broker)
31. Introduces a path of execution to take when no case is a match in a switch statement.
throws
default
JBossn
if
32. Indicates that a value is an 8-bit whole number.
enum
Servlet
byte
Servlet container
33. A library than enables CORBA objects to locate and communicate with one another.
double precision
OTS (Object Transaction Service)
JavaCheck
ORB (Object Request Broker)
34. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
catch
const
if
Tag Library Directive element
35. Tests the truth of a condition that the programmer believes is true.
assert
JavaScript
long
short
36. Indicates that a variable or method can be used in subclasses from another package.
protected
Servlet container
package
Java Development Kit (JDK)
37. A self-reference
DOM (Document Object Model)
instanceof
extends
this
38. 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.
JAR (Java Archive)
package
Java Media Framework
Page Directive element
39. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Java Platform
Expressions
continue
case
40. 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 Platform
Java Compatibility Kit (JCK)
static
instanceof
41. Used to terminate the execution of the current JSP page and switch control to another resource
default
Servlet
jsp:forware Action element (with jsp:param)
super
42. 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)
DOM (Document Object Model)
throws
jsp:forware Action element (with jsp:param)
43. 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).
Servlet container
Java Applet Definition
Java virtual machine
synchronized
44. A principal native to the operating system on which the Java platform is executing.
volatile
Java Interface Definition Language (IDL)
Page Directive element
OS principal
45. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
int
public
catch
Scriptlets
46. Useful only for small sites
Page-centric architecture
public
byte
Expressions
47. 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 Native Interface
while
CORBA
POA (Portable Object Adapter)
48. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
synchronized
JSP
JavaSpaces
IIOP (Internet Inter-ORB Protocol)
49. 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()
import
super
Declarations
DTD (Document Type Definition)
50. Includes a file in the page
Declarations
Include Directive element
double
native