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 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).
static
ORB (Object Request Broker)
continue
Java virtual machine
2. Forces the abrupt end of the current loop iteration and begins another iteration.
float
Scriptlets
continue
Java Compatibility Kit (JCK)
3. Used to generate HTML
Declarations
jsp:plugin (uses jsp:params and jsp:fallback)
JavaSpaces
do
4. Indicates that a variable or class or method can be used by any other Java code.
Java Database Connectivity (JDBC)
import
instanceof
public
5. 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
char
Java Interface Definition Language (IDL)
int
Scriptlets
6. ______ 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:include Action element (with jsp:param)
JSP
public
throw
7. Two Servlet API packages: javax.servlet.* ___________
default
DOM (Document Object Model)
Java Development Kit (JDK)
javax.servlet.http.*
8. Puts the code into a package
for
package
throws
JavaSpaces
9. Introduces statements that are executed when the condition in an if statement isn't true.
MVC Architecture
if
else
goto
10. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
do
boolean
switch
final
11. Introduces an interface which is like a class but less specific.
interface
Java Media Framework
Servlet container
catch
12. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
Java Naming and Directory Interface (JNDI)
JSP Beans
JavaCheck
13. Useful only for small sites
synchronized
Page-centric architecture
new
break
14. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
DOM (Document Object Model)
wrapper class
native
Jini Technology
15. 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
MVC Architecture
else
while
break
16. Indicates that a variable or method belongs to a class rather than to any object created from the class.
case
final
static
abstract
17. Introduces a class
extends
JDK (Java Development Kit)
class
assert
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.
Declarations
javax.servlet.http.*
Java Database Connectivity (JDBC)
volatile
19. 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.
extends
Semaphore
char
Java Media Framework
20. Similar to the include Directive but can pass information to the included resource
int
IIOP (Internet Inter-ORB Protocol)
jsp:include Action element (with jsp:param)
jsp:plugin (uses jsp:params and jsp:fallback)
21. A tool for tracking and managing source file changes - written in Java.
Expressions
JavaSafe
finally
Include Directive element
22. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
switch
DOM (Document Object Model)
double
Tag Library Directive element
23. A protocol used for communication between CORBA object request brokers.
instanceof
MVC Architecture
IIOP (Internet Inter-ORB Protocol)
javax.servlet.http.*
24. 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.
Java Database Connectivity (JDBC)
case
Java virtual machine
Java Development Kit (JDK)
25. 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
Java Database Connectivity (JDBC)
Include Directive element
Java virtual machine
Java Applet Definition
26. 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.
Update
interface
Java Compatibility Kit (JCK)
Java Platform
27. Indicates that a variable or method can be used only within a certain class.
super
private
static
byte
28. A library than enables CORBA objects to locate and communicate with one another.
import
strictfp
for
ORB (Object Request Broker)
29. Indicates that a method doesn't return a value.
short
JavaBeans
void
Java Platform
30. Indicates that a value is a 32-bit whole number.
Java Media APIs
JSP Beans
Semaphore
int
31. Tests the truth of a condition that the programmer believes is true.
Update
case
assert
abstract
32. 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.
OS principal
JavaCheck
Java Database Connectivity (JDBC)
Java Runtime Environment (JRE)
33. A principal native to the operating system on which the Java platform is executing.
Declarations
OS principal
volatile
protected
34. 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
return
assert
Servlet workings
else
35. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
OS principal
volatile
Java Runtime Environment (JRE)
36. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Java Naming and Directory Interface (JNDI)
Servlet workings
JSP Beans
Java Runtime Environment (JRE)
37. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
Java Interface Definition Language (IDL)
Declarations
Java Platform
38. Introduces a path of execution to take when no case is a match in a switch statement.
default
protected
Scriptlets
JavaCheck
39. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
float
DOM (Document Object Model)
POA (Portable Object Adapter)
assert
40. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
MVC Architecture
catch
break
Servlet workings
41. A set of Java APIs that may be incorporated an optional package for any Java 2 Platform Edition. The Jini APIs enable transparent networking of devices and services and eliminates the need for system or network administration intervention by a user.
JSP
throw
long
Jini Technology
42. Ends execution of a method and possibly returns a value to the calling code.
private
return
jsp:plugin (uses jsp:params and jsp:fallback)
long
43. A description of the structure and properties of a class of XML files.
while
Update
DTD (Document Type Definition)
wrapper class
44. Jumps out of a loop or switch.
Java virtual machine
goto
break
Include Directive element
45. Introduces one of several possible paths of execution in a switch statement.
Java Naming and Directory Interface (JNDI)
Tag Library Directive element
case
wrapper class
46. 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).
Java Platform
instanceof
Servlet workings
Java Media APIs
47. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
OS principal
wrapper class
JavaSpaces
double
48. The output of one servlet act as a input to another servlet.
super
Servlet Chaining
finally
Java Remote Method Invocation (RMI)
49. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
goto
finally
javax.servlet.http.*
50. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Java Compatibility Kit (JCK)
Servlet container
jsp:include Action element (with jsp:param)
DOM (Document Object Model)