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. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
throws
try
ORB (Object Request Broker)
2. Indicates that a method or constructor may pass the buck when an exception is thrown.
Java Native Interface
finally
throws
IIOP (Internet Inter-ORB Protocol)
3. Basic code block of a JSP page
Semaphore
ORB (Object Request Broker)
Scriptlets
Include Directive element
4. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
long
break
native
static
5. Indicates that a variable or class or method can be used by any other Java code.
Java Applet Definition
Java Media Framework
short
public
6. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
ORB (Object Request Broker)
switch
Java virtual machine
break
7. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
synchronized
Java Foundation Classes (JFC)
long
JSP Beans
8. 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.
DTD (Document Type Definition)
Java Native Interface
throw
Jini Technology
9. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
throw
private
Java Applet Definition
10. A tool for checking compliance of applications and applets to a specification.
strictfp
JavaCheck
Java Applet Definition
DTD (Document Type Definition)
11. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Java Naming and Directory Interface (JNDI)
OTS (Object Transaction Service)
for
Servlet container
12. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
switch
Semaphore
Servlet workings
strictfp
13. Enables the programmer to abbreviate the names of classes defined in a package.
Servlet
JSP
Java Native Interface
import
14. Imposes strict rules on the use of a variable by more than one thread at a time.
Page Directive element
Java Naming and Directory Interface (JNDI)
this
volatile
15. A protocol used for communication between CORBA object request brokers.
public
IIOP (Internet Inter-ORB Protocol)
Page Directive element
Jini Technology
16. Indicates that a value is a 16-bit whole number.
short
do
public
case
17. Forces the abrupt end of the current loop iteration and begins another iteration.
finally
DOM (Document Object Model)
default
continue
18. 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
MVC Architecture
Java Interface Definition Language (IDL)
Servlet Aliasing
JavaSafe
19. A set of APIs that assists with the interfacing to multiple naming and directory services.
short
Java Naming and Directory Interface (JNDI)
Java Interface Definition Language (IDL)
Java Database Connectivity (JDBC)
20. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
abstract
Java Platform
float
Expressions
21. Tests the truth of a condition that the programmer believes is true.
assert
super
boolean
default
22. Introduces statements that are executed when the condition in an if statement isn't true.
else
jsp:plugin (uses jsp:params and jsp:fallback)
do
transient
23. Reuses the functionality from a previously defined interface.
Java Naming and Directory Interface (JNDI)
volatile
goto
implements
24. 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
short
throws
MVC Architecture
Expressions
25. A definition of the interfaces that permit CORBA objects to participate in transactions.
Jini Technology
Page Directive element
OTS (Object Transaction Service)
double
26. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Declarations
double precision
JSP Beans
protected
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()
jsp:include Action element (with jsp:param)
Declarations
wrapper class
native
28. Creates an object from an existing class.
new
Java Runtime Environment (JRE)
Java Platform
Java Remote Method Invocation (RMI)
29. 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 Foundation Classes (JFC)
Java Development Kit (JDK)
public
JavaSafe
30. Introduces an interface which is like a class but less specific.
interface
wrapper class
Java Compatibility Kit (JCK)
jsp:forware Action element (with jsp:param)
31. CRUD: Create - Retrieve - ________ - Delete
extends
finally
this
Update
32. Introduces one of several possible paths of execution in a switch statement.
case
Declarations
private
JavaScript
33. Introduces statements that are watched (during runtime) for things that can go wrong.
try
Scriptlets
JBossn
jsp:plugin (uses jsp:params and jsp:fallback)
34. Includes a file in the page
public
javax.servlet.http.*
Include Directive element
native
35. Includes a new tag library into page - allows use of tags in page
JSP Beans
Java Database Connectivity (JDBC)
package
Tag Library Directive element
36. Similar to the include Directive but can pass information to the included resource
interface
Java Media APIs
throws
jsp:include Action element (with jsp:param)
37. 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
void
const
implements
JAR (Java Archive)
38. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
jsp:forware Action element (with jsp:param)
continue
double
Java Native Interface
39. Ends execution of a method and possibly returns a value to the calling code.
return
OS principal
JavaScript
Include Directive element
40. A principal native to the operating system on which the Java platform is executing.
this
OS principal
JavaScript
Declarations
41. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
break
OS principal
Expressions
Java Native Interface
42. Repeats some statements over and over again (as long as a condition is still true).
while
void
default
Scriptlets
43. Indicates that a variable or method can be used only within a certain class.
for
Java Naming and Directory Interface (JNDI)
Page-centric architecture
private
44. Indicates that a method doesn't return a value.
Java Media Framework
void
extends
JavaSpaces
45. Puts the code into a package
package
assert
JavaSpaces
double precision
46. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
POA (Portable Object Adapter)
Semaphore
transient
try
47. Useful only for small sites
const
Page-centric architecture
while
private
48. An opensource Java Application Server
Java Applet Definition
JBossn
enum
synchronized
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.
assert
continue
return
Java Runtime Environment (JRE)
50. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
abstract
Java Database Connectivity (JDBC)
for
strictfp