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 a class
class
Include Directive element
Semaphore
Java Applet Definition
2. Useful only for small sites
Servlet container
const
Page-centric architecture
implements
3. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Page-centric architecture
DOM (Document Object Model)
Scriptlets
long
4. Introduces the last will and testament of the statements in a try clause.
POA (Portable Object Adapter)
instanceof
finally
extends
5. Used to terminate the execution of the current JSP page and switch control to another resource
Java Runtime Environment (JRE)
throw
finally
jsp:forware Action element (with jsp:param)
6. Introduces one of several possible paths of execution in a switch statement.
strictfp
case
for
jsp:forware Action element (with jsp:param)
7. 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.
native
Java Remote Method Invocation (RMI)
try
throws
8. 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.
JavaScript
super
void
static
9. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
try
Servlet
Java Development Kit (JDK)
10. Reuses the functionality from a previously defined interface.
implements
package
Java virtual machine
int
11. Puts the code into a package
Declarations
package
Java Compatibility Kit (JCK)
jsp:forware Action element (with jsp:param)
12. Repeats some statements over and over again (as long as a condition is still true).
while
Jini Technology
Declarations
return
13. A special Java servlet-aware web server process.
JavaSafe
do
OS principal
Servlet container
14. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
break
JDK (Java Development Kit)
boolean
double
15. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Java Interface Definition Language (IDL)
CORBA
void
else
16. A class that wraps primitives - Integer or Boolean...
public
catch
wrapper class
Servlet container
17. An opensource Java Application Server
Expressions
case
JBossn
CORBA
18. Includes a file in the page
Include Directive element
OTS (Object Transaction Service)
protected
int
19. Indicates that a value is a 32-bit whole number.
goto
int
double
volatile
20. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
assert
void
Servlet workings
JavaBeans
21. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
abstract
Java Development Kit (JDK)
this
22. 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
try
Scriptlets
JAR (Java Archive)
Include Directive element
23. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
transient
break
final
for
24. Sets attributes and properties specific to the current JSP page
implements
IIOP (Internet Inter-ORB Protocol)
Page Directive element
throws
25. 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
Java Media APIs
catch
const
26. Basic code block of a JSP page
Servlet Chaining
IIOP (Internet Inter-ORB Protocol)
Scriptlets
JDK (Java Development Kit)
27. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
try
Include Directive element
Java Foundation Classes (JFC)
28. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
protected
Page-centric architecture
Java Media Framework
native
29. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
jsp:include Action element (with jsp:param)
Semaphore
boolean
javax.servlet.http.*
30. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
extends
Update
throw
strictfp
31. Two Servlet API packages: javax.servlet.* ___________
Servlet Aliasing
volatile
javax.servlet.http.*
class
32. Indicates that a value is a 16-bit whole number.
short
instanceof
extends
finally
33. 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()
JavaSpaces
IIOP (Internet Inter-ORB Protocol)
Declarations
JavaCheck
34. 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.
assert
import
Servlet
default
35. Creates a newly defined type
super
enum
default
throws
36. 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.
Servlet workings
Java Database Connectivity (JDBC)
super
wrapper class
37. 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.
this
Java Media APIs
Java Compatibility Kit (JCK)
goto
38. 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.
catch
Java Compatibility Kit (JCK)
continue
JavaSafe
39. Creates an object from an existing class.
enum
import
new
boolean
40. 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.
extends
Java Runtime Environment (JRE)
throws
JavaScript
41. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
Jini Technology
this
final
42. 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.
Update
static
Declarations
Java Media Framework
43. 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 virtual machine
DOM (Document Object Model)
javax.servlet.http.*
44. Indicates that a value is either true or false in the Java sense.
boolean
implements
package
javax.servlet.http.*
45. Jumps out of a loop or switch.
continue
Java Applet Definition
else
break
46. Indicates that a variable or method can be used only within a certain class.
private
byte
Java Foundation Classes (JFC)
Expressions
47. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
char
POA (Portable Object Adapter)
double
Expressions
48. Introduces a path of execution to take when no case is a match in a switch statement.
JavaScript
default
Semaphore
MVC Architecture
49. A protocol used for communication between CORBA object request brokers.
while
IIOP (Internet Inter-ORB Protocol)
this
MVC Architecture
50. A tool for tracking and managing source file changes - written in Java.
Scriptlets
CORBA
Java virtual machine
JavaSafe