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. Jumps out of a loop or switch.
break
DOM (Document Object Model)
javax.servlet.http.*
double
2. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
MVC Architecture
CORBA
Jini Technology
static
3. Forces the abrupt end of the current loop iteration and begins another iteration.
Java Platform
short
continue
OS principal
4. Introduces statements that are executed when the condition in an if statement isn't true.
int
private
throw
else
5. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
if
JavaSpaces
double precision
super
6. The output of one servlet act as a input to another servlet.
char
do
break
Servlet Chaining
7. A tool for checking compliance of applications and applets to a specification.
Page-centric architecture
throw
JavaCheck
void
8. 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 Remote Method Invocation (RMI)
default
double precision
instanceof
9. A software development environment for writing applets and application in Java .
else
JDK (Java Development Kit)
while
catch
10. Indicates that a method or constructor may pass the buck when an exception is thrown.
Include Directive element
public
throws
JDK (Java Development Kit)
11. Used to terminate the execution of the current JSP page and switch control to another resource
const
JBossn
interface
jsp:forware Action element (with jsp:param)
12. Similar to the include Directive but can pass information to the included resource
Servlet workings
Java virtual machine
jsp:include Action element (with jsp:param)
abstract
13. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
goto
double
Expressions
JSP Beans
14. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
JavaCheck
interface
break
15. 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()
Declarations
volatile
native
JBossn
16. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
Update
JSP Beans
try
17. 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).
static
goto
float
Java Platform
18. Indicates that a value is a 64-bit whole number.
for
long
OS principal
this
19. Indicates that a variable or method belongs to a class rather than to any object created from the class.
Update
enum
protected
static
20. 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 Native Interface
JavaCheck
IIOP (Internet Inter-ORB Protocol)
assert
21. An opensource Java Application Server
continue
Semaphore
JBossn
break
22. Repeats some statements over and over again (as long as a condition is still true).
while
CORBA
interface
void
23. 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
OS principal
Java Development Kit (JDK)
Java Applet Definition
CORBA
24. Tests to see whether a certain object comes from a certain class.
case
instanceof
protected
finally
25. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
Java Native Interface
const
return
26. A tool for tracking and managing source file changes - written in Java.
JavaSafe
throws
native
Jini Technology
27. Introduces a class
double precision
wrapper class
Java Applet Definition
class
28. Reuses the functionality from a previously defined interface.
Expressions
byte
switch
implements
29. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Servlet Aliasing
OS principal
JavaBeans
Java Compatibility Kit (JCK)
30. 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
Servlet workings
extends
jsp:include Action element (with jsp:param)
31. A set of APIs that assists with the interfacing to multiple naming and directory services.
while
short
private
Java Naming and Directory Interface (JNDI)
32. Introduces a path of execution to take when no case is a match in a switch statement.
package
JAR (Java Archive)
default
Servlet workings
33. Includes a file in the page
default
Java Media APIs
Include Directive element
OTS (Object Transaction Service)
34. A special Java servlet-aware web server process.
JSP Beans
static
Page-centric architecture
Servlet container
35. 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.
Java Compatibility Kit (JCK)
JSP Beans
goto
double
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.
void
throws
DOM (Document Object Model)
Java Database Connectivity (JDBC)
37. Indicates that a variable or class or method can be used by any other Java code.
do
CORBA
void
public
38. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
class
Servlet Aliasing
finally
Java Runtime Environment (JRE)
39. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
JSP
float
Java Naming and Directory Interface (JNDI)
final
40. Keeps two threads from interfering with one another.
ORB (Object Request Broker)
synchronized
static
Page-centric architecture
41. 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.
package
assert
Java Compatibility Kit (JCK)
return
42. Creates a subclass
extends
while
native
JavaSpaces
43. A software "execution engine" that safely and compatibly executes the byte codes in Java class files on a microprocessor (whether in a computer or in another electronic device).
Java Applet Definition
Scriptlets
Java virtual machine
Update
44. Tests the truth of a condition that the programmer believes is true.
class
CORBA
assert
OTS (Object Transaction Service)
45. Indicates that a value is either true or false in the Java sense.
boolean
super
private
JSP Beans
46. Creates a newly defined type
Java Native Interface
IIOP (Internet Inter-ORB Protocol)
jsp:include Action element (with jsp:param)
enum
47. Indicates that a value is a 32-bit whole number.
switch
int
jsp:forware Action element (with jsp:param)
finally
48. Puts the code into a package
package
protected
enum
import
49. Useful only for small sites
Page-centric architecture
ORB (Object Request Broker)
continue
throw
50. 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.
Java Media Framework
public
JSP Beans
throw