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 method doesn't return a value.
Java Interface Definition Language (IDL)
synchronized
void
assert
2. A tool for tracking and managing source file changes - written in Java.
JavaScript
JavaSafe
break
float
3. ______ 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
double precision
JSP
Servlet
Java Runtime Environment (JRE)
4. Introduces an interface which is like a class but less specific.
if
strictfp
return
interface
5. 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.
Declarations
int
while
JavaScript
6. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Java Media Framework
for
Servlet container
Servlet workings
7. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
ORB (Object Request Broker)
volatile
native
8. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Java Naming and Directory Interface (JNDI)
POA (Portable Object Adapter)
JAR (Java Archive)
Java Native Interface
9. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
goto
Tag Library Directive element
long
10. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
assert
new
JavaSpaces
11. Introduces the last will and testament of the statements in a try clause.
finally
extends
Java Native Interface
jsp:include Action element (with jsp:param)
12. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Tag Library Directive element
JavaSafe
public
Servlet Aliasing
13. 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.
double
Java Media Framework
char
Java Foundation Classes (JFC)
14. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
throws
strictfp
Java Native Interface
IIOP (Internet Inter-ORB Protocol)
15. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Semaphore
JAR (Java Archive)
final
CORBA
16. 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.
goto
Expressions
Jini Technology
JavaSpaces
17. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
jsp:plugin (uses jsp:params and jsp:fallback)
Update
Tag Library Directive element
do
18. 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
int
MVC Architecture
Tag Library Directive element
byte
19. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
JavaCheck
Update
double
public
20. Indicates that a value is a 32-bit whole number.
instanceof
int
DTD (Document Type Definition)
ORB (Object Request Broker)
21. Indicates that a variable or method can be used in subclasses from another package.
protected
default
long
JSP
22. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
Java Native Interface
catch
Servlet
23. Enables the programmer to abbreviate the names of classes defined in a package.
throws
import
Java Database Connectivity (JDBC)
super
24. Introduces a path of execution to take when no case is a match in a switch statement.
Servlet Chaining
Semaphore
Java Naming and Directory Interface (JNDI)
default
25. Indicates that a variable or class or method can be used by any other Java code.
MVC Architecture
volatile
float
public
26. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Servlet workings
try
JavaSpaces
javax.servlet.http.*
27. 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()
boolean
enum
Declarations
class
28. Keeps two threads from interfering with one another.
jsp:forware Action element (with jsp:param)
synchronized
break
throws
29. 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 virtual machine
else
Java Native Interface
Java Foundation Classes (JFC)
30. Indicates that a variable or method belongs to a class rather than to any object created from the class.
Java Database Connectivity (JDBC)
static
JDK (Java Development Kit)
const
31. Jumps out of a loop or switch.
jsp:include Action element (with jsp:param)
break
switch
assert
32. Creates an object from an existing class.
class
new
while
OTS (Object Transaction Service)
33. A principal native to the operating system on which the Java platform is executing.
OS principal
Java Database Connectivity (JDBC)
JSP
catch
34. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Tag Library Directive element
abstract
final
protected
35. 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)
JavaCheck
implements
ORB (Object Request Broker)
36. Creates a newly defined type
Java Compatibility Kit (JCK)
enum
Java Remote Method Invocation (RMI)
DTD (Document Type Definition)
37. Includes a new tag library into page - allows use of tags in page
Servlet
Tag Library Directive element
Java Compatibility Kit (JCK)
Java Remote Method Invocation (RMI)
38. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
DTD (Document Type Definition)
jsp:plugin (uses jsp:params and jsp:fallback)
jsp:include Action element (with jsp:param)
Semaphore
39. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
JSP
ORB (Object Request Broker)
DOM (Document Object Model)
Page-centric architecture
40. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
javax.servlet.http.*
interface
Update
double precision
41. A tool for checking compliance of applications and applets to a specification.
this
protected
assert
JavaCheck
42. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
finally
DOM (Document Object Model)
if
void
43. Introduces statements that are executed when the condition in an if statement isn't true.
Include Directive element
try
Java Native Interface
else
44. A protocol used for communication between CORBA object request brokers.
jsp:include Action element (with jsp:param)
short
IIOP (Internet Inter-ORB Protocol)
Java Applet Definition
45. 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
JDK (Java Development Kit)
Java Interface Definition Language (IDL)
jsp:include Action element (with jsp:param)
Servlet workings
46. The output of one servlet act as a input to another servlet.
Servlet Chaining
protected
private
package
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
Java Media APIs
char
POA (Portable Object Adapter)
Java Applet Definition
48. Introduces statements that are watched (during runtime) for things that can go wrong.
final
OS principal
try
JSP Beans
49. Ends execution of a method and possibly returns a value to the calling code.
const
Update
short
return
50. Useful only for small sites
super
CORBA
byte
Page-centric architecture