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. Ends execution of a method and possibly returns a value to the calling code.
assert
return
instanceof
new
2. Includes a file in the page
class
throws
JavaCheck
Include Directive element
3. 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).
implements
Servlet Aliasing
void
Java virtual machine
4. 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.
Java Media Framework
throws
jsp:include Action element (with jsp:param)
assert
5. 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
Expressions
Java Media APIs
JavaSpaces
6. A tool for tracking and managing source file changes - written in Java.
JavaSafe
class
Servlet Aliasing
enum
7. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
DOM (Document Object Model)
JDK (Java Development Kit)
double
jsp:include Action element (with jsp:param)
8. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java Foundation Classes (JFC)
Semaphore
import
Java Remote Method Invocation (RMI)
9. Imposes strict rules on the use of a variable by more than one thread at a time.
default
Declarations
volatile
instanceof
10. 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.
OTS (Object Transaction Service)
continue
Servlet
boolean
11. 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
JAR (Java Archive)
jsp:forware Action element (with jsp:param)
Servlet workings
MVC Architecture
12. A definition of the interfaces that permit CORBA objects to participate in transactions.
throw
OTS (Object Transaction Service)
abstract
Java Foundation Classes (JFC)
13. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
IIOP (Internet Inter-ORB Protocol)
assert
double precision
Java Naming and Directory Interface (JNDI)
14. Introduces statements that are watched (during runtime) for things that can go wrong.
instanceof
try
JavaSafe
JavaScript
15. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
catch
abstract
volatile
16. Creates an object from an existing class.
new
Java Database Connectivity (JDBC)
else
Java Compatibility Kit (JCK)
17. 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.
Update
goto
MVC Architecture
Java Database Connectivity (JDBC)
18. Includes a new tag library into page - allows use of tags in page
JSP
char
double precision
Tag Library Directive element
19. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
if
POA (Portable Object Adapter)
Page-centric architecture
JavaSpaces
20. 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()
default
long
Declarations
Servlet
21. A self-reference
Declarations
goto
this
Servlet
22. 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.
Jini Technology
CORBA
Update
Java Development Kit (JDK)
23. Tests to see whether a certain object comes from a certain class.
OTS (Object Transaction Service)
Java Platform
instanceof
default
24. A principal native to the operating system on which the Java platform is executing.
double
OS principal
abstract
long
25. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
package
static
case
Expressions
26. 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
ORB (Object Request Broker)
Java virtual machine
while
27. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JavaSpaces
JSP Beans
case
Java Naming and Directory Interface (JNDI)
28. Indicates that a method or constructor may pass the buck when an exception is thrown.
new
throws
package
double precision
29. ______ 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
JDK (Java Development Kit)
JSP
javax.servlet.http.*
Declarations
30. 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
default
JAR (Java Archive)
Servlet Aliasing
boolean
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
Java Remote Method Invocation (RMI)
JavaCheck
Jini Technology
Servlet workings
32. An opensource Java Application Server
Servlet Chaining
JBossn
short
Java Media APIs
33. A library than enables CORBA objects to locate and communicate with one another.
this
Java Runtime Environment (JRE)
JavaCheck
ORB (Object Request Broker)
34. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
class
if
package
double
35. Introduces statements that are executed when the condition in an if statement isn't true.
instanceof
else
char
public
36. Indicates that a value is a 64-bit whole number.
public
implements
abstract
long
37. A description of the structure and properties of a class of XML files.
boolean
Java Foundation Classes (JFC)
DTD (Document Type Definition)
Tag Library Directive element
38. A class that wraps primitives - Integer or Boolean...
if
Semaphore
wrapper class
double
39. CRUD: Create - Retrieve - ________ - Delete
Java Foundation Classes (JFC)
Update
static
Scriptlets
40. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
jsp:plugin (uses jsp:params and jsp:fallback)
Jini Technology
CORBA
switch
41. 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 Development Kit (JDK)
JavaScript
const
Jini Technology
42. Indicates that a value is either true or false in the Java sense.
Include Directive element
import
catch
boolean
43. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
Java Media APIs
Declarations
Java Development Kit (JDK)
44. 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.
instanceof
javax.servlet.http.*
native
JavaScript
45. Creates a subclass
Java Naming and Directory Interface (JNDI)
OS principal
extends
implements
46. A set of APIs that assists with the interfacing to multiple naming and directory services.
JDK (Java Development Kit)
float
abstract
Java Naming and Directory Interface (JNDI)
47. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Page Directive element
extends
static
strictfp
48. 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 Database Connectivity (JDBC)
ORB (Object Request Broker)
Java Runtime Environment (JRE)
wrapper class
49. Tests the truth of a condition that the programmer believes is true.
assert
volatile
Jini Technology
throws
50. Indicates that a variable or method belongs to a class rather than to any object created from the class.
char
Tag Library Directive element
javax.servlet.http.*
static