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. Tests to see whether a certain object comes from a certain class.
Java Foundation Classes (JFC)
implements
instanceof
import
2. Indicates that a value is either true or false in the Java sense.
Declarations
native
import
boolean
3. Ends execution of a method and possibly returns a value to the calling code.
Servlet
extends
return
Semaphore
4. 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.
throws
goto
Expressions
CORBA
5. A class that wraps primitives - Integer or Boolean...
wrapper class
IIOP (Internet Inter-ORB Protocol)
default
try
6. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
else
POA (Portable Object Adapter)
Semaphore
Servlet workings
7. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.
Java Development Kit (JDK)
long
super
Java Media Framework
8. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
boolean
while
Scriptlets
9. Creates a subclass
assert
Java Interface Definition Language (IDL)
wrapper class
extends
10. 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
finally
Servlet workings
native
static
11. Indicates that a variable or method can be used only within a certain class.
private
CORBA
OS principal
while
12. 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
boolean
float
const
13. Indicates that a method doesn't return a value.
throw
byte
new
void
14. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
assert
char
byte
15. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
Java Interface Definition Language (IDL)
return
float
16. Introduces statements that are watched (during runtime) for things that can go wrong.
const
try
Servlet Chaining
enum
17. An opensource Java Application Server
MVC Architecture
Java Compatibility Kit (JCK)
JavaScript
JBossn
18. Reuses the functionality from a previously defined interface.
interface
throw
implements
void
19. 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.
Java Interface Definition Language (IDL)
Servlet container
strictfp
Java Compatibility Kit (JCK)
20. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
javax.servlet.http.*
public
throw
double
21. Introduces statements that are executed when the condition in an if statement isn't true.
else
super
assert
Servlet workings
22. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
else
default
throws
23. Indicates that a value is a 64-bit whole number.
long
Java Foundation Classes (JFC)
JSP
MVC Architecture
24. Creates an object from an existing class.
switch
JBossn
new
JavaScript
25. 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.
const
Java Database Connectivity (JDBC)
double precision
Tag Library Directive element
26. 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.
short
volatile
if
Jini Technology
27. Imposes strict rules on the use of a variable by more than one thread at a time.
int
Page-centric architecture
transient
volatile
28. CRUD: Create - Retrieve - ________ - Delete
Update
volatile
Jini Technology
JAR (Java Archive)
29. 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.
jsp:plugin (uses jsp:params and jsp:fallback)
Java Database Connectivity (JDBC)
Java Remote Method Invocation (RMI)
Java Development Kit (JDK)
30. A tool for checking compliance of applications and applets to a specification.
JavaCheck
final
JBossn
Java Native Interface
31. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
if
abstract
int
MVC Architecture
32. A definition of the interfaces that permit CORBA objects to participate in transactions.
long
CORBA
OTS (Object Transaction Service)
Servlet Chaining
33. Used to terminate the execution of the current JSP page and switch control to another resource
volatile
catch
jsp:forware Action element (with jsp:param)
javax.servlet.http.*
34. Introduces a path of execution to take when no case is a match in a switch statement.
default
native
new
Servlet Aliasing
35. Introduces a class
Java Development Kit (JDK)
Page Directive element
class
throws
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
finally
interface
class
37. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Servlet Chaining
native
Java Interface Definition Language (IDL)
abstract
38. 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
new
finally
Java Applet Definition
public
39. Includes a file in the page
JavaSpaces
Include Directive element
Declarations
Scriptlets
40. 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)
Jini Technology
final
Java Compatibility Kit (JCK)
41. The output of one servlet act as a input to another servlet.
Servlet Chaining
finally
OTS (Object Transaction Service)
Servlet container
42. A special Java servlet-aware web server process.
OTS (Object Transaction Service)
JSP Beans
DTD (Document Type Definition)
Servlet container
43. A library than enables CORBA objects to locate and communicate with one another.
JavaScript
ORB (Object Request Broker)
Servlet
int
44. Basic code block of a JSP page
jsp:include Action element (with jsp:param)
jsp:forware Action element (with jsp:param)
abstract
Scriptlets
45. Consists of class libraries - a Java virtual machine (JVM) and class loader (which comprise the runtime environment) and a compiler - debugger and other tools (which comprise the development kit).
while
Java Naming and Directory Interface (JNDI)
this
Java Platform
46. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
static
if
synchronized
Java Naming and Directory Interface (JNDI)
47. 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 Media Framework
int
wrapper class
Java Media APIs
48. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
strictfp
return
JSP Beans
throws
49. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Servlet workings
Declarations
JavaSpaces
const
50. Enables the programmer to abbreviate the names of classes defined in a package.
package
POA (Portable Object Adapter)
import
JavaSpaces