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. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Java Media Framework
strictfp
byte
Expressions
2. Indicates that a variable or class or method can be used by any other Java code.
Page Directive element
public
enum
goto
3. Indicates that a value is either true or false in the Java sense.
boolean
Semaphore
class
Tag Library Directive element
4. A tool for checking compliance of applications and applets to a specification.
MVC Architecture
Java Runtime Environment (JRE)
JavaCheck
javax.servlet.http.*
5. A library than enables CORBA objects to locate and communicate with one another.
return
finally
Java Development Kit (JDK)
ORB (Object Request Broker)
6. A special Java servlet-aware web server process.
Servlet container
while
Servlet Aliasing
Servlet Chaining
7. A protocol used for communication between CORBA object request brokers.
Java Compatibility Kit (JCK)
switch
IIOP (Internet Inter-ORB Protocol)
MVC Architecture
8. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
IIOP (Internet Inter-ORB Protocol)
Semaphore
Java Applet Definition
for
9. Basic code block of a JSP page
OTS (Object Transaction Service)
Scriptlets
OS principal
Java virtual machine
10. Indicates that a value is a 64-bit whole number.
long
goto
int
JavaScript
11. Indicates that a value is a 32-bit whole number.
finally
int
JAR (Java Archive)
else
12. 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.
native
JavaScript
const
JBossn
13. 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.
MVC Architecture
double
Java Database Connectivity (JDBC)
Servlet Aliasing
14. Introduces statements that are watched (during runtime) for things that can go wrong.
try
JSP
OS principal
this
15. A class that wraps primitives - Integer or Boolean...
Java Foundation Classes (JFC)
boolean
wrapper class
Java Media Framework
16. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
Servlet
DOM (Document Object Model)
Java Foundation Classes (JFC)
17. Creates an object from an existing class.
catch
goto
jsp:plugin (uses jsp:params and jsp:fallback)
new
18. Imposes strict rules on the use of a variable by more than one thread at a time.
assert
volatile
Page-centric architecture
implements
19. Sets attributes and properties specific to the current JSP page
Servlet Aliasing
protected
Page Directive element
Java Platform
20. Puts the code into a package
package
const
Update
switch
21. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
native
Java Remote Method Invocation (RMI)
enum
for
22. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
OS principal
Java Foundation Classes (JFC)
transient
JSP Beans
23. Enables the programmer to abbreviate the names of classes defined in a package.
Update
strictfp
instanceof
import
24. 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
jsp:forware Action element (with jsp:param)
JAR (Java Archive)
JSP Beans
else
25. An opensource Java Application Server
JBossn
throw
Java Native Interface
extends
26. Reuses the functionality from a previously defined interface.
throws
implements
Servlet
Java Runtime Environment (JRE)
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()
Servlet Chaining
try
Declarations
Java Platform
28. Repeats some statements over and over again (as long as a condition is still true).
double precision
MVC Architecture
int
while
29. 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
boolean
Scriptlets
MVC Architecture
native
30. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
JavaScript
finally
Java Runtime Environment (JRE)
do
31. Used to generate HTML
OS principal
static
ORB (Object Request Broker)
jsp:plugin (uses jsp:params and jsp:fallback)
32. Includes a new tag library into page - allows use of tags in page
JavaScript
Servlet Aliasing
Include Directive element
Tag Library Directive element
33. Jumps out of a loop or switch.
float
OS principal
break
Semaphore
34. Introduces statements that are executed when the condition in an if statement isn't true.
Servlet workings
final
Java Foundation Classes (JFC)
else
35. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
Jini Technology
MVC Architecture
Java Database Connectivity (JDBC)
36. A description of the structure and properties of a class of XML files.
for
DTD (Document Type Definition)
Page Directive element
throws
37. ______ 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
do
JSP
interface
Tag Library Directive element
38. Similar to the include Directive but can pass information to the included resource
implements
MVC Architecture
super
jsp:include Action element (with jsp:param)
39. Tests to see whether a certain object comes from a certain class.
JavaSafe
instanceof
while
extends
40. Two Servlet API packages: javax.servlet.* ___________
implements
Java Development Kit (JDK)
javax.servlet.http.*
static
41. Indicates that a variable or method can be used only within a certain class.
throws
private
JDK (Java Development Kit)
void
42. 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).
ORB (Object Request Broker)
Java Development Kit (JDK)
Java Platform
short
43. Introduces a class
class
JSP Beans
do
return
44. Forces the abrupt end of the current loop iteration and begins another iteration.
Java Development Kit (JDK)
Update
const
continue
45. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
abstract
DOM (Document Object Model)
Java virtual machine
Jini Technology
46. Includes a file in the page
Include Directive element
enum
byte
Java Compatibility Kit (JCK)
47. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
float
assert
Scriptlets
switch
48. Indicates that a variable or method can be used in subclasses from another package.
JAR (Java Archive)
jsp:plugin (uses jsp:params and jsp:fallback)
static
protected
49. Introduces one of several possible paths of execution in a switch statement.
byte
goto
case
switch
50. Useful only for small sites
ORB (Object Request Broker)
Java virtual machine
Page-centric architecture
float