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. Includes a file in the page
for
package
Include Directive element
this
2. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Java Development Kit (JDK)
JavaSpaces
class
POA (Portable Object Adapter)
3. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
Java Platform
Java Interface Definition Language (IDL)
Java Runtime Environment (JRE)
4. 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.
Java Database Connectivity (JDBC)
MVC Architecture
enum
Java Foundation Classes (JFC)
5. 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).
switch
final
implements
Java virtual machine
6. Indicates that a method or constructor may pass the buck when an exception is thrown.
double
class
wrapper class
throws
7. Basic code block of a JSP page
double
implements
Scriptlets
jsp:include Action element (with jsp:param)
8. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
super
Update
native
9. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
IIOP (Internet Inter-ORB Protocol)
JavaBeans
Java Development Kit (JDK)
JSP
10. 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.
Servlet container
OS principal
Java Compatibility Kit (JCK)
volatile
11. Indicates that a value is a 16-bit whole number.
return
new
char
short
12. Repeats some statements over and over again (as long as a condition is still true).
Include Directive element
import
while
Java Interface Definition Language (IDL)
13. 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
Servlet container
throws
JAR (Java Archive)
wrapper class
14. Used to generate HTML
Servlet
Java Native Interface
jsp:plugin (uses jsp:params and jsp:fallback)
Tag Library Directive element
15. 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).
jsp:plugin (uses jsp:params and jsp:fallback)
final
Java Platform
private
16. Introduces a path of execution to take when no case is a match in a switch statement.
volatile
default
jsp:forware Action element (with jsp:param)
public
17. Refers to the superclass of the code in which the word super appears.
super
finally
void
jsp:include Action element (with jsp:param)
18. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Java Interface Definition Language (IDL)
boolean
JSP Beans
int
19. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
Servlet
implements
default
20. Creates an object from an existing class.
new
Servlet workings
DTD (Document Type Definition)
package
21. Indicates that a value is either true or false in the Java sense.
DTD (Document Type Definition)
Servlet
boolean
Declarations
22. Indicates that a value is a 64-bit whole number.
long
byte
JavaSafe
default
23. Introduces an interface which is like a class but less specific.
protected
Servlet workings
interface
jsp:plugin (uses jsp:params and jsp:fallback)
24. Useful only for small sites
Java Development Kit (JDK)
Page-centric architecture
ORB (Object Request Broker)
Java Database Connectivity (JDBC)
25. A tool for checking compliance of applications and applets to a specification.
JavaCheck
Java Compatibility Kit (JCK)
JBossn
Java Media APIs
26. 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
if
JSP Beans
wrapper class
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()
static
Declarations
volatile
throws
28. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Semaphore
do
Include Directive element
IIOP (Internet Inter-ORB Protocol)
29. Indicates that a value is a 32-bit whole number.
Servlet
static
int
double precision
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
JSP
double precision
return
new
31. 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
if
Java Foundation Classes (JFC)
Servlet workings
Tag Library Directive element
32. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
JSP
for
JavaSpaces
if
33. Indicates that a value is an 8-bit whole number.
byte
DTD (Document Type Definition)
JSP Beans
JAR (Java Archive)
34. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Page-centric architecture
abstract
DOM (Document Object Model)
JavaSafe
35. A special Java servlet-aware web server process.
Page Directive element
Servlet container
byte
JAR (Java Archive)
36. An opensource Java Application Server
case
Java Platform
JBossn
JDK (Java Development Kit)
37. Tests the truth of a condition that the programmer believes is true.
assert
Semaphore
Java Applet Definition
Servlet container
38. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
POA (Portable Object Adapter)
instanceof
Java Media Framework
39. 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.
Expressions
JSP Beans
JSP
Java Media Framework
40. A principal native to the operating system on which the Java platform is executing.
OS principal
JDK (Java Development Kit)
class
POA (Portable Object Adapter)
41. Tests to see whether a certain object comes from a certain class.
Java Development Kit (JDK)
else
return
instanceof
42. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Page Directive element
native
Java Development Kit (JDK)
for
43. Indicates that a variable or method belongs to a class rather than to any object created from the class.
boolean
synchronized
catch
static
44. A library than enables CORBA objects to locate and communicate with one another.
return
throw
ORB (Object Request Broker)
JavaSafe
45. Two Servlet API packages: javax.servlet.* ___________
try
javax.servlet.http.*
Declarations
JavaBeans
46. Introduces one of several possible paths of execution in a switch statement.
DTD (Document Type Definition)
case
JavaCheck
throw
47. Sets attributes and properties specific to the current JSP page
Java Media Framework
char
Page Directive element
short
48. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
throws
static
Page-centric architecture
Semaphore
49. 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.
Servlet workings
implements
Java Runtime Environment (JRE)
wrapper class
50. 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.
void
Expressions
goto
Java Database Connectivity (JDBC)