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. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Update
Servlet
class
Java Foundation Classes (JFC)
2. Ends execution of a method and possibly returns a value to the calling code.
class
return
default
Page-centric architecture
3. Servlet is: loaded by servlet container when 1st requested; is then forwarded the user's request; processes the user's request; returns the response back to the servlet container. Servlet container sends this response back to the user. Servlet stays
else
Include Directive element
Servlet workings
Expressions
4. Keeps two threads from interfering with one another.
Java virtual machine
synchronized
float
Servlet
5. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
MVC Architecture
protected
IIOP (Internet Inter-ORB Protocol)
6. Sets attributes and properties specific to the current JSP page
float
break
Java Applet Definition
Page Directive element
7. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
throw
abstract
Scriptlets
8. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
JSP Beans
catch
while
do
9. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
synchronized
static
transient
char
10. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
POA (Portable Object Adapter)
Servlet Aliasing
byte
DTD (Document Type Definition)
11. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
DOM (Document Object Model)
Java Foundation Classes (JFC)
Java Platform
wrapper class
12. 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 Database Connectivity (JDBC)
case
MVC Architecture
Java Applet Definition
13. A special Java servlet-aware web server process.
protected
static
Servlet container
Java Media Framework
14. 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).
strictfp
IIOP (Internet Inter-ORB Protocol)
Java Platform
throws
15. 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
do
final
strictfp
16. 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()
native
Declarations
ORB (Object Request Broker)
IIOP (Internet Inter-ORB Protocol)
17. 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.
Servlet
Java Interface Definition Language (IDL)
goto
Java Platform
18. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
JavaScript
Java Applet Definition
JSP
19. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
IIOP (Internet Inter-ORB Protocol)
Java Compatibility Kit (JCK)
JAR (Java Archive)
20. Indicates that a variable or class or method can be used by any other Java code.
public
assert
Servlet
Jini Technology
21. Indicates that a value is a 16-bit whole number.
public
short
JSP
Include Directive element
22. Tests the truth of a condition that the programmer believes is true.
assert
Java Applet Definition
super
double
23. Repeats some statements over and over again (as long as a condition is still true).
while
CORBA
wrapper class
DTD (Document Type Definition)
24. Introduces an interface which is like a class but less specific.
JDK (Java Development Kit)
super
Jini Technology
interface
25. Indicates that a variable or method belongs to a class rather than to any object created from the class.
continue
Java virtual machine
double
static
26. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Servlet Chaining
byte
for
OS principal
27. Enables the programmer to abbreviate the names of classes defined in a package.
import
JSP Beans
Page Directive element
default
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 Remote Method Invocation (RMI)
Java virtual machine
Java Development Kit (JDK)
Java Applet Definition
29. Introduces statements that are watched (during runtime) for things that can go wrong.
try
DTD (Document Type Definition)
break
Java Remote Method Invocation (RMI)
30. ______ 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 virtual machine
JSP
wrapper class
return
31. Tests to see whether a certain object comes from a certain class.
Servlet Aliasing
finally
instanceof
Java Native Interface
32. Introduces the last will and testament of the statements in a try clause.
Page-centric architecture
try
finally
Scriptlets
33. Indicates that a variable or method can be used in subclasses from another package.
protected
Tag Library Directive element
Java Foundation Classes (JFC)
ORB (Object Request Broker)
34. Introduces one of several possible paths of execution in a switch statement.
const
Servlet
OS principal
case
35. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
Servlet workings
JavaScript
Page-centric architecture
36. Jumps out of a loop or switch.
Java Compatibility Kit (JCK)
break
ORB (Object Request Broker)
JSP Beans
37. A principal native to the operating system on which the Java platform is executing.
OS principal
Java Remote Method Invocation (RMI)
break
protected
38. A tool for checking compliance of applications and applets to a specification.
synchronized
DTD (Document Type Definition)
if
JavaCheck
39. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
enum
wrapper class
Semaphore
Servlet container
40. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
jsp:plugin (uses jsp:params and jsp:fallback)
catch
JavaSpaces
41. Reuses the functionality from a previously defined interface.
transient
IIOP (Internet Inter-ORB Protocol)
implements
Java Native Interface
42. Introduces a path of execution to take when no case is a match in a switch statement.
short
default
Java Database Connectivity (JDBC)
MVC Architecture
43. A software development environment for writing applets and application in Java .
jsp:forware Action element (with jsp:param)
jsp:include Action element (with jsp:param)
JDK (Java Development Kit)
jsp:plugin (uses jsp:params and jsp:fallback)
44. Useful only for small sites
if
interface
super
Page-centric architecture
45. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Update
transient
goto
float
46. A set of APIs that support the integration of audio and video clips & 2D fonts & graphics and images as well as 3D models and telephony.
Java Development Kit (JDK)
short
synchronized
Java Media APIs
47. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaSafe
JavaSpaces
Declarations
JavaBeans
48. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
static
Java Media Framework
POA (Portable Object Adapter)
switch
49. Indicates that a method doesn't return a value.
const
void
Java Media Framework
JavaCheck
50. Two Servlet API packages: javax.servlet.* ___________
Java Platform
javax.servlet.http.*
strictfp
assert