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 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)
Java Native Interface
Java Media APIs
Declarations
2. ______ 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
while
JSP
for
new
3. Basic code block of a JSP page
Scriptlets
double precision
return
JDK (Java Development Kit)
4. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Runtime Environment (JRE)
long
switch
transient
5. A principal native to the operating system on which the Java platform is executing.
JBossn
new
native
OS principal
6. 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.
jsp:plugin (uses jsp:params and jsp:fallback)
JDK (Java Development Kit)
this
Java Remote Method Invocation (RMI)
7. 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
Tag Library Directive element
ORB (Object Request Broker)
Java Applet Definition
catch
8. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Java Foundation Classes (JFC)
for
finally
JSP Beans
9. 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.
import
switch
Java Media Framework
OTS (Object Transaction Service)
10. Refers to the superclass of the code in which the word super appears.
assert
Semaphore
super
synchronized
11. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
super
Page-centric architecture
do
Java Applet Definition
12. 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
Page Directive element
OS principal
return
JAR (Java Archive)
13. Jumps out of a loop or switch.
transient
break
this
assert
14. Introduces statements that are watched (during runtime) for things that can go wrong.
IIOP (Internet Inter-ORB Protocol)
JavaBeans
Java Foundation Classes (JFC)
try
15. Tests to see whether a certain object comes from a certain class.
Java Media APIs
instanceof
JDK (Java Development Kit)
transient
16. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Declarations
catch
import
POA (Portable Object Adapter)
17. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
throw
JavaSpaces
double precision
interface
18. Indicates that a value is a 16-bit whole number.
public
int
byte
short
19. Ends execution of a method and possibly returns a value to the calling code.
Servlet workings
jsp:plugin (uses jsp:params and jsp:fallback)
return
JavaSpaces
20. 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 const variable.
Servlet Chaining
switch
const
Java Runtime Environment (JRE)
21. Introduces a path of execution to take when no case is a match in a switch statement.
synchronized
Jini Technology
default
byte
22. 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.
jsp:include Action element (with jsp:param)
final
Java Development Kit (JDK)
Java Applet Definition
23. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
boolean
Semaphore
const
extends
24. Introduces a class
do
JavaSafe
DTD (Document Type Definition)
class
25. A protocol used for communication between CORBA object request brokers.
IIOP (Internet Inter-ORB Protocol)
throws
DTD (Document Type Definition)
instanceof
26. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
Java virtual machine
continue
void
27. Sets attributes and properties specific to the current JSP page
Page Directive element
Servlet Chaining
Java Development Kit (JDK)
break
28. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
catch
javax.servlet.http.*
JavaBeans
Java Native Interface
29. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Java Development Kit (JDK)
Servlet Aliasing
Servlet container
boolean
30. A self-reference
assert
break
this
synchronized
31. Indicates that a variable or class or method can be used by any other Java code.
public
JavaBeans
jsp:plugin (uses jsp:params and jsp:fallback)
Tag Library Directive element
32. Creates a subclass
Java Database Connectivity (JDBC)
synchronized
extends
Semaphore
33. A tool for checking compliance of applications and applets to a specification.
OTS (Object Transaction Service)
char
JavaCheck
byte
34. Indicates that a variable or method can be used only within a certain class.
Servlet workings
final
import
private
35. Indicates that a value is an 8-bit whole number.
continue
DTD (Document Type Definition)
for
byte
36. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
MVC Architecture
final
JavaScript
const
37. Similar to the include Directive but can pass information to the included resource
jsp:include Action element (with jsp:param)
while
double precision
native
38. A special Java servlet-aware web server process.
Servlet container
break
JSP Beans
Servlet Aliasing
39. Forces the abrupt end of the current loop iteration and begins another iteration.
Java Naming and Directory Interface (JNDI)
continue
for
final
40. Useful only for small sites
Scriptlets
Page-centric architecture
Declarations
JavaSafe
41. 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).
public
DOM (Document Object Model)
Java virtual machine
extends
42. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
JavaBeans
JSP Beans
char
Jini Technology
43. Introduces one of several possible paths of execution in a switch statement.
POA (Portable Object Adapter)
throw
new
case
44. Enables the programmer to abbreviate the names of classes defined in a package.
synchronized
JavaSpaces
Servlet workings
import
45. Two Servlet API packages: javax.servlet.* ___________
do
Java Applet Definition
DTD (Document Type Definition)
javax.servlet.http.*
46. 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.
Scriptlets
JavaScript
Java Platform
Servlet
47. Used to generate HTML
switch
Java Media Framework
jsp:plugin (uses jsp:params and jsp:fallback)
Java Platform
48. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Servlet Chaining
JSP Beans
long
Page-centric architecture
49. 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
boolean
Java Development Kit (JDK)
wrapper class
50. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
OS principal
JavaBeans
Java Runtime Environment (JRE)
DOM (Document Object Model)