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. Basic code block of a JSP page
default
native
else
Scriptlets
2. 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
Include Directive element
break
JAR (Java Archive)
JBossn
3. 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.
Page-centric architecture
const
char
catch
4. A class that wraps primitives - Integer or Boolean...
default
wrapper class
break
byte
5. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
Include Directive element
Servlet Chaining
Java Compatibility Kit (JCK)
6. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
public
jsp:plugin (uses jsp:params and jsp:fallback)
instanceof
7. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
if
jsp:include Action element (with jsp:param)
Servlet Aliasing
import
8. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
package
catch
CORBA
short
9. Puts the code into a package
Java Runtime Environment (JRE)
break
package
enum
10. A tool for checking compliance of applications and applets to a specification.
Servlet
Java Media APIs
JavaCheck
Java Media Framework
11. A protocol used for communication between CORBA object request brokers.
IIOP (Internet Inter-ORB Protocol)
extends
double
jsp:include Action element (with jsp:param)
12. 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 Remote Method Invocation (RMI)
extends
char
break
13. A software development environment for writing applets and application in Java .
Java Interface Definition Language (IDL)
double precision
JDK (Java Development Kit)
final
14. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
JAR (Java Archive)
do
void
JavaCheck
15. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Java Applet Definition
Servlet Chaining
if
Page Directive element
16. A description of the structure and properties of a class of XML files.
IIOP (Internet Inter-ORB Protocol)
case
class
DTD (Document Type Definition)
17. Keeps two threads from interfering with one another.
enum
Servlet container
synchronized
double precision
18. Repeats some statements over and over again (as long as a condition is still true).
default
ORB (Object Request Broker)
JBossn
while
19. Two Servlet API packages: javax.servlet.* ___________
try
javax.servlet.http.*
Java Development Kit (JDK)
POA (Portable Object Adapter)
20. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Runtime Environment (JRE)
Java Foundation Classes (JFC)
new
Java Native Interface
21. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Jini Technology
Servlet Chaining
extends
double precision
22. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
instanceof
try
Java Runtime Environment (JRE)
JavaSpaces
23. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
char
jsp:include Action element (with jsp:param)
float
public
24. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
instanceof
abstract
Java virtual machine
strictfp
25. Introduces statements that are executed when the condition in an if statement isn't true.
jsp:plugin (uses jsp:params and jsp:fallback)
Servlet Chaining
jsp:include Action element (with jsp:param)
else
26. 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.
jsp:include Action element (with jsp:param)
while
Java Media APIs
package
27. Indicates that a value is either true or false in the Java sense.
static
Declarations
boolean
Semaphore
28. 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.
Scriptlets
throws
goto
protected
29. ______ 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
assert
transient
JSP
final
30. Introduces a class
class
Java Remote Method Invocation (RMI)
switch
OS principal
31. Useful only for small sites
Page-centric architecture
Java Foundation Classes (JFC)
break
implements
32. Jumps out of a loop or switch.
break
Java Development Kit (JDK)
import
interface
33. Refers to the superclass of the code in which the word super appears.
implements
super
import
goto
34. Indicates that a method or constructor may pass the buck when an exception is thrown.
Page Directive element
char
JavaCheck
throws
35. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
switch
void
javax.servlet.http.*
36. Creates a subclass
Servlet
protected
extends
Servlet Aliasing
37. Introduces statements that are watched (during runtime) for things that can go wrong.
Page-centric architecture
instanceof
Semaphore
try
38. 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
case
JBossn
jsp:plugin (uses jsp:params and jsp:fallback)
39. 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).
JSP
package
void
Java virtual machine
40. 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 Foundation Classes (JFC)
boolean
final
JDK (Java Development Kit)
41. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
Java Platform
protected
transient
42. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
byte
Expressions
Servlet Aliasing
OTS (Object Transaction Service)
43. A self-reference
enum
volatile
import
this
44. Indicates that a value is a 32-bit whole number.
byte
int
Declarations
ORB (Object Request Broker)
45. 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
private
Scriptlets
JAR (Java Archive)
46. Forces the abrupt end of the current loop iteration and begins another iteration.
static
Java Foundation Classes (JFC)
interface
continue
47. Creates a newly defined type
break
MVC Architecture
Java virtual machine
enum
48. Introduces one of several possible paths of execution in a switch statement.
POA (Portable Object Adapter)
Java virtual machine
Page Directive element
case
49. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
switch
Expressions
JBossn
short
50. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JSP Beans
if
double
Java Remote Method Invocation (RMI)