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. Jumps out of a loop or switch.
wrapper class
Servlet
break
return
2. A distributed object model for Java program to Java program in which the methods of remote objects written in the Java programming language can be invoked from other Java virtual machines1 - possibly on different hosts.
void
Java Remote Method Invocation (RMI)
throws
package
3. A principal native to the operating system on which the Java platform is executing.
OS principal
synchronized
try
IIOP (Internet Inter-ORB Protocol)
4. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
default
JAR (Java Archive)
abstract
Java virtual machine
5. Indicates that a variable or class or method can be used by any other Java code.
JavaSpaces
public
interface
JAR (Java Archive)
6. Creates a subclass
new
Servlet Chaining
extends
Java Foundation Classes (JFC)
7. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Java Media Framework
wrapper class
Include Directive element
float
8. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
int
float
double
Page Directive element
9. 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
Servlet workings
continue
MVC Architecture
return
10. 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.
package
instanceof
Jini Technology
DTD (Document Type Definition)
11. The output of one servlet act as a input to another servlet.
Java Database Connectivity (JDBC)
Servlet Chaining
short
char
12. Keeps two threads from interfering with one another.
package
synchronized
static
jsp:plugin (uses jsp:params and jsp:fallback)
13. Repeats some statements over and over again (as long as a condition is still true).
while
double
OTS (Object Transaction Service)
boolean
14. Introduces an interface which is like a class but less specific.
interface
strictfp
Java Media Framework
Include Directive element
15. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
implements
do
public
transient
16. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
instanceof
implements
JavaBeans
return
17. Creates a newly defined type
enum
Page Directive element
continue
import
18. Puts the code into a package
Java Runtime Environment (JRE)
package
public
JSP
19. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Java Native Interface
package
void
JSP Beans
20. Introduces statements that are watched (during runtime) for things that can go wrong.
try
Java Foundation Classes (JFC)
const
JavaBeans
21. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
do
POA (Portable Object Adapter)
Servlet Aliasing
Servlet container
22. Indicates that a method or constructor may pass the buck when an exception is thrown.
IIOP (Internet Inter-ORB Protocol)
Servlet workings
throws
Include Directive element
23. A protocol used for communication between CORBA object request brokers.
class
Java Foundation Classes (JFC)
Tag Library Directive element
IIOP (Internet Inter-ORB Protocol)
24. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
JBossn
try
MVC Architecture
25. Indicates that a variable or method can be used only within a certain class.
protected
private
implements
Expressions
26. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
static
Java Interface Definition Language (IDL)
Java Naming and Directory Interface (JNDI)
char
27. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
JavaCheck
JavaBeans
Java Database Connectivity (JDBC)
if
28. 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.
JBossn
Servlet
double
volatile
29. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
native
assert
else
30. Includes a new tag library into page - allows use of tags in page
Java Interface Definition Language (IDL)
native
Tag Library Directive element
Scriptlets
31. A test suite - a set of tools and other requirements used to certify a Java platform implementation conformant both to the applicable Java platform specifications and to Java Software reference implementations.
Servlet Chaining
enum
Java Compatibility Kit (JCK)
instanceof
32. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
default
OTS (Object Transaction Service)
Jini Technology
Semaphore
33. A library than enables CORBA objects to locate and communicate with one another.
double
POA (Portable Object Adapter)
Java Remote Method Invocation (RMI)
ORB (Object Request Broker)
34. A class that wraps primitives - Integer or Boolean...
return
assert
wrapper class
IIOP (Internet Inter-ORB Protocol)
35. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
new
boolean
IIOP (Internet Inter-ORB Protocol)
36. Sets attributes and properties specific to the current JSP page
DOM (Document Object Model)
switch
Java Platform
Page Directive element
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.
final
OS principal
Java Media APIs
switch
38. 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 Database Connectivity (JDBC)
Java Naming and Directory Interface (JNDI)
Java virtual machine
Jini Technology
39. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
extends
for
interface
POA (Portable Object Adapter)
40. Indicates that a value is a 64-bit whole number.
long
javax.servlet.http.*
OS principal
char
41. A tool for tracking and managing source file changes - written in Java.
JavaSafe
double precision
Page Directive element
Java Development Kit (JDK)
42. Introduces the last will and testament of the statements in a try clause.
JAR (Java Archive)
switch
finally
break
43. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Servlet Chaining
native
implements
return
44. Indicates that a method doesn't return a value.
class
interface
transient
void
45. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
Update
this
catch
46. Indicates that a value is a 32-bit whole number.
double precision
Scriptlets
OTS (Object Transaction Service)
int
47. CRUD: Create - Retrieve - ________ - Delete
Update
DTD (Document Type Definition)
long
Expressions
48. 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
Java Naming and Directory Interface (JNDI)
transient
javax.servlet.http.*
49. Imposes strict rules on the use of a variable by more than one thread at a time.
this
volatile
case
CORBA
50. 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.
Java Platform
JDK (Java Development Kit)
try
const