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. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
short
Jini Technology
throw
char
2. 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.
JavaScript
this
Java Media Framework
wrapper class
3. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
for
ORB (Object Request Broker)
JDK (Java Development Kit)
Semaphore
4. Refers to the superclass of the code in which the word super appears.
if
abstract
super
jsp:plugin (uses jsp:params and jsp:fallback)
5. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
char
super
void
for
6. 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)
Java Media Framework
javax.servlet.http.*
interface
7. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
javax.servlet.http.*
throw
Include Directive element
CORBA
8. The output of one servlet act as a input to another servlet.
case
double
class
Servlet Chaining
9. Introduces a class
javax.servlet.http.*
catch
class
implements
10. Basic code block of a JSP page
package
Scriptlets
Java Naming and Directory Interface (JNDI)
jsp:include Action element (with jsp:param)
11. Introduces one of several possible paths of execution in a switch statement.
case
JAR (Java Archive)
void
JDK (Java Development Kit)
12. Introduces the last will and testament of the statements in a try clause.
case
finally
new
catch
13. A tool for tracking and managing source file changes - written in Java.
continue
double
JavaSafe
throw
14. Includes a file in the page
JDK (Java Development Kit)
wrapper class
throw
Include Directive element
15. Enables the programmer to abbreviate the names of classes defined in a package.
import
throws
package
implements
16. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
Servlet workings
implements
Java Interface Definition Language (IDL)
17. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
short
float
Expressions
strictfp
18. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
super
Expressions
for
Declarations
19. 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.
else
implements
Java Naming and Directory Interface (JNDI)
Java Media APIs
20. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
switch
native
long
Java Development Kit (JDK)
21. 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
Java Interface Definition Language (IDL)
this
private
Java Foundation Classes (JFC)
22. Indicates that a value is a 16-bit whole number.
assert
jsp:forware Action element (with jsp:param)
abstract
short
23. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
MVC Architecture
Servlet container
POA (Portable Object Adapter)
Semaphore
24. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Java Remote Method Invocation (RMI)
try
this
do
25. CRUD: Create - Retrieve - ________ - Delete
Update
JavaSafe
MVC Architecture
float
26. 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 Media APIs
Include Directive element
Java Applet Definition
double precision
27. Introduces a path of execution to take when no case is a match in a switch statement.
default
strictfp
JavaSpaces
Tag Library Directive element
28. Used to generate HTML
JavaBeans
jsp:plugin (uses jsp:params and jsp:fallback)
Page Directive element
short
29. A definition of the interfaces that permit CORBA objects to participate in transactions.
Java Naming and Directory Interface (JNDI)
OTS (Object Transaction Service)
assert
IIOP (Internet Inter-ORB Protocol)
30. A set of APIs that assists with the interfacing to multiple naming and directory services.
switch
Java Naming and Directory Interface (JNDI)
byte
OS principal
31. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
CORBA
native
new
32. Puts the code into a package
Servlet container
package
Java Applet Definition
volatile
33. 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.
jsp:forware Action element (with jsp:param)
JBossn
Java Native Interface
Java Naming and Directory Interface (JNDI)
34. 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.
jsp:plugin (uses jsp:params and jsp:fallback)
goto
extends
do
35. Indicates that a value is an 8-bit whole number.
this
Java Compatibility Kit (JCK)
byte
OS principal
36. Indicates that a variable or class or method can be used by any other Java code.
synchronized
public
jsp:include Action element (with jsp:param)
long
37. ______ 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
boolean
JSP
POA (Portable Object Adapter)
const
38. 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
Servlet Chaining
float
MVC Architecture
protected
39. 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
jsp:plugin (uses jsp:params and jsp:fallback)
package
CORBA
40. Indicates that a value is either true or false in the Java sense.
float
boolean
char
Java Compatibility Kit (JCK)
41. Keeps two threads from interfering with one another.
synchronized
Declarations
Java Native Interface
boolean
42. 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.
Update
Java Media Framework
JavaCheck
javax.servlet.http.*
43. A class that wraps primitives - Integer or Boolean...
Scriptlets
wrapper class
Java Media APIs
throw
44. Tests to see whether a certain object comes from a certain class.
instanceof
Java Applet Definition
volatile
float
45. A principal native to the operating system on which the Java platform is executing.
JavaSafe
OS principal
short
while
46. 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
JSP
JAR (Java Archive)
JBossn
POA (Portable Object Adapter)
47. 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.
Java Development Kit (JDK)
Semaphore
const
extends
48. Introduces an interface which is like a class but less specific.
interface
Java Foundation Classes (JFC)
Java Runtime Environment (JRE)
synchronized
49. 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.
static
do
byte
Java Remote Method Invocation (RMI)
50. 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
Servlet workings
Java Interface Definition Language (IDL)
Servlet Aliasing
JavaSafe