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 a class
class
OTS (Object Transaction Service)
if
goto
2. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
extends
boolean
default
do
3. Introduces an interface which is like a class but less specific.
interface
byte
public
Java Native Interface
4. Indicates that a value is a 32-bit whole number.
CORBA
int
Servlet workings
Java Foundation Classes (JFC)
5. Tests to see whether a certain object comes from a certain class.
while
instanceof
jsp:plugin (uses jsp:params and jsp:fallback)
ORB (Object Request Broker)
6. 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.
Java Native Interface
Scriptlets
Semaphore
Page Directive element
7. Enables the programmer to abbreviate the names of classes defined in a package.
Java Naming and Directory Interface (JNDI)
strictfp
JSP
import
8. A protocol used for communication between CORBA object request brokers.
int
IIOP (Internet Inter-ORB Protocol)
Java Runtime Environment (JRE)
throw
9. Indicates that a value is either true or false in the Java sense.
assert
jsp:include Action element (with jsp:param)
boolean
jsp:plugin (uses jsp:params and jsp:fallback)
10. CRUD: Create - Retrieve - ________ - Delete
Java Applet Definition
Java Foundation Classes (JFC)
Java Database Connectivity (JDBC)
Update
11. A software "execution engine" that safely and compatibly executes the byte codes in Java class files on a microprocessor (whether in a computer or in another electronic device).
float
Java virtual machine
super
Page-centric architecture
12. Sets attributes and properties specific to the current JSP page
Page Directive element
protected
public
Jini Technology
13. Indicates that a variable or class or method can be used by any other Java code.
throws
long
this
public
14. Includes a file in the page
package
class
Update
Include Directive element
15. A special Java servlet-aware web server process.
Java Interface Definition Language (IDL)
Servlet container
long
package
16. Keeps two threads from interfering with one another.
interface
JBossn
synchronized
for
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
strictfp
Java Interface Definition Language (IDL)
JAR (Java Archive)
throws
18. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
JavaSafe
OTS (Object Transaction Service)
Java Applet Definition
19. Basic code block of a JSP page
do
Scriptlets
Include Directive element
JavaCheck
20. Imposes strict rules on the use of a variable by more than one thread at a time.
void
JavaBeans
double precision
volatile
21. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Servlet Aliasing
strictfp
protected
Java Foundation Classes (JFC)
22. The output of one servlet act as a input to another servlet.
JavaScript
Page-centric architecture
Servlet Chaining
MVC Architecture
23. Indicates that a method or constructor may pass the buck when an exception is thrown.
JDK (Java Development Kit)
throws
for
Page Directive element
24. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Servlet workings
void
Page-centric architecture
double precision
25. Introduces one of several possible paths of execution in a switch statement.
extends
case
jsp:forware Action element (with jsp:param)
Java Compatibility Kit (JCK)
26. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
static
default
do
27. 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)
Semaphore
Tag Library Directive element
OS principal
28. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
byte
super
Java Media Framework
float
29. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
JavaCheck
JSP Beans
native
30. 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()
Declarations
wrapper class
synchronized
final
31. 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.
Java Naming and Directory Interface (JNDI)
const
Java Media Framework
Update
32. Indicates that a variable or method can be used in subclasses from another package.
short
protected
Page Directive element
JavaScript
33. Used to terminate the execution of the current JSP page and switch control to another resource
char
OTS (Object Transaction Service)
JavaSpaces
jsp:forware Action element (with jsp:param)
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.
Declarations
goto
Java Database Connectivity (JDBC)
wrapper class
35. Introduces statements that are watched (during runtime) for things that can go wrong.
transient
try
DOM (Document Object Model)
Servlet Aliasing
36. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
protected
Servlet Aliasing
abstract
super
37. 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 Platform
abstract
IIOP (Internet Inter-ORB Protocol)
const
38. Indicates that a value is an 8-bit whole number.
throw
else
Java Platform
byte
39. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
JavaScript
super
jsp:forware Action element (with jsp:param)
40. 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.
JSP
POA (Portable Object Adapter)
int
Java Compatibility Kit (JCK)
41. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
DOM (Document Object Model)
POA (Portable Object Adapter)
Java Naming and Directory Interface (JNDI)
Servlet
42. Reuses the functionality from a previously defined interface.
else
synchronized
wrapper class
implements
43. Indicates that a method doesn't return a value.
Java Remote Method Invocation (RMI)
void
while
Java Naming and Directory Interface (JNDI)
44. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
CORBA
javax.servlet.http.*
Java Naming and Directory Interface (JNDI)
Java Foundation Classes (JFC)
45. Repeats some statements over and over again (as long as a condition is still true).
double
while
enum
abstract
46. A class that wraps primitives - Integer or Boolean...
boolean
wrapper class
OTS (Object Transaction Service)
Java Media Framework
47. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
private
else
final
class
48. Creates a newly defined type
enum
case
package
JavaCheck
49. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
Java Interface Definition Language (IDL)
throw
Java Applet Definition
50. Includes a new tag library into page - allows use of tags in page
public
Tag Library Directive element
Java Runtime Environment (JRE)
Update