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 principal native to the operating system on which the Java platform is executing.
Java Foundation Classes (JFC)
throw
OS principal
if
2. 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.
Servlet Aliasing
private
Java virtual machine
Java Runtime Environment (JRE)
3. Introduces statements that are watched (during runtime) for things that can go wrong.
protected
JBossn
strictfp
try
4. 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()
double precision
javax.servlet.http.*
Declarations
catch
5. Introduces statements that are executed when the condition in an if statement isn't true.
JBossn
break
wrapper class
else
6. Indicates that a variable or method can be used only within a certain class.
DTD (Document Type Definition)
boolean
OTS (Object Transaction Service)
private
7. Enables the programmer to abbreviate the names of classes defined in a package.
goto
JSP
Update
import
8. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
do
JAR (Java Archive)
Servlet Aliasing
float
9. Sets attributes and properties specific to the current JSP page
boolean
Page Directive element
Semaphore
CORBA
10. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
JSP
final
IIOP (Internet Inter-ORB Protocol)
package
11. Indicates that a value is an 8-bit whole number.
Java Media Framework
byte
strictfp
private
12. 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.
Java Interface Definition Language (IDL)
Java Remote Method Invocation (RMI)
Java Naming and Directory Interface (JNDI)
JBossn
13. 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.
while
Java Media APIs
Java Compatibility Kit (JCK)
JavaCheck
14. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
public
throw
Scriptlets
long
15. Indicates that a method or constructor may pass the buck when an exception is thrown.
Java Compatibility Kit (JCK)
Java Media Framework
throws
finally
16. ______ 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
instanceof
JSP
Servlet
break
17. Indicates that a value is a 16-bit whole number.
JavaCheck
short
Java Remote Method Invocation (RMI)
transient
18. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
JavaScript
DOM (Document Object Model)
Java Development Kit (JDK)
IIOP (Internet Inter-ORB Protocol)
19. Introduces a class
class
switch
jsp:forware Action element (with jsp:param)
final
20. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
float
volatile
Servlet container
21. A definition of the interfaces that permit CORBA objects to participate in transactions.
Jini Technology
final
OTS (Object Transaction Service)
JavaSafe
22. Tests to see whether a certain object comes from a certain class.
native
Servlet Chaining
boolean
instanceof
23. A self-reference
long
this
Jini Technology
Java virtual machine
24. Indicates that a variable or method can be used in subclasses from another package.
byte
interface
Include Directive element
protected
25. 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
jsp:plugin (uses jsp:params and jsp:fallback)
super
Java Platform
MVC Architecture
26. Indicates that a variable or method belongs to a class rather than to any object created from the class.
while
Java Platform
Java Media APIs
static
27. Repeats some statements over and over again (as long as a condition is still true).
Servlet workings
throws
while
for
28. Indicates that a value is either true or false in the Java sense.
boolean
JavaBeans
long
Java Compatibility Kit (JCK)
29. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
protected
JSP Beans
Page-centric architecture
synchronized
30. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
throws
native
POA (Portable Object Adapter)
super
31. A tool for tracking and managing source file changes - written in Java.
catch
new
Java Naming and Directory Interface (JNDI)
JavaSafe
32. A software development environment for writing applets and application in Java .
static
JDK (Java Development Kit)
Java Foundation Classes (JFC)
JSP Beans
33. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
do
CORBA
finally
transient
34. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Servlet workings
CORBA
JDK (Java Development Kit)
implements
35. A library than enables CORBA objects to locate and communicate with one another.
const
Include Directive element
Declarations
ORB (Object Request Broker)
36. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
long
implements
Tag Library Directive element
37. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
throw
Java Remote Method Invocation (RMI)
CORBA
if
38. 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
Java Interface Definition Language (IDL)
Java Runtime Environment (JRE)
MVC Architecture
Java Media Framework
39. Useful only for small sites
Page-centric architecture
strictfp
if
synchronized
40. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
package
else
POA (Portable Object Adapter)
Semaphore
41. Reuses the functionality from a previously defined interface.
implements
throws
new
abstract
42. Indicates that a method doesn't return a value.
super
void
Java Remote Method Invocation (RMI)
Page-centric architecture
43. A class that wraps primitives - Integer or Boolean...
JavaSafe
wrapper class
Servlet
try
44. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
this
Servlet Aliasing
instanceof
int
45. 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.
else
double precision
const
break
46. 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.
Servlet container
Update
Page Directive element
Servlet
47. 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.
Declarations
Java Database Connectivity (JDBC)
boolean
else
48. 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.
Jini Technology
Java Development Kit (JDK)
long
JavaScript
49. Refers to the superclass of the code in which the word super appears.
super
void
Java Compatibility Kit (JCK)
Scriptlets
50. Creates an object from an existing class.
Include Directive element
new
default
void