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. A definition of the interfaces that permit CORBA objects to participate in transactions.
jsp:include Action element (with jsp:param)
int
OTS (Object Transaction Service)
Java Media APIs
2. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
throws
static
Servlet Aliasing
extends
3. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JSP Beans
Java Remote Method Invocation (RMI)
strictfp
Jini Technology
4. Basic code block of a JSP page
Scriptlets
class
Java Naming and Directory Interface (JNDI)
Declarations
5. Creates a newly defined type
enum
interface
Java Compatibility Kit (JCK)
jsp:forware Action element (with jsp:param)
6. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Java Database Connectivity (JDBC)
DOM (Document Object Model)
Java Compatibility Kit (JCK)
float
7. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
else
native
static
8. Sets attributes and properties specific to the current JSP page
Semaphore
Page Directive element
float
JAR (Java Archive)
9. 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.
Java Runtime Environment (JRE)
volatile
JavaCheck
for
10. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
final
implements
protected
Java Interface Definition Language (IDL)
11. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
wrapper class
try
CORBA
Java Naming and Directory Interface (JNDI)
12. A class that wraps primitives - Integer or Boolean...
Servlet workings
wrapper class
while
catch
13. Indicates that a variable or method can be used in subclasses from another package.
Java Runtime Environment (JRE)
new
protected
DOM (Document Object Model)
14. Indicates that a value is either true or false in the Java sense.
Java Media Framework
Declarations
boolean
interface
15. 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).
package
protected
Servlet workings
Java virtual machine
16. Includes a new tag library into page - allows use of tags in page
Page-centric architecture
Tag Library Directive element
JavaCheck
wrapper class
17. Indicates that a value is an 8-bit whole number.
DOM (Document Object Model)
jsp:forware Action element (with jsp:param)
public
byte
18. 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.
goto
CORBA
Java Database Connectivity (JDBC)
switch
19. Indicates that a variable or method belongs to a class rather than to any object created from the class.
jsp:plugin (uses jsp:params and jsp:fallback)
class
static
implements
20. Creates an object from an existing class.
DOM (Document Object Model)
for
new
double
21. A tool for tracking and managing source file changes - written in Java.
if
JavaSafe
catch
MVC Architecture
22. 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
Semaphore
Scriptlets
transient
Java Interface Definition Language (IDL)
23. Includes a file in the page
catch
import
this
Include Directive element
24. 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 Native Interface
return
JavaSafe
try
25. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Java Native Interface
assert
do
if
26. Refers to the superclass of the code in which the word super appears.
static
super
OTS (Object Transaction Service)
goto
27. Indicates that a variable or method can be used only within a certain class.
synchronized
interface
assert
private
28. Used to terminate the execution of the current JSP page and switch control to another resource
Java Foundation Classes (JFC)
goto
assert
jsp:forware Action element (with jsp:param)
29. 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
Java Development Kit (JDK)
Servlet workings
Servlet Aliasing
short
30. 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.
assert
Java Native Interface
Servlet
volatile
31. Forces the abrupt end of the current loop iteration and begins another iteration.
float
enum
public
continue
32. 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()
Declarations
case
Page-centric architecture
DTD (Document Type Definition)
33. 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.
transient
goto
Update
POA (Portable Object Adapter)
34. Repeats some statements over and over again (as long as a condition is still true).
boolean
while
Servlet container
CORBA
35. A protocol used for communication between CORBA object request brokers.
Java Platform
Java Native Interface
IIOP (Internet Inter-ORB Protocol)
Java Applet Definition
36. Indicates that a method or constructor may pass the buck when an exception is thrown.
assert
short
package
throws
37. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Java virtual machine
if
JavaSafe
DOM (Document Object Model)
38. The output of one servlet act as a input to another servlet.
throw
JBossn
Servlet Chaining
continue
39. 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.
Include Directive element
Page-centric architecture
strictfp
const
40. A software development environment for writing applets and application in Java .
JavaSafe
continue
JDK (Java Development Kit)
Java Compatibility Kit (JCK)
41. Puts the code into a package
volatile
package
static
OTS (Object Transaction Service)
42. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
native
IIOP (Internet Inter-ORB Protocol)
while
Expressions
43. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
JavaSafe
synchronized
JavaCheck
44. 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.
final
ORB (Object Request Broker)
Java Media Framework
Page-centric architecture
45. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
short
final
JavaBeans
JAR (Java Archive)
46. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
strictfp
JavaSpaces
double precision
static
47. A library than enables CORBA objects to locate and communicate with one another.
finally
ORB (Object Request Broker)
synchronized
package
48. Useful only for small sites
Page-centric architecture
volatile
private
void
49. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
JavaBeans
wrapper class
Java Interface Definition Language (IDL)
throw
50. A special Java servlet-aware web server process.
return
if
Page Directive element
Servlet container