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. A software development environment for writing applets and application in Java .
assert
JavaCheck
catch
JDK (Java Development Kit)
2. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
boolean
private
JavaBeans
double
3. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
continue
throw
private
double precision
4. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
strictfp
extends
return
do
5. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
transient
import
Page Directive element
DOM (Document Object Model)
6. Puts the code into a package
package
while
super
Servlet Aliasing
7. Introduces one of several possible paths of execution in a switch statement.
Include Directive element
case
Page-centric architecture
while
8. A tool for checking compliance of applications and applets to a specification.
JSP Beans
JavaCheck
short
Servlet container
9. A definition of the interfaces that permit CORBA objects to participate in transactions.
extends
OTS (Object Transaction Service)
jsp:plugin (uses jsp:params and jsp:fallback)
Servlet Aliasing
10. 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
continue
Java Interface Definition Language (IDL)
wrapper class
MVC Architecture
11. Indicates that a variable or method can be used only within a certain class.
private
Scriptlets
Semaphore
if
12. Indicates that a value is a 32-bit whole number.
int
javax.servlet.http.*
synchronized
Java Foundation Classes (JFC)
13. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
wrapper class
import
Page-centric architecture
14. Indicates that a value is a 64-bit whole number.
Servlet workings
JBossn
long
catch
15. Keeps two threads from interfering with one another.
Scriptlets
Java Database Connectivity (JDBC)
synchronized
native
16. 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
class
wrapper class
int
17. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
assert
const
Servlet Aliasing
super
18. Similar to the include Directive but can pass information to the included resource
double
Declarations
wrapper class
jsp:include Action element (with jsp:param)
19. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
long
for
MVC Architecture
Update
20. 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 Compatibility Kit (JCK)
OTS (Object Transaction Service)
float
Java Development Kit (JDK)
21. CRUD: Create - Retrieve - ________ - Delete
Update
this
class
Java Runtime Environment (JRE)
22. Indicates that a value is an 8-bit whole number.
OS principal
byte
Java Naming and Directory Interface (JNDI)
ORB (Object Request Broker)
23. Imposes strict rules on the use of a variable by more than one thread at a time.
return
volatile
final
Expressions
24. Reuses the functionality from a previously defined interface.
public
implements
ORB (Object Request Broker)
do
25. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
OTS (Object Transaction Service)
float
double
else
26. An opensource Java Application Server
JBossn
wrapper class
default
transient
27. Introduces statements that are executed when the condition in an if statement isn't true.
else
Update
synchronized
Java Database Connectivity (JDBC)
28. 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.
JDK (Java Development Kit)
Expressions
Java Naming and Directory Interface (JNDI)
const
29. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Java Naming and Directory Interface (JNDI)
case
POA (Portable Object Adapter)
byte
30. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
JavaCheck
public
strictfp
static
31. Introduces an interface which is like a class but less specific.
Java Development Kit (JDK)
enum
interface
import
32. A self-reference
super
try
this
interface
33. Repeats some statements over and over again (as long as a condition is still true).
while
JSP
protected
Java Foundation Classes (JFC)
34. Includes a file in the page
transient
Include Directive element
Java Development Kit (JDK)
Update
35. Creates a subclass
Java Remote Method Invocation (RMI)
extends
JAR (Java Archive)
Servlet
36. A tool for tracking and managing source file changes - written in Java.
const
throw
long
JavaSafe
37. Two Servlet API packages: javax.servlet.* ___________
Include Directive element
Java Database Connectivity (JDBC)
Java virtual machine
javax.servlet.http.*
38. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
OS principal
javax.servlet.http.*
throws
double precision
39. A principal native to the operating system on which the Java platform is executing.
long
Servlet
OS principal
Expressions
40. Indicates that a variable or method can be used in subclasses from another package.
JavaCheck
JAR (Java Archive)
protected
Jini Technology
41. The output of one servlet act as a input to another servlet.
Tag Library Directive element
instanceof
const
Servlet Chaining
42. Creates an object from an existing class.
Tag Library Directive element
Java Media Framework
MVC Architecture
new
43. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
JavaBeans
assert
jsp:forware Action element (with jsp:param)
float
44. 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
package
const
JavaSpaces
45. A test suite - a set of tools and other requirements used to certify a Java platform implementation conformant both to the applicable Java platform specifications and to Java Software reference implementations.
boolean
this
Declarations
Java Compatibility Kit (JCK)
46. A special Java servlet-aware web server process.
instanceof
long
Servlet container
MVC Architecture
47. Indicates that a value is a 16-bit whole number.
else
switch
POA (Portable Object Adapter)
short
48. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
JavaSpaces
synchronized
Expressions
49. Introduces statements that are watched (during runtime) for things that can go wrong.
Page-centric architecture
double
try
JSP
50. 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
enum
const
this