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 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).
char
Java virtual machine
Java Applet Definition
jsp:plugin (uses jsp:params and jsp:fallback)
2. 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()
MVC Architecture
Declarations
Jini Technology
Java Applet Definition
3. Creates a subclass
package
double precision
int
extends
4. 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
JavaSpaces
default
JavaScript
5. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
instanceof
final
MVC Architecture
JDK (Java Development Kit)
6. Indicates that a method doesn't return a value.
double precision
wrapper class
jsp:include Action element (with jsp:param)
void
7. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
return
const
Java Compatibility Kit (JCK)
8. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
static
double precision
IIOP (Internet Inter-ORB Protocol)
new
9. Introduces the last will and testament of the statements in a try clause.
JDK (Java Development Kit)
Java Interface Definition Language (IDL)
boolean
finally
10. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Java Compatibility Kit (JCK)
Java Platform
throws
DOM (Document Object Model)
11. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
instanceof
Java Media Framework
volatile
12. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
JavaSafe
Java Media APIs
Expressions
13. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Semaphore
Scriptlets
package
break
14. A library than enables CORBA objects to locate and communicate with one another.
implements
long
CORBA
ORB (Object Request Broker)
15. 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 Runtime Environment (JRE)
throw
Java Development Kit (JDK)
continue
16. Introduces an interface which is like a class but less specific.
interface
Java Database Connectivity (JDBC)
Servlet workings
Include Directive element
17. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Declarations
int
char
synchronized
18. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Development Kit (JDK)
transient
JavaScript
OTS (Object Transaction Service)
19. A tool for tracking and managing source file changes - written in Java.
Tag Library Directive element
JSP
jsp:include Action element (with jsp:param)
JavaSafe
20. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
Java Media APIs
default
double
21. Used to terminate the execution of the current JSP page and switch control to another resource
byte
case
private
jsp:forware Action element (with jsp:param)
22. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
switch
JSP Beans
super
JavaSafe
23. Basic code block of a JSP page
throw
MVC Architecture
JavaScript
Scriptlets
24. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
JSP
Servlet Aliasing
final
throw
25. A software development environment for writing applets and application in Java .
CORBA
Java virtual machine
Include Directive element
JDK (Java Development Kit)
26. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
POA (Portable Object Adapter)
jsp:include Action element (with jsp:param)
for
DOM (Document Object Model)
27. Servlet is: loaded by servlet container when 1st requested; is then forwarded the user's request; processes the user's request; returns the response back to the servlet container. Servlet container sends this response back to the user. Servlet stays
implements
ORB (Object Request Broker)
JavaScript
Servlet workings
28. Refers to the superclass of the code in which the word super appears.
Page-centric architecture
char
Java Platform
super
29. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
synchronized
this
void
30. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
JAR (Java Archive)
javax.servlet.http.*
transient
catch
31. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
void
IIOP (Internet Inter-ORB Protocol)
float
DTD (Document Type Definition)
32. ______ 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
enum
JDK (Java Development Kit)
JSP
transient
33. A special Java servlet-aware web server process.
Servlet container
JavaSafe
Java Foundation Classes (JFC)
while
34. Includes a new tag library into page - allows use of tags in page
Tag Library Directive element
Page Directive element
import
double
35. Tests to see whether a certain object comes from a certain class.
Java Media Framework
protected
Java Compatibility Kit (JCK)
instanceof
36. A protocol used for communication between CORBA object request brokers.
Java Interface Definition Language (IDL)
assert
IIOP (Internet Inter-ORB Protocol)
protected
37. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
enum
protected
switch
break
38. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
MVC Architecture
JavaSpaces
Declarations
if
39. Indicates that a variable or method can be used only within a certain class.
Servlet container
private
Java Compatibility Kit (JCK)
JSP
40. Enables the programmer to abbreviate the names of classes defined in a package.
short
jsp:forware Action element (with jsp:param)
import
finally
41. Indicates that a value is either true or false in the Java sense.
boolean
Page Directive element
Page-centric architecture
instanceof
42. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
static
Java Applet Definition
JavaBeans
for
43. A class that wraps primitives - Integer or Boolean...
DTD (Document Type Definition)
static
MVC Architecture
wrapper class
44. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
package
POA (Portable Object Adapter)
byte
jsp:forware Action element (with jsp:param)
45. A principal native to the operating system on which the Java platform is executing.
Page Directive element
OS principal
strictfp
IIOP (Internet Inter-ORB Protocol)
46. 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
JAR (Java Archive)
final
Java Native Interface
switch
47. Two Servlet API packages: javax.servlet.* ___________
jsp:include Action element (with jsp:param)
JSP Beans
Java Remote Method Invocation (RMI)
javax.servlet.http.*
48. Imposes strict rules on the use of a variable by more than one thread at a time.
JDK (Java Development Kit)
volatile
static
assert
49. 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.
Java Runtime Environment (JRE)
JDK (Java Development Kit)
Java Media APIs
boolean
50. Similar to the include Directive but can pass information to the included resource
throw
double
jsp:include Action element (with jsp:param)
if