SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. 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.
super
DOM (Document Object Model)
goto
char
2. A self-reference
throws
this
OTS (Object Transaction Service)
byte
3. Introduces a path of execution to take when no case is a match in a switch statement.
Java Foundation Classes (JFC)
new
default
extends
4. Creates a newly defined type
enum
Java Runtime Environment (JRE)
package
Page-centric architecture
5. Introduces statements that are watched (during runtime) for things that can go wrong.
try
Declarations
default
Java Remote Method Invocation (RMI)
6. 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.
JDK (Java Development Kit)
Java Media APIs
Servlet
int
7. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
boolean
Java Native Interface
for
volatile
8. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JSP
final
Scriptlets
JavaBeans
9. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
import
Java Applet Definition
double
10. 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)
Tag Library Directive element
JavaBeans
Java Platform
11. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
class
extends
float
JavaCheck
12. The output of one servlet act as a input to another servlet.
do
wrapper class
Servlet Chaining
jsp:forware Action element (with jsp:param)
13. 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.
ORB (Object Request Broker)
Servlet container
jsp:forware Action element (with jsp:param)
Java Runtime Environment (JRE)
14. 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
boolean
implements
Servlet workings
throw
15. A protocol used for communication between CORBA object request brokers.
Servlet workings
JSP Beans
super
IIOP (Internet Inter-ORB Protocol)
16. Introduces the last will and testament of the statements in a try clause.
finally
OTS (Object Transaction Service)
POA (Portable Object Adapter)
Servlet workings
17. 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
JAR (Java Archive)
Java Applet Definition
if
Page Directive element
18. 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:forware Action element (with jsp:param)
Java Platform
DOM (Document Object Model)
JavaScript
19. Includes a file in the page
Include Directive element
protected
JBossn
Tag Library Directive element
20. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Include Directive element
enum
Java Native Interface
Servlet Aliasing
21. Useful only for small sites
strictfp
double
Page-centric architecture
Java Development Kit (JDK)
22. A tool for tracking and managing source file changes - written in Java.
native
Semaphore
Update
JavaSafe
23. Introduces one of several possible paths of execution in a switch statement.
jsp:forware Action element (with jsp:param)
case
this
throws
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
MVC Architecture
final
const
25. Creates an object from an existing class.
new
abstract
Update
Java Naming and Directory Interface (JNDI)
26. 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.
implements
boolean
finally
Java Remote Method Invocation (RMI)
27. 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.
jsp:plugin (uses jsp:params and jsp:fallback)
Jini Technology
synchronized
Java Database Connectivity (JDBC)
28. A tool for checking compliance of applications and applets to a specification.
protected
Servlet Aliasing
else
JavaCheck
29. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
new
goto
JavaCheck
native
30. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
boolean
JavaSafe
this
31. Tests to see whether a certain object comes from a certain class.
instanceof
Page Directive element
wrapper class
import
32. 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()
Semaphore
Java Remote Method Invocation (RMI)
Declarations
native
33. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Java Applet Definition
Expressions
jsp:include Action element (with jsp:param)
MVC Architecture
34. 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
javax.servlet.http.*
JavaCheck
wrapper class
MVC Architecture
35. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
Include Directive element
float
switch
36. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
static
MVC Architecture
do
for
37. Indicates that a method or constructor may pass the buck when an exception is thrown.
int
double
CORBA
throws
38. Indicates that a variable or method can be used only within a certain class.
private
JSP Beans
JavaSafe
extends
39. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
super
Java Native Interface
JavaSpaces
double precision
40. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Java Foundation Classes (JFC)
class
POA (Portable Object Adapter)
try
41. Basic code block of a JSP page
byte
char
JavaScript
Scriptlets
42. ______ 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
static
JavaScript
JSP
this
43. Introduces an interface which is like a class but less specific.
Servlet
interface
ORB (Object Request Broker)
POA (Portable Object Adapter)
44. Sets attributes and properties specific to the current JSP page
Java Database Connectivity (JDBC)
MVC Architecture
Page Directive element
IIOP (Internet Inter-ORB Protocol)
45. 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 Compatibility Kit (JCK)
CORBA
throw
super
46. Indicates that a variable or class or method can be used by any other Java code.
for
Page Directive element
switch
public
47. Puts the code into a package
if
default
Java Media Framework
package
48. A library than enables CORBA objects to locate and communicate with one another.
Java Naming and Directory Interface (JNDI)
JAR (Java Archive)
ORB (Object Request Broker)
private
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
import
Servlet container
abstract
50. Indicates that a value is a 32-bit whole number.
while
int
Java virtual machine
Scriptlets