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 definition of the interfaces that permit CORBA objects to participate in transactions.
enum
abstract
JSP Beans
OTS (Object Transaction Service)
2. Forces the abrupt end of the current loop iteration and begins another iteration.
case
DTD (Document Type Definition)
continue
Jini Technology
3. 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
ORB (Object Request Broker)
Servlet container
Java Runtime Environment (JRE)
4. Introduces statements that are watched (during runtime) for things that can go wrong.
int
Java Applet Definition
try
JavaBeans
5. A subset of the Java Development Kit (JDK) for end-users and developers who want to redistribute the runtime environment alone. The Java runtime environment consists of the Java virtual machine1 - the Java core classes and supporting files.
public
jsp:plugin (uses jsp:params and jsp:fallback)
double
Java Runtime Environment (JRE)
6. A tool for tracking and managing source file changes - written in Java.
Java Platform
javax.servlet.http.*
jsp:plugin (uses jsp:params and jsp:fallback)
JavaSafe
7. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
CORBA
double
jsp:plugin (uses jsp:params and jsp:fallback)
int
8. A tool for checking compliance of applications and applets to a specification.
JavaCheck
OTS (Object Transaction Service)
Servlet
JavaSpaces
9. 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.
switch
abstract
jsp:include Action element (with jsp:param)
Servlet
10. Introduces an interface which is like a class but less specific.
interface
import
do
Tag Library Directive element
11. Introduces a class
class
while
JavaBeans
OTS (Object Transaction Service)
12. A Web scripting language that is used in both browsers and Web servers. Like all scripting languages it is used primarily to tie other components together or to accept user input.
JSP
JavaScript
import
JavaBeans
13. Indicates that a variable or method can be used in subclasses from another package.
byte
JavaSpaces
JAR (Java Archive)
protected
14. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
POA (Portable Object Adapter)
JAR (Java Archive)
final
goto
15. 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.
Java Interface Definition Language (IDL)
JavaScript
goto
Include Directive element
16. Indicates that a method doesn't return a value.
jsp:include Action element (with jsp:param)
public
double
void
17. Reuses the functionality from a previously defined interface.
implements
continue
import
Update
18. Enables the programmer to abbreviate the names of classes defined in a package.
strictfp
import
transient
Java Platform
19. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
Scriptlets
catch
Expressions
Java Platform
20. A set of APIs that assists with the interfacing to multiple naming and directory services.
Servlet Aliasing
IIOP (Internet Inter-ORB Protocol)
Java Naming and Directory Interface (JNDI)
Tag Library Directive element
21. A principal native to the operating system on which the Java platform is executing.
do
jsp:include Action element (with jsp:param)
OS principal
Java Development Kit (JDK)
22. 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.
Page-centric architecture
Java Media Framework
enum
IIOP (Internet Inter-ORB Protocol)
23. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
JavaScript
JavaSpaces
default
24. 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
byte
JSP
for
25. Used to terminate the execution of the current JSP page and switch control to another resource
default
return
Page-centric architecture
jsp:forware Action element (with jsp:param)
26. Indicates that a method or constructor may pass the buck when an exception is thrown.
jsp:forware Action element (with jsp:param)
throws
Java Foundation Classes (JFC)
Servlet container
27. CRUD: Create - Retrieve - ________ - Delete
Update
wrapper class
short
JavaSafe
28. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
Declarations
Java virtual machine
byte
throw
29. Jumps out of a loop or switch.
JDK (Java Development Kit)
JAR (Java Archive)
break
instanceof
30. Indicates that a variable or method can be used only within a certain class.
float
final
assert
private
31. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
throws
static
transient
Servlet Chaining
32. Two Servlet API packages: javax.servlet.* ___________
Declarations
double precision
IIOP (Internet Inter-ORB Protocol)
javax.servlet.http.*
33. Indicates that a value is an 8-bit whole number.
JSP Beans
import
break
byte
34. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
Java Foundation Classes (JFC)
JavaBeans
DTD (Document Type Definition)
35. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
catch
if
JavaScript
36. Useful only for small sites
Page-centric architecture
POA (Portable Object Adapter)
goto
public
37. A library than enables CORBA objects to locate and communicate with one another.
JavaSpaces
JSP
ORB (Object Request Broker)
private
38. Indicates that a value is a 64-bit whole number.
Java Platform
int
Semaphore
long
39. 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
Page Directive element
JAR (Java Archive)
Java virtual machine
JavaSpaces
40. A standard programming interface for writing Java native methods and embedding the JVM into native applications. The primary goal is binary compatibility of native method libraries across all JVM implementations on a given platform.
Java Native Interface
continue
Java Naming and Directory Interface (JNDI)
static
41. 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).
this
Java Platform
wrapper class
byte
42. Indicates that a value is a 16-bit whole number.
Java Applet Definition
OTS (Object Transaction Service)
short
Java Compatibility Kit (JCK)
43. 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
else
JDK (Java Development Kit)
Servlet workings
Java Foundation Classes (JFC)
44. A self-reference
this
MVC Architecture
Servlet workings
catch
45. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Jini Technology
JavaBeans
public
return
46. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
goto
MVC Architecture
Servlet Aliasing
else
47. 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
JSP
native
Java Applet Definition
extends
48. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
float
int
super
49. Tests to see whether a certain object comes from a certain class.
catch
instanceof
int
Java Runtime Environment (JRE)
50. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
wrapper class
Expressions
void
Java Database Connectivity (JDBC)