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. 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.
volatile
goto
DOM (Document Object Model)
CORBA
2. Indicates that a variable or method can be used only within a certain class.
void
synchronized
byte
private
3. Indicates that a variable or class or method can be used by any other Java code.
this
abstract
public
continue
4. Useful only for small sites
Page-centric architecture
short
goto
OTS (Object Transaction Service)
5. Sets attributes and properties specific to the current JSP page
Java Media APIs
package
Page Directive element
Java Media Framework
6. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
while
for
jsp:include Action element (with jsp:param)
7. Forces the abrupt end of the current loop iteration and begins another iteration.
double
continue
void
JSP Beans
8. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
if
Java Foundation Classes (JFC)
Java Media APIs
static
9. A special Java servlet-aware web server process.
jsp:include Action element (with jsp:param)
JDK (Java Development Kit)
Servlet container
volatile
10. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
goto
short
OS principal
11. A tool for tracking and managing source file changes - written in Java.
Expressions
return
JavaSafe
double precision
12. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
switch
JSP Beans
volatile
double precision
13. 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.
Java Database Connectivity (JDBC)
else
Servlet
void
14. Similar to the include Directive but can pass information to the included resource
Java Native Interface
Java Media APIs
jsp:include Action element (with jsp:param)
synchronized
15. Introduces an interface which is like a class but less specific.
MVC Architecture
while
interface
DOM (Document Object Model)
16. Tests the truth of a condition that the programmer believes is true.
Java Compatibility Kit (JCK)
float
assert
Java Applet Definition
17. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
DOM (Document Object Model)
Java Media APIs
Java Development Kit (JDK)
18. Indicates that a value is a 32-bit whole number.
Declarations
int
Page-centric architecture
JavaCheck
19. 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
MVC Architecture
Jini Technology
DOM (Document Object Model)
Semaphore
20. 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.
Servlet workings
wrapper class
Jini Technology
break
21. A self-reference
ORB (Object Request Broker)
JavaSafe
double precision
this
22. 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).
char
Java Platform
Page-centric architecture
continue
23. 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 Development Kit (JDK)
Java Database Connectivity (JDBC)
JSP Beans
extends
24. Indicates that a value is a 64-bit whole number.
long
jsp:plugin (uses jsp:params and jsp:fallback)
public
Java Naming and Directory Interface (JNDI)
25. Indicates that a method doesn't return a value.
IIOP (Internet Inter-ORB Protocol)
JavaBeans
void
Servlet Aliasing
26. Indicates that a value is either true or false in the Java sense.
boolean
return
JDK (Java Development Kit)
Java Remote Method Invocation (RMI)
27. 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
Java Applet Definition
POA (Portable Object Adapter)
if
int
28. 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 virtual machine
package
Java Compatibility Kit (JCK)
continue
29. Indicates that a method or constructor may pass the buck when an exception is thrown.
Tag Library Directive element
long
throws
jsp:plugin (uses jsp:params and jsp:fallback)
30. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSafe
Jini Technology
Java Development Kit (JDK)
JavaSpaces
31. 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.
wrapper class
JSP Beans
Java Runtime Environment (JRE)
DOM (Document Object Model)
32. Indicates that a value is a 16-bit whole number.
break
import
Servlet
short
33. An opensource Java Application Server
Java Platform
JBossn
CORBA
JDK (Java Development Kit)
34. Introduces a class
class
Update
Java Runtime Environment (JRE)
const
35. 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()
CORBA
wrapper class
Declarations
this
36. 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.
while
JavaScript
POA (Portable Object Adapter)
long
37. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
while
if
volatile
Servlet workings
38. Includes a new tag library into page - allows use of tags in page
enum
super
Tag Library Directive element
native
39. ______ 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
Java Foundation Classes (JFC)
javax.servlet.http.*
break
JSP
40. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
Java Runtime Environment (JRE)
package
catch
throw
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.
return
Java Remote Method Invocation (RMI)
byte
Java Media APIs
42. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
POA (Portable Object Adapter)
double
package
try
43. Introduces a path of execution to take when no case is a match in a switch statement.
Java Media APIs
default
JAR (Java Archive)
do
44. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
goto
finally
Scriptlets
45. Indicates that a variable or method can be used in subclasses from another package.
do
OS principal
protected
JavaCheck
46. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
Update
volatile
CORBA
47. Used to terminate the execution of the current JSP page and switch control to another resource
native
JSP
this
jsp:forware Action element (with jsp:param)
48. Introduces one of several possible paths of execution in a switch statement.
jsp:plugin (uses jsp:params and jsp:fallback)
case
JavaSafe
continue
49. 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
extends
import
this
50. Introduces statements that are watched (during runtime) for things that can go wrong.
try
Java virtual machine
Java Remote Method Invocation (RMI)
wrapper class