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. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
JavaSpaces
static
Servlet Aliasing
strictfp
2. Indicates that a variable or class or method can be used by any other Java code.
native
while
public
Tag Library Directive element
3. 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.
Java Database Connectivity (JDBC)
Java Media APIs
JavaScript
Servlet container
4. A class that wraps primitives - Integer or Boolean...
native
Java Native Interface
wrapper class
goto
5. Indicates that a method or constructor may pass the buck when an exception is thrown.
Java Platform
Expressions
throws
Servlet container
6. 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()
DTD (Document Type Definition)
jsp:plugin (uses jsp:params and jsp:fallback)
Declarations
JavaCheck
7. 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 Remote Method Invocation (RMI)
Java Platform
Java Native Interface
OTS (Object Transaction Service)
8. 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 Beans
Expressions
Servlet Aliasing
Servlet workings
9. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
finally
DOM (Document Object Model)
Servlet workings
10. Creates an object from an existing class.
new
JavaSafe
default
DTD (Document Type Definition)
11. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Java Naming and Directory Interface (JNDI)
Servlet Aliasing
catch
import
12. 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.
enum
Java Development Kit (JDK)
JavaSafe
throws
13. CRUD: Create - Retrieve - ________ - Delete
OTS (Object Transaction Service)
void
if
Update
14. Tests the truth of a condition that the programmer believes is true.
assert
Java Development Kit (JDK)
protected
ORB (Object Request Broker)
15. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
double
Page Directive element
int
JBossn
16. 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
Servlet workings
Java Development Kit (JDK)
long
Java Applet Definition
17. 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.
Servlet
JavaBeans
OTS (Object Transaction Service)
goto
18. Introduces a path of execution to take when no case is a match in a switch statement.
CORBA
transient
protected
default
19. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
finally
Java virtual machine
Servlet workings
JSP Beans
20. Similar to the include Directive but can pass information to the included resource
POA (Portable Object Adapter)
Page-centric architecture
jsp:include Action element (with jsp:param)
Java Database Connectivity (JDBC)
21. 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.
do
protected
double precision
Java Native Interface
22. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
super
Servlet Aliasing
case
char
23. Indicates that a value is a 64-bit whole number.
void
long
interface
super
24. A library than enables CORBA objects to locate and communicate with one another.
Expressions
Servlet Aliasing
ORB (Object Request Broker)
Java Applet Definition
25. 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.
Servlet workings
wrapper class
Jini Technology
jsp:forware Action element (with jsp:param)
26. Introduces statements that are executed when the condition in an if statement isn't true.
Scriptlets
else
POA (Portable Object Adapter)
OTS (Object Transaction Service)
27. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
JSP
DOM (Document Object Model)
try
for
28. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
OTS (Object Transaction Service)
Expressions
Servlet
const
29. Introduces one of several possible paths of execution in a switch statement.
default
enum
Java virtual machine
case
30. Includes a file in the page
assert
goto
Include Directive element
DOM (Document Object Model)
31. 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
JDK (Java Development Kit)
Java Media APIs
MVC Architecture
javax.servlet.http.*
32. Indicates that a value is either true or false in the Java sense.
jsp:include Action element (with jsp:param)
boolean
ORB (Object Request Broker)
Java Interface Definition Language (IDL)
33. Used to terminate the execution of the current JSP page and switch control to another resource
protected
continue
assert
jsp:forware Action element (with jsp:param)
34. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Java Foundation Classes (JFC)
JavaBeans
Java Compatibility Kit (JCK)
Java Media Framework
35. Introduces a class
class
POA (Portable Object Adapter)
OS principal
static
36. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
JavaCheck
Servlet container
implements
37. Enables the programmer to abbreviate the names of classes defined in a package.
boolean
throw
import
continue
38. Tests to see whether a certain object comes from a certain class.
instanceof
Java Foundation Classes (JFC)
abstract
finally
39. Puts the code into a package
public
int
package
new
40. A set of APIs that assists with the interfacing to multiple naming and directory services.
long
Java Naming and Directory Interface (JNDI)
assert
Expressions
41. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
OTS (Object Transaction Service)
Include Directive element
implements
42. Indicates that a variable or method can be used only within a certain class.
Java Remote Method Invocation (RMI)
Java Platform
private
jsp:include Action element (with jsp:param)
43. Two Servlet API packages: javax.servlet.* ___________
JDK (Java Development Kit)
javax.servlet.http.*
JavaCheck
wrapper class
44. Repeats some statements over and over again (as long as a condition is still true).
DOM (Document Object Model)
POA (Portable Object Adapter)
while
package
45. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
do
Java Foundation Classes (JFC)
short
Java Compatibility Kit (JCK)
46. A protocol used for communication between CORBA object request brokers.
strictfp
Semaphore
while
IIOP (Internet Inter-ORB Protocol)
47. A principal native to the operating system on which the Java platform is executing.
void
byte
Java Media Framework
OS principal
48. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Expressions
final
Tag Library Directive element
jsp:include Action element (with jsp:param)
49. Introduces the last will and testament of the statements in a try clause.
jsp:forware Action element (with jsp:param)
byte
native
finally
50. A self-reference
float
this
implements
new