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. Enables the programmer to abbreviate the names of classes defined in a package.
case
import
Java Applet Definition
if
2. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
interface
transient
case
DOM (Document Object Model)
3. Used to generate HTML
Page-centric architecture
class
jsp:plugin (uses jsp:params and jsp:fallback)
static
4. ______ 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
case
return
float
JSP
5. Keeps two threads from interfering with one another.
synchronized
JavaSafe
double precision
return
6. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
Java Compatibility Kit (JCK)
instanceof
OS principal
7. 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
DOM (Document Object Model)
jsp:forware Action element (with jsp:param)
Expressions
8. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
JSP Beans
Servlet Chaining
Java Runtime Environment (JRE)
9. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
return
JAR (Java Archive)
final
JBossn
10. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
enum
class
Servlet container
11. 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
JAR (Java Archive)
synchronized
int
JSP
12. 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.
JavaBeans
synchronized
JAR (Java Archive)
Java Remote Method Invocation (RMI)
13. A description of the structure and properties of a class of XML files.
static
DTD (Document Type Definition)
wrapper class
Java Runtime Environment (JRE)
14. 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
Java virtual machine
static
MVC Architecture
Page-centric architecture
15. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
else
native
Update
Tag Library Directive element
16. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
long
Java Applet Definition
Java Naming and Directory Interface (JNDI)
17. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
super
do
instanceof
Java Naming and Directory Interface (JNDI)
18. A set of APIs that assists with the interfacing to multiple naming and directory services.
default
Java Naming and Directory Interface (JNDI)
jsp:include Action element (with jsp:param)
double
19. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
package
Scriptlets
volatile
20. Indicates that a value is an 8-bit whole number.
Servlet Aliasing
byte
interface
javax.servlet.http.*
21. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
public
strictfp
class
IIOP (Internet Inter-ORB Protocol)
22. A standard programming interface for writing Java native methods and embedding the JVM into native applications. The primary goal is binary compatibility of native method libraries across all JVM implementations on a given platform.
Java Runtime Environment (JRE)
while
instanceof
Java Native Interface
23. Similar to the include Directive but can pass information to the included resource
protected
byte
Scriptlets
jsp:include Action element (with jsp:param)
24. Indicates that a value is a 64-bit whole number.
long
Servlet Chaining
case
Page Directive element
25. A tool for tracking and managing source file changes - written in Java.
strictfp
Servlet Aliasing
return
JavaSafe
26. CRUD: Create - Retrieve - ________ - Delete
long
Update
while
Java Remote Method Invocation (RMI)
27. Repeats some statements over and over again (as long as a condition is still true).
while
volatile
byte
short
28. Indicates that a variable or method can be used in subclasses from another package.
protected
double precision
if
abstract
29. A protocol used for communication between CORBA object request brokers.
Tag Library Directive element
const
IIOP (Internet Inter-ORB Protocol)
short
30. 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
IIOP (Internet Inter-ORB Protocol)
Servlet
Java Applet Definition
double precision
31. Jumps out of a loop or switch.
DOM (Document Object Model)
break
short
POA (Portable Object Adapter)
32. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Java Development Kit (JDK)
JavaSpaces
wrapper class
float
33. A class that wraps primitives - Integer or Boolean...
jsp:forware Action element (with jsp:param)
wrapper class
Java virtual machine
double
34. 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.
import
JavaScript
Servlet Chaining
catch
35. Basic code block of a JSP page
return
Scriptlets
Java Applet Definition
IIOP (Internet Inter-ORB Protocol)
36. Refers to the superclass of the code in which the word super appears.
ORB (Object Request Broker)
Scriptlets
Java Foundation Classes (JFC)
super
37. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Java Naming and Directory Interface (JNDI)
CORBA
instanceof
Java Interface Definition Language (IDL)
38. Sets attributes and properties specific to the current JSP page
new
boolean
continue
Page Directive element
39. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
double precision
switch
for
Jini Technology
40. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
void
protected
JavaBeans
CORBA
41. A set of Java APIs that provide CORBA (Common Object Request Broker Architecture) interoperability and connectivity capabilities for the J2EE platform. These capabilities enable J2EE applications to invoke operations on remote network services using
import
instanceof
Java Interface Definition Language (IDL)
new
42. A software development environment for writing applets and application in Java .
native
public
Servlet
JDK (Java Development Kit)
43. 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.
case
Java Media Framework
transient
goto
44. 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.
const
transient
Servlet
Java Native Interface
45. Creates a newly defined type
enum
return
implements
OTS (Object Transaction Service)
46. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Java Media Framework
if
throw
JavaBeans
47. Creates a subclass
Page-centric architecture
OS principal
Semaphore
extends
48. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
float
for
Tag Library Directive element
JSP
49. Tests the truth of a condition that the programmer believes is true.
jsp:include Action element (with jsp:param)
throw
assert
protected
50. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
Page Directive element
boolean
native