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. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
try
return
Java Interface Definition Language (IDL)
2. A definition of the interfaces that permit CORBA objects to participate in transactions.
JavaSpaces
Tag Library Directive element
Scriptlets
OTS (Object Transaction Service)
3. Puts the code into a package
Servlet workings
jsp:forware Action element (with jsp:param)
package
static
4. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
throws
OS principal
import
5. 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.
throw
JavaCheck
Java Media Framework
synchronized
6. Similar to the include Directive but can pass information to the included resource
Java Runtime Environment (JRE)
float
Servlet Aliasing
jsp:include Action element (with jsp:param)
7. Introduces statements that are executed when the condition in an if statement isn't true.
instanceof
else
JavaSafe
Java Foundation Classes (JFC)
8. Sets attributes and properties specific to the current JSP page
Java Media APIs
Java Native Interface
case
Page Directive element
9. Keeps two threads from interfering with one another.
Java Interface Definition Language (IDL)
interface
synchronized
this
10. A class that wraps primitives - Integer or Boolean...
wrapper class
finally
Java Naming and Directory Interface (JNDI)
Declarations
11. 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
JSP Beans
abstract
Declarations
12. 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).
JSP Beans
Include Directive element
Java Platform
package
13. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Java Applet Definition
JSP
abstract
Include Directive element
14. Indicates that a variable or class or method can be used by any other Java code.
boolean
new
break
public
15. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
Java Platform
ORB (Object Request Broker)
Java virtual machine
16. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
JAR (Java Archive)
OS principal
enum
throw
17. 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)
assert
strictfp
throws
18. Reuses the functionality from a previously defined interface.
return
JavaBeans
JSP
implements
19. CRUD: Create - Retrieve - ________ - Delete
Update
JSP Beans
int
DOM (Document Object Model)
20. 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.
else
const
Expressions
break
21. Indicates that a value is an 8-bit whole number.
Servlet workings
return
byte
import
22. Jumps out of a loop or switch.
break
extends
Servlet Aliasing
new
23. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
native
Expressions
default
Include Directive element
24. Indicates that a variable or method can be used only within a certain class.
static
catch
Java Platform
private
25. 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
import
Java Runtime Environment (JRE)
Java Interface Definition Language (IDL)
Jini Technology
26. A software development environment for writing applets and application in Java .
Page Directive element
instanceof
JDK (Java Development Kit)
JSP
27. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Java Database Connectivity (JDBC)
for
Servlet
MVC Architecture
28. Indicates that a method doesn't return a value.
JSP Beans
void
strictfp
Jini Technology
29. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
DTD (Document Type Definition)
JavaBeans
else
final
30. Creates an object from an existing class.
new
byte
final
DTD (Document Type Definition)
31. Introduces one of several possible paths of execution in a switch statement.
else
Include Directive element
case
protected
32. Includes a file in the page
strictfp
abstract
Include Directive element
Java Naming and Directory Interface (JNDI)
33. A protocol used for communication between CORBA object request brokers.
switch
jsp:forware Action element (with jsp:param)
Tag Library Directive element
IIOP (Internet Inter-ORB Protocol)
34. 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
break
OTS (Object Transaction Service)
for
35. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
Java Remote Method Invocation (RMI)
public
interface
36. Introduces the last will and testament of the statements in a try clause.
finally
JSP Beans
Java Naming and Directory Interface (JNDI)
Java Compatibility Kit (JCK)
37. A special Java servlet-aware web server process.
throw
Java Remote Method Invocation (RMI)
POA (Portable Object Adapter)
Servlet container
38. Indicates that a value is a 64-bit whole number.
Java Media Framework
enum
long
static
39. Introduces a path of execution to take when no case is a match in a switch statement.
switch
Java Runtime Environment (JRE)
throws
default
40. Useful only for small sites
float
Update
Page-centric architecture
double
41. Forces the abrupt end of the current loop iteration and begins another iteration.
Java Applet Definition
Java Naming and Directory Interface (JNDI)
continue
while
42. An industry standard for database-independent connectivity between the Java platform and a wide range of databases. The JDBC provides a call-level API for SQL-based database access.
try
Java Database Connectivity (JDBC)
case
javax.servlet.http.*
43. Creates a subclass
JavaBeans
throws
extends
DOM (Document Object Model)
44. 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
do
JavaSpaces
jsp:include Action element (with jsp:param)
Servlet workings
45. The output of one servlet act as a input to another servlet.
Servlet Chaining
Update
long
JavaScript
46. 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
native
javax.servlet.http.*
JDK (Java Development Kit)
47. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
finally
Update
double
instanceof
48. Indicates that a value is a 16-bit whole number.
Update
Java Media Framework
short
JavaBeans
49. Introduces an interface which is like a class but less specific.
Java Native Interface
interface
synchronized
jsp:include Action element (with jsp:param)
50. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Page Directive element
Java Foundation Classes (JFC)
double precision
Scriptlets