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. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
wrapper class
interface
catch
Expressions
2. Indicates that a value is a 64-bit whole number.
JSP
Java Platform
public
long
3. Includes a new tag library into page - allows use of tags in page
double precision
Tag Library Directive element
throw
Servlet
4. Indicates that a variable or method can be used in subclasses from another package.
CORBA
protected
final
try
5. 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
javax.servlet.http.*
Java Interface Definition Language (IDL)
double
void
6. Used to generate HTML
JavaSpaces
Java Development Kit (JDK)
IIOP (Internet Inter-ORB Protocol)
jsp:plugin (uses jsp:params and jsp:fallback)
7. Jumps out of a loop or switch.
transient
break
Java Platform
jsp:forware Action element (with jsp:param)
8. Indicates that a variable or class or method can be used by any other Java code.
protected
public
if
instanceof
9. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
Servlet Aliasing
JBossn
JavaBeans
10. 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.
if
extends
volatile
Java Native Interface
11. 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 Compatibility Kit (JCK)
jsp:plugin (uses jsp:params and jsp:fallback)
Java Media APIs
Java Platform
12. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
CORBA
Java Native Interface
DTD (Document Type Definition)
13. 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)
implements
Scriptlets
JSP
14. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
if
JAR (Java Archive)
class
15. Basic code block of a JSP page
final
jsp:include Action element (with jsp:param)
if
Scriptlets
16. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
boolean
do
MVC Architecture
private
17. Creates a newly defined type
Update
enum
protected
Declarations
18. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
double
Expressions
enum
final
19. A tool for checking compliance of applications and applets to a specification.
const
Java Development Kit (JDK)
long
JavaCheck
20. 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
MVC Architecture
implements
Expressions
double precision
21. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
throw
Java Interface Definition Language (IDL)
JavaSpaces
JSP Beans
22. A protocol used for communication between CORBA object request brokers.
Servlet Aliasing
IIOP (Internet Inter-ORB Protocol)
implements
jsp:plugin (uses jsp:params and jsp:fallback)
23. A tool for tracking and managing source file changes - written in Java.
interface
JavaSafe
Jini Technology
double
24. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
DOM (Document Object Model)
javax.servlet.http.*
Update
Servlet workings
25. A self-reference
Java Applet Definition
this
DOM (Document Object Model)
package
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.
Java Media APIs
import
char
while
27. A class that wraps primitives - Integer or Boolean...
DTD (Document Type Definition)
JavaBeans
wrapper class
Servlet Chaining
28. Puts the code into a package
for
volatile
int
package
29. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
IIOP (Internet Inter-ORB Protocol)
double precision
jsp:plugin (uses jsp:params and jsp:fallback)
case
30. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
Java Compatibility Kit (JCK)
switch
interface
throw
31. Keeps two threads from interfering with one another.
Expressions
double precision
synchronized
Java Remote Method Invocation (RMI)
32. Introduces a class
class
Java Foundation Classes (JFC)
byte
Update
33. Imposes strict rules on the use of a variable by more than one thread at a time.
Java Naming and Directory Interface (JNDI)
boolean
volatile
Java Database Connectivity (JDBC)
34. Refers to the superclass of the code in which the word super appears.
assert
super
goto
Java Remote Method Invocation (RMI)
35. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
goto
catch
Servlet Aliasing
IIOP (Internet Inter-ORB Protocol)
36. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
throws
implements
abstract
catch
37. 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 Foundation Classes (JFC)
Java Database Connectivity (JDBC)
abstract
Declarations
38. Indicates that a variable or method can be used only within a certain class.
byte
if
javax.servlet.http.*
private
39. Tests the truth of a condition that the programmer believes is true.
Servlet Chaining
this
Expressions
assert
40. Ends execution of a method and possibly returns a value to the calling code.
long
return
throw
final
41. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Include Directive element
float
continue
double
42. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
int
transient
Servlet workings
package
43. Tests to see whether a certain object comes from a certain class.
Java Applet Definition
instanceof
new
static
44. A definition of the interfaces that permit CORBA objects to participate in transactions.
double
Java Platform
Page Directive element
OTS (Object Transaction Service)
45. Introduces statements that are watched (during runtime) for things that can go wrong.
do
Java Remote Method Invocation (RMI)
throw
try
46. A software development environment for writing applets and application in Java .
Java Database Connectivity (JDBC)
JDK (Java Development Kit)
extends
Include Directive element
47. 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()
Java virtual machine
Java Remote Method Invocation (RMI)
Declarations
native
48. 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.
class
case
Jini Technology
CORBA
49. 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.
Java Runtime Environment (JRE)
throw
char
return
50. A principal native to the operating system on which the Java platform is executing.
private
protected
OS principal
instanceof