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. Indicates that a value is a 16-bit whole number.
continue
Java Platform
short
package
2. 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.
Expressions
javax.servlet.http.*
break
goto
3. 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.
byte
Java Media APIs
IIOP (Internet Inter-ORB Protocol)
Java Development Kit (JDK)
4. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
JSP Beans
double
Jini Technology
import
5. Indicates that a variable or method can be used only within a certain class.
private
while
Page Directive element
JSP
6. The output of one servlet act as a input to another servlet.
Servlet Chaining
JBossn
javax.servlet.http.*
jsp:plugin (uses jsp:params and jsp:fallback)
7. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
float
Java Compatibility Kit (JCK)
while
POA (Portable Object Adapter)
8. 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.
Page Directive element
Jini Technology
new
Java Media Framework
9. Sets attributes and properties specific to the current JSP page
Java Remote Method Invocation (RMI)
const
break
Page Directive element
10. A special Java servlet-aware web server process.
Java Media APIs
synchronized
Servlet container
void
11. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
short
DTD (Document Type Definition)
transient
byte
12. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
DOM (Document Object Model)
Java Compatibility Kit (JCK)
jsp:forware Action element (with jsp:param)
13. A protocol used for communication between CORBA object request brokers.
interface
IIOP (Internet Inter-ORB Protocol)
break
catch
14. 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()
final
Declarations
Semaphore
OTS (Object Transaction Service)
15. A description of the structure and properties of a class of XML files.
MVC Architecture
byte
DTD (Document Type Definition)
Declarations
16. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Declarations
for
Servlet Aliasing
const
17. A definition of the interfaces that permit CORBA objects to participate in transactions.
continue
Page Directive element
OTS (Object Transaction Service)
abstract
18. A tool for checking compliance of applications and applets to a specification.
Update
Semaphore
class
JavaCheck
19. 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.
Servlet
class
Java Runtime Environment (JRE)
char
20. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Java Development Kit (JDK)
switch
class
double precision
21. 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
Declarations
super
double precision
JAR (Java Archive)
22. Indicates that a method doesn't return a value.
const
void
Java virtual machine
throw
23. 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
protected
else
Java Development Kit (JDK)
24. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
case
Java Development Kit (JDK)
throws
25. A class that wraps primitives - Integer or Boolean...
public
volatile
wrapper class
IIOP (Internet Inter-ORB Protocol)
26. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
class
final
Java Native Interface
interface
27. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
Java Foundation Classes (JFC)
public
void
28. Indicates that a value is an 8-bit whole number.
transient
boolean
new
byte
29. A library than enables CORBA objects to locate and communicate with one another.
class
ORB (Object Request Broker)
try
Java Runtime Environment (JRE)
30. Puts the code into a package
package
Java Runtime Environment (JRE)
Servlet workings
char
31. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
OTS (Object Transaction Service)
transient
Java Platform
32. Introduces a class
class
Servlet container
break
DTD (Document Type Definition)
33. 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.
Include Directive element
JAR (Java Archive)
JavaScript
class
34. Two Servlet API packages: javax.servlet.* ___________
float
Scriptlets
javax.servlet.http.*
final
35. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
JavaSpaces
synchronized
char
transient
36. 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
Semaphore
Java Runtime Environment (JRE)
switch
37. Indicates that a method or constructor may pass the buck when an exception is thrown.
JSP
Java Media Framework
do
throws
38. Indicates that a value is either true or false in the Java sense.
extends
ORB (Object Request Broker)
Java Compatibility Kit (JCK)
boolean
39. Introduces the last will and testament of the statements in a try clause.
byte
abstract
JavaBeans
finally
40. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
JDK (Java Development Kit)
super
if
static
41. ______ 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
JDK (Java Development Kit)
JSP
Java Interface Definition Language (IDL)
Declarations
42. 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.
Jini Technology
JAR (Java Archive)
const
boolean
43. Tests to see whether a certain object comes from a certain class.
instanceof
Servlet container
JavaBeans
Tag Library Directive element
44. 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.
throws
Java Database Connectivity (JDBC)
Java Compatibility Kit (JCK)
goto
45. Creates an object from an existing class.
throws
finally
Include Directive element
new
46. Indicates that a variable or method can be used in subclasses from another package.
Servlet container
return
Servlet Chaining
protected
47. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
synchronized
catch
Include Directive element
finally
48. Introduces a path of execution to take when no case is a match in a switch statement.
default
OTS (Object Transaction Service)
assert
Tag Library Directive element
49. Creates a newly defined type
JDK (Java Development Kit)
enum
assert
strictfp
50. Introduces statements that are watched (during runtime) for things that can go wrong.
Java Media Framework
Page-centric architecture
try
JDK (Java Development Kit)