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. Imposes strict rules on the use of a variable by more than one thread at a time.
synchronized
volatile
byte
Java Applet Definition
2. 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)
Servlet Chaining
Java Media Framework
goto
3. Introduces the last will and testament of the statements in a try clause.
boolean
Java Runtime Environment (JRE)
JSP
finally
4. Indicates that a value is a 32-bit whole number.
case
Scriptlets
int
goto
5. 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.
instanceof
Java Development Kit (JDK)
Java Naming and Directory Interface (JNDI)
Semaphore
6. 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)
for
Update
package
7. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Runtime Environment (JRE)
Java Naming and Directory Interface (JNDI)
transient
Servlet container
8. Ends execution of a method and possibly returns a value to the calling code.
return
Include Directive element
JavaSafe
throw
9. Indicates that a value is either true or false in the Java sense.
JavaBeans
return
JavaSafe
boolean
10. 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.
Java Naming and Directory Interface (JNDI)
interface
Jini Technology
extends
11. Sets attributes and properties specific to the current JSP page
JavaCheck
javax.servlet.http.*
Page Directive element
Servlet workings
12. Repeats some statements over and over again (as long as a condition is still true).
short
while
int
try
13. A set of APIs that support the integration of audio and video clips & 2D fonts & graphics and images as well as 3D models and telephony.
Jini Technology
Java Media APIs
Java Platform
JDK (Java Development Kit)
14. A set of APIs that assists with the interfacing to multiple naming and directory services.
if
Java Naming and Directory Interface (JNDI)
Page Directive element
Scriptlets
15. A self-reference
CORBA
case
this
DOM (Document Object Model)
16. A tool for tracking and managing source file changes - written in Java.
JavaSafe
volatile
break
static
17. Useful only for small sites
synchronized
Page-centric architecture
Java Remote Method Invocation (RMI)
OS principal
18. ______ 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
enum
final
JSP
boolean
19. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
Declarations
const
Expressions
20. A description of the structure and properties of a class of XML files.
catch
Jini Technology
throw
DTD (Document Type Definition)
21. A software development environment for writing applets and application in Java .
float
JAR (Java Archive)
JavaBeans
JDK (Java Development Kit)
22. A protocol used for communication between CORBA object request brokers.
javax.servlet.http.*
double precision
IIOP (Internet Inter-ORB Protocol)
Java Remote Method Invocation (RMI)
23. 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.
this
Java Native Interface
throws
Page Directive element
24. Introduces one of several possible paths of execution in a switch statement.
implements
abstract
case
Java Media APIs
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 Applet Definition
else
JAR (Java Archive)
int
26. Indicates that a variable or class or method can be used by any other Java code.
synchronized
case
public
Servlet Chaining
27. 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()
new
Java Foundation Classes (JFC)
class
Declarations
28. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
double precision
boolean
JSP Beans
final
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
JSP
Java Platform
Java Runtime Environment (JRE)
Servlet workings
30. The output of one servlet act as a input to another servlet.
do
Servlet Chaining
continue
while
31. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
jsp:plugin (uses jsp:params and jsp:fallback)
Expressions
for
transient
32. A principal native to the operating system on which the Java platform is executing.
OS principal
Java Compatibility Kit (JCK)
JavaSafe
Java Media Framework
33. Basic code block of a JSP page
Scriptlets
final
finally
transient
34. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
double
JavaSpaces
Tag Library Directive element
new
35. Puts the code into a package
Include Directive element
package
native
Page Directive element
36. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
const
int
Java Remote Method Invocation (RMI)
37. Creates an object from an existing class.
import
Java Interface Definition Language (IDL)
default
new
38. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
long
static
switch
double
39. A tool for checking compliance of applications and applets to a specification.
return
transient
Java Remote Method Invocation (RMI)
JavaCheck
40. Indicates that a method or constructor may pass the buck when an exception is thrown.
abstract
throws
native
MVC Architecture
41. 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
assert
Java Remote Method Invocation (RMI)
Page Directive element
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.
if
const
Jini Technology
char
43. 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
JBossn
JavaSafe
Java Interface Definition Language (IDL)
strictfp
44. Introduces statements that are watched (during runtime) for things that can go wrong.
try
finally
JavaSafe
Page-centric architecture
45. Jumps out of a loop or switch.
switch
break
for
default
46. 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.
IIOP (Internet Inter-ORB Protocol)
goto
transient
float
47. Two Servlet API packages: javax.servlet.* ___________
Update
protected
javax.servlet.http.*
Java Media APIs
48. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
return
strictfp
try
transient
49. Introduces a path of execution to take when no case is a match in a switch statement.
default
static
Servlet container
do
50. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Java Applet Definition
JBossn
native
DOM (Document Object Model)