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 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)
Page Directive element
Servlet Chaining
assert
2. Introduces a class
Java Platform
jsp:include Action element (with jsp:param)
Java Naming and Directory Interface (JNDI)
class
3. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
JavaCheck
Java Interface Definition Language (IDL)
Servlet Chaining
abstract
4. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
double precision
throw
Java Media APIs
5. Indicates that a method or constructor may pass the buck when an exception is thrown.
MVC Architecture
wrapper class
throws
Jini Technology
6. Creates a subclass
OS principal
extends
Servlet container
synchronized
7. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
DOM (Document Object Model)
Semaphore
native
Java Interface Definition Language (IDL)
8. Indicates that a value is a 64-bit whole number.
long
try
POA (Portable Object Adapter)
Java Platform
9. Repeats some statements over and over again (as long as a condition is still true).
Semaphore
Expressions
while
new
10. 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).
wrapper class
do
Java virtual machine
byte
11. Introduces one of several possible paths of execution in a switch statement.
CORBA
byte
Scriptlets
case
12. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
OTS (Object Transaction Service)
throw
JavaSpaces
if
13. Useful only for small sites
default
Include Directive element
Page-centric architecture
JSP
14. The output of one servlet act as a input to another servlet.
Expressions
Servlet Chaining
DOM (Document Object Model)
const
15. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
implements
IIOP (Internet Inter-ORB Protocol)
if
Java virtual machine
16. Used to generate HTML
MVC Architecture
jsp:plugin (uses jsp:params and jsp:fallback)
long
Java Native Interface
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
const
Java Foundation Classes (JFC)
Page-centric architecture
JSP
18. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
extends
enum
JBossn
Expressions
19. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
do
long
Servlet Aliasing
Servlet
20. Forces the abrupt end of the current loop iteration and begins another iteration.
CORBA
continue
wrapper class
catch
21. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Java Development Kit (JDK)
JavaScript
Update
float
22. Introduces statements that are watched (during runtime) for things that can go wrong.
strictfp
public
try
wrapper class
23. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
continue
Semaphore
void
catch
24. Creates an object from an existing class.
try
Java Native Interface
new
public
25. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
double
jsp:forware Action element (with jsp:param)
JSP
final
26. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
Page-centric architecture
try
Java Media Framework
27. 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
private
new
class
28. 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
final
boolean
Java Applet Definition
private
29. Tests the truth of a condition that the programmer believes is true.
assert
package
Include Directive element
javax.servlet.http.*
30. Indicates that a value is a 16-bit whole number.
short
Java Database Connectivity (JDBC)
Java Runtime Environment (JRE)
float
31. Ends execution of a method and possibly returns a value to the calling code.
interface
do
return
Declarations
32. 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
try
Java Runtime Environment (JRE)
protected
33. 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.
Java Naming and Directory Interface (JNDI)
continue
while
Servlet
34. Indicates that a value is either true or false in the Java sense.
boolean
interface
Java Development Kit (JDK)
Java Interface Definition Language (IDL)
35. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
catch
Servlet
double precision
class
36. Similar to the include Directive but can pass information to the included resource
Semaphore
jsp:include Action element (with jsp:param)
Java Native Interface
do
37. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
new
JavaBeans
case
strictfp
38. Includes a file in the page
Include Directive element
JSP
class
JavaCheck
39. Introduces a path of execution to take when no case is a match in a switch statement.
super
default
transient
jsp:plugin (uses jsp:params and jsp:fallback)
40. 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 Platform
POA (Portable Object Adapter)
Java Database Connectivity (JDBC)
Servlet
41. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
int
char
JavaBeans
42. Puts the code into a package
package
Page-centric architecture
goto
Java Media APIs
43. Indicates that a variable or class or method can be used by any other Java code.
assert
public
Update
final
44. A library than enables CORBA objects to locate and communicate with one another.
super
Servlet Chaining
ORB (Object Request Broker)
float
45. Enables the programmer to abbreviate the names of classes defined in a package.
import
boolean
void
enum
46. Indicates that a method doesn't return a value.
default
strictfp
void
do
47. Used to terminate the execution of the current JSP page and switch control to another resource
Servlet
double
volatile
jsp:forware Action element (with jsp:param)
48. Indicates that a value is a 32-bit whole number.
int
native
CORBA
double precision
49. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
Java Runtime Environment (JRE)
catch
throw
double
50. Introduces an interface which is like a class but less specific.
interface
transient
Java Applet Definition
Java Runtime Environment (JRE)