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 value is a 16-bit whole number.
short
final
double precision
extends
2. Ends execution of a method and possibly returns a value to the calling code.
protected
DOM (Document Object Model)
return
throw
3. 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
const
Java Applet Definition
JavaSafe
void
4. Indicates that a variable or class or method can be used by any other Java code.
Servlet
short
public
DOM (Document Object Model)
5. 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.
wrapper class
Servlet Chaining
Java Native Interface
Java Runtime Environment (JRE)
6. 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)
short
char
static
7. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
byte
JavaSafe
extends
double
8. A description of the structure and properties of a class of XML files.
switch
Java Foundation Classes (JFC)
DTD (Document Type Definition)
Declarations
9. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
this
import
Java Media Framework
10. 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.
this
JBossn
Servlet
double precision
11. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
JavaCheck
byte
Servlet Chaining
12. Enables the programmer to abbreviate the names of classes defined in a package.
transient
byte
import
Java Compatibility Kit (JCK)
13. Sets attributes and properties specific to the current JSP page
Page Directive element
for
assert
Java Database Connectivity (JDBC)
14. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
package
OTS (Object Transaction Service)
for
JSP
15. Creates an object from an existing class.
new
instanceof
implements
abstract
16. Tests the truth of a condition that the programmer believes is true.
Tag Library Directive element
Java virtual machine
assert
JAR (Java Archive)
17. Introduces one of several possible paths of execution in a switch statement.
case
jsp:forware Action element (with jsp:param)
ORB (Object Request Broker)
long
18. A definition of the interfaces that permit CORBA objects to participate in transactions.
strictfp
OTS (Object Transaction Service)
JavaCheck
Java Foundation Classes (JFC)
19. Indicates that a value is a 64-bit whole number.
Servlet workings
while
long
extends
20. 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.
IIOP (Internet Inter-ORB Protocol)
long
Java Foundation Classes (JFC)
JavaScript
21. The output of one servlet act as a input to another servlet.
Java Database Connectivity (JDBC)
Servlet Chaining
for
JavaScript
22. A software development environment for writing applets and application in Java .
Java Development Kit (JDK)
throws
JDK (Java Development Kit)
JavaBeans
23. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JSP Beans
switch
Update
throw
24. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
throw
final
Java Interface Definition Language (IDL)
Java virtual machine
25. Introduces the last will and testament of the statements in a try clause.
case
goto
finally
Tag Library Directive element
26. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Java Platform
abstract
native
Servlet container
27. 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.
this
abstract
do
Jini Technology
28. 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()
JavaScript
return
Declarations
for
29. A tool for tracking and managing source file changes - written in Java.
POA (Portable Object Adapter)
Servlet Aliasing
JavaSafe
while
30. Introduces a path of execution to take when no case is a match in a switch statement.
default
JavaBeans
volatile
CORBA
31. 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.
Java Foundation Classes (JFC)
return
Java Compatibility Kit (JCK)
Servlet container
32. Two Servlet API packages: javax.servlet.* ___________
short
double precision
for
javax.servlet.http.*
33. CRUD: Create - Retrieve - ________ - Delete
super
Page Directive element
Update
for
34. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Java Compatibility Kit (JCK)
double
Java Native Interface
do
35. Puts the code into a package
transient
package
char
static
36. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
if
catch
JavaScript
Servlet Chaining
37. Useful only for small sites
synchronized
Declarations
Page-centric architecture
catch
38. Indicates that a value is a 32-bit whole number.
int
switch
OTS (Object Transaction Service)
DOM (Document Object Model)
39. Includes a file in the page
default
Include Directive element
instanceof
DTD (Document Type Definition)
40. Includes a new tag library into page - allows use of tags in page
Java Interface Definition Language (IDL)
super
interface
Tag Library Directive element
41. 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.
do
static
break
Java Remote Method Invocation (RMI)
42. Repeats some statements over and over again (as long as a condition is still true).
try
native
while
JSP
43. Consists of class libraries - a Java virtual machine (JVM) and class loader (which comprise the runtime environment) and a compiler - debugger and other tools (which comprise the development kit).
const
Java Platform
JSP Beans
return
44. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
CORBA
double precision
JSP Beans
Expressions
45. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
JavaSpaces
int
OS principal
46. Keeps two threads from interfering with one another.
Jini Technology
enum
synchronized
wrapper class
47. Creates a newly defined type
if
package
return
enum
48. Tests to see whether a certain object comes from a certain class.
package
finally
instanceof
Java Native Interface
49. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
JAR (Java Archive)
DOM (Document Object Model)
Semaphore
JDK (Java Development Kit)
50. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
JavaScript
jsp:forware Action element (with jsp:param)
float
goto