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. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
Java Interface Definition Language (IDL)
if
switch
else
2. Refers to the superclass of the code in which the word super appears.
DTD (Document Type Definition)
interface
import
super
3. A tool for tracking and managing source file changes - written in Java.
goto
JavaSafe
Scriptlets
Java Naming and Directory Interface (JNDI)
4. A protocol used for communication between CORBA object request brokers.
Jini Technology
IIOP (Internet Inter-ORB Protocol)
Java Interface Definition Language (IDL)
protected
5. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
continue
Page-centric architecture
this
float
6. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Page-centric architecture
JavaCheck
Java Foundation Classes (JFC)
case
7. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
byte
Java Naming and Directory Interface (JNDI)
implements
8. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
new
Servlet workings
Servlet
9. Introduces statements that are executed when the condition in an if statement isn't true.
continue
implements
default
else
10. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
public
for
JavaSpaces
MVC Architecture
11. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
Java Media Framework
JavaSpaces
new
throw
12. Indicates that a value is a 64-bit whole number.
Java Foundation Classes (JFC)
long
if
Java Platform
13. 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.
try
instanceof
const
volatile
14. 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
JSP
Servlet Chaining
Java Applet Definition
JavaSafe
15. The output of one servlet act as a input to another servlet.
Java Interface Definition Language (IDL)
JSP
Servlet Chaining
jsp:include Action element (with jsp:param)
16. Repeats some statements over and over again (as long as a condition is still true).
javax.servlet.http.*
OS principal
enum
while
17. 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
package
this
Servlet workings
super
18. 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
public
DTD (Document Type Definition)
enum
19. Forces the abrupt end of the current loop iteration and begins another iteration.
const
Java Media APIs
Include Directive element
continue
20. A library than enables CORBA objects to locate and communicate with one another.
Java Interface Definition Language (IDL)
ORB (Object Request Broker)
new
JSP Beans
21. ______ 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
javax.servlet.http.*
JSP
JSP Beans
const
22. Introduces a class
Java Compatibility Kit (JCK)
IIOP (Internet Inter-ORB Protocol)
break
class
23. Jumps out of a loop or switch.
break
while
Servlet workings
JSP Beans
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.
JAR (Java Archive)
Declarations
Java Native Interface
this
25. 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
assert
Java Compatibility Kit (JCK)
Servlet Chaining
26. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
JBossn
byte
Servlet Aliasing
package
27. A definition of the interfaces that permit CORBA objects to participate in transactions.
Servlet
OTS (Object Transaction Service)
do
Servlet Aliasing
28. Used to terminate the execution of the current JSP page and switch control to another resource
Servlet workings
javax.servlet.http.*
jsp:forware Action element (with jsp:param)
JavaBeans
29. Indicates that a variable or method can be used only within a certain class.
private
implements
long
Java Database Connectivity (JDBC)
30. Indicates that a value is a 32-bit whole number.
int
break
wrapper class
Java Compatibility Kit (JCK)
31. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
class
Java Compatibility Kit (JCK)
Declarations
32. 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
try
transient
goto
33. Introduces one of several possible paths of execution in a switch statement.
byte
switch
JDK (Java Development Kit)
case
34. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
JavaCheck
new
short
35. 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
JAR (Java Archive)
Java Interface Definition Language (IDL)
JavaScript
ORB (Object Request Broker)
36. 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.
Java Remote Method Invocation (RMI)
goto
float
boolean
37. Reuses the functionality from a previously defined interface.
return
implements
Java Native Interface
goto
38. Creates a newly defined type
Page-centric architecture
Java Database Connectivity (JDBC)
Update
enum
39. Two Servlet API packages: javax.servlet.* ___________
case
Servlet container
goto
javax.servlet.http.*
40. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
strictfp
import
void
IIOP (Internet Inter-ORB Protocol)
41. Indicates that a value is an 8-bit whole number.
final
byte
return
abstract
42. Enables the programmer to abbreviate the names of classes defined in a package.
import
Java Applet Definition
double precision
Java Native Interface
43. Basic code block of a JSP page
double
Tag Library Directive element
Scriptlets
Include Directive element
44. A software development environment for writing applets and application in Java .
else
interface
Servlet Aliasing
JDK (Java Development Kit)
45. A set of APIs that assists with the interfacing to multiple naming and directory services.
double
abstract
Java Naming and Directory Interface (JNDI)
case
46. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
Java Remote Method Invocation (RMI)
extends
Java Naming and Directory Interface (JNDI)
47. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
long
catch
Servlet
this
48. A class that wraps primitives - Integer or Boolean...
throw
short
JavaCheck
wrapper class
49. Introduces a path of execution to take when no case is a match in a switch statement.
Java Runtime Environment (JRE)
abstract
default
Java Platform
50. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
JavaCheck
Servlet Chaining
do