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. Includes a file in the page
Include Directive element
Update
else
finally
2. Indicates that a value is either true or false in the Java sense.
boolean
IIOP (Internet Inter-ORB Protocol)
throw
static
3. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
static
JSP Beans
break
JavaBeans
4. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Remote Method Invocation (RMI)
static
transient
switch
5. A protocol used for communication between CORBA object request brokers.
Java Remote Method Invocation (RMI)
IIOP (Internet Inter-ORB Protocol)
finally
case
6. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
short
final
public
7. A class that wraps primitives - Integer or Boolean...
JavaSpaces
wrapper class
JavaCheck
goto
8. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
goto
CORBA
float
try
9. Repeats some statements over and over again (as long as a condition is still true).
this
final
JAR (Java Archive)
while
10. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
Semaphore
goto
import
11. Keeps two threads from interfering with one another.
interface
synchronized
catch
JavaCheck
12. A tool for checking compliance of applications and applets to a specification.
JavaCheck
class
Servlet Chaining
JSP
13. A definition of the interfaces that permit CORBA objects to participate in transactions.
Java Compatibility Kit (JCK)
Semaphore
catch
OTS (Object Transaction Service)
14. 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)
double
int
short
15. Indicates that a variable or class or method can be used by any other Java code.
public
float
byte
Java Runtime Environment (JRE)
16. Used to generate HTML
extends
finally
jsp:plugin (uses jsp:params and jsp:fallback)
while
17. Introduces statements that are watched (during runtime) for things that can go wrong.
try
implements
DOM (Document Object Model)
case
18. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
DOM (Document Object Model)
Java Applet Definition
const
Include Directive element
19. Introduces a path of execution to take when no case is a match in a switch statement.
Java Media APIs
default
goto
jsp:plugin (uses jsp:params and jsp:fallback)
20. 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.
goto
Servlet workings
Java virtual machine
JBossn
21. Indicates that a variable or method can be used only within a certain class.
Expressions
private
abstract
DTD (Document Type Definition)
22. ______ 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
switch
JSP
case
23. Puts the code into a package
short
package
Scriptlets
POA (Portable Object Adapter)
24. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
ORB (Object Request Broker)
Servlet Aliasing
throw
void
25. Used to terminate the execution of the current JSP page and switch control to another resource
IIOP (Internet Inter-ORB Protocol)
Servlet Chaining
jsp:forware Action element (with jsp:param)
int
26. A principal native to the operating system on which the Java platform is executing.
Jini Technology
void
finally
OS principal
27. Basic code block of a JSP page
Include Directive element
do
public
Scriptlets
28. 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()
JavaCheck
case
Servlet Chaining
Declarations
29. Creates an object from an existing class.
import
Java Compatibility Kit (JCK)
new
class
30. Creates a subclass
JavaBeans
case
extends
try
31. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
package
Java Platform
Servlet Chaining
32. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
POA (Portable Object Adapter)
break
Java Development Kit (JDK)
abstract
33. Sets attributes and properties specific to the current JSP page
new
Page Directive element
Java Foundation Classes (JFC)
JavaCheck
34. Indicates that a variable or method belongs to a class rather than to any object created from the class.
catch
return
static
byte
35. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
synchronized
void
CORBA
final
36. Tests to see whether a certain object comes from a certain class.
instanceof
JavaCheck
MVC Architecture
char
37. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
else
break
Include Directive element
38. Indicates that a method or constructor may pass the buck when an exception is thrown.
byte
Java Media APIs
throws
catch
39. Indicates that a variable or method can be used in subclasses from another package.
super
float
interface
protected
40. 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).
Java virtual machine
JAR (Java Archive)
package
jsp:plugin (uses jsp:params and jsp:fallback)
41. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
JSP
byte
native
continue
42. A tool for tracking and managing source file changes - written in Java.
Java Foundation Classes (JFC)
DOM (Document Object Model)
JavaSafe
while
43. Refers to the superclass of the code in which the word super appears.
strictfp
super
Expressions
Java Naming and Directory Interface (JNDI)
44. Enables the programmer to abbreviate the names of classes defined in a package.
import
throw
Java Compatibility Kit (JCK)
default
45. Introduces an interface which is like a class but less specific.
interface
JavaCheck
Java Development Kit (JDK)
long
46. This separates the content presentation (View) from the underlying business operations/content generation (Model) using infrastructure/controller Servlet (Controller) which exists between the client browser and the JSP/Servlet-generated pages. Contro
volatile
char
implements
MVC Architecture
47. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java Runtime Environment (JRE)
Semaphore
else
float
48. 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
Java Platform
return
default
Java Applet Definition
49. 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
DOM (Document Object Model)
private
Semaphore
50. Indicates that a value is a 32-bit whole number.
Java Native Interface
int
JBossn
Page Directive element