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. Indicates that a variable or method can be used only within a certain class.
JAR (Java Archive)
private
Java Remote Method Invocation (RMI)
new
2. Indicates that a variable or method can be used in subclasses from another package.
do
Java Native Interface
long
protected
3. A class that wraps primitives - Integer or Boolean...
int
wrapper class
jsp:plugin (uses jsp:params and jsp:fallback)
while
4. Indicates that a variable or class or method can be used by any other Java code.
const
public
new
ORB (Object Request Broker)
5. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
default
strictfp
JSP
6. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Declarations
CORBA
instanceof
JavaSpaces
7. Ends execution of a method and possibly returns a value to the calling code.
return
for
Java Platform
private
8. Introduces statements that are executed when the condition in an if statement isn't true.
Page Directive element
Servlet container
Semaphore
else
9. Introduces statements that are watched (during runtime) for things that can go wrong.
package
try
Update
continue
10. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
switch
volatile
jsp:include Action element (with jsp:param)
11. 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.
synchronized
goto
Java Remote Method Invocation (RMI)
Jini Technology
12. 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.
JAR (Java Archive)
Java Development Kit (JDK)
goto
double precision
13. An opensource Java Application Server
this
JBossn
MVC Architecture
goto
14. The output of one servlet act as a input to another servlet.
Servlet Chaining
JavaBeans
catch
Tag Library Directive element
15. 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.
this
float
finally
Java Media Framework
16. 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
catch
jsp:plugin (uses jsp:params and jsp:fallback)
synchronized
JAR (Java Archive)
17. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
JSP Beans
Servlet
JavaBeans
18. 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()
const
assert
Java Development Kit (JDK)
Declarations
19. Indicates that a value is a 16-bit whole number.
Servlet container
short
return
Servlet
20. Introduces the last will and testament of the statements in a try clause.
transient
Servlet workings
super
finally
21. 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).
abstract
return
Java Platform
instanceof
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
volatile
OS principal
ORB (Object Request Broker)
JSP
23. 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
switch
throw
Servlet workings
assert
24. 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).
package
Java Development Kit (JDK)
Java virtual machine
static
25. 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 APIs
final
throw
for
26. Refers to the superclass of the code in which the word super appears.
abstract
super
JSP
static
27. 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
while
Servlet
28. 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 Foundation Classes (JFC)
Scriptlets
DTD (Document Type Definition)
const
29. Introduces a path of execution to take when no case is a match in a switch statement.
default
jsp:forware Action element (with jsp:param)
wrapper class
Java Applet Definition
30. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Scriptlets
Java Database Connectivity (JDBC)
float
interface
31. Indicates that a value is a 32-bit whole number.
int
switch
Include Directive element
public
32. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
throws
class
CORBA
implements
33. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
wrapper class
transient
strictfp
implements
34. 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.
volatile
finally
JavaScript
throw
35. Tests to see whether a certain object comes from a certain class.
short
instanceof
JAR (Java Archive)
JSP
36. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
Java Database Connectivity (JDBC)
Java Platform
super
switch
37. Two Servlet API packages: javax.servlet.* ___________
char
OS principal
case
javax.servlet.http.*
38. Used to generate HTML
new
jsp:plugin (uses jsp:params and jsp:fallback)
Java virtual machine
Jini Technology
39. Introduces a class
IIOP (Internet Inter-ORB Protocol)
class
DOM (Document Object Model)
byte
40. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
Expressions
throw
wrapper class
long
41. 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
else
Java Naming and Directory Interface (JNDI)
const
42. Useful only for small sites
Page-centric architecture
this
Java Remote Method Invocation (RMI)
JavaSpaces
43. 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
protected
MVC Architecture
new
Java Platform
44. A tool for checking compliance of applications and applets to a specification.
Page Directive element
JavaCheck
jsp:plugin (uses jsp:params and jsp:fallback)
enum
45. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
return
Servlet container
Semaphore
46. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
implements
switch
return
double precision
47. A set of Java APIs that provide CORBA (Common Object Request Broker Architecture) interoperability and connectivity capabilities for the J2EE platform. These capabilities enable J2EE applications to invoke operations on remote network services using
else
Update
Java Interface Definition Language (IDL)
Java Database Connectivity (JDBC)
48. Creates a newly defined type
instanceof
JavaSpaces
enum
protected
49. Includes a file in the page
Include Directive element
Update
throw
Page Directive element
50. Used to terminate the execution of the current JSP page and switch control to another resource
Servlet Chaining
jsp:forware Action element (with jsp:param)
Page Directive element
OTS (Object Transaction Service)