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 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.
jsp:include Action element (with jsp:param)
JavaScript
Java Naming and Directory Interface (JNDI)
final
2. Indicates that a value is an 8-bit whole number.
private
byte
instanceof
boolean
3. Enables the programmer to abbreviate the names of classes defined in a package.
enum
JavaSafe
JavaBeans
import
4. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
byte
Java Foundation Classes (JFC)
transient
abstract
5. 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
Servlet container
JavaSafe
transient
6. 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 Development Kit (JDK)
Servlet
OTS (Object Transaction Service)
long
7. Indicates that a variable or method can be used in subclasses from another package.
private
protected
Servlet Aliasing
double
8. A set of APIs that support the integration of audio and video clips & 2D fonts & graphics and images as well as 3D models and telephony.
Tag Library Directive element
CORBA
Java Media APIs
synchronized
9. CRUD: Create - Retrieve - ________ - Delete
for
Update
POA (Portable Object Adapter)
case
10. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
public
JavaSpaces
throws
Java Compatibility Kit (JCK)
11. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
package
JBossn
DTD (Document Type Definition)
CORBA
12. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
jsp:include Action element (with jsp:param)
short
final
Servlet
13. Useful only for small sites
return
JBossn
Page-centric architecture
JavaCheck
14. Includes a file in the page
abstract
Servlet
Include Directive element
while
15. Introduces an interface which is like a class but less specific.
private
assert
interface
Tag Library Directive element
16. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Java Native Interface
Update
Java virtual machine
double precision
17. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
JSP
default
void
18. A principal native to the operating system on which the Java platform is executing.
Java Native Interface
OS principal
Java virtual machine
volatile
19. Indicates that a variable or method can be used only within a certain class.
private
throws
Include Directive element
Java Compatibility Kit (JCK)
20. Used to terminate the execution of the current JSP page and switch control to another resource
OS principal
Servlet container
jsp:forware Action element (with jsp:param)
short
21. 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).
Jini Technology
Declarations
Servlet Chaining
Java virtual machine
22. Introduces a path of execution to take when no case is a match in a switch statement.
float
native
Java Foundation Classes (JFC)
default
23. Indicates that a value is a 64-bit whole number.
synchronized
Java Database Connectivity (JDBC)
long
Java Applet Definition
24. A tool for checking compliance of applications and applets to a specification.
int
JavaCheck
import
Java Applet Definition
25. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
import
JSP Beans
Java Naming and Directory Interface (JNDI)
26. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
DOM (Document Object Model)
Java Foundation Classes (JFC)
Java Compatibility Kit (JCK)
Scriptlets
27. 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.
Java Database Connectivity (JDBC)
Java Applet Definition
private
implements
28. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
volatile
Java Foundation Classes (JFC)
try
double
29. 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.
finally
Jini Technology
Java Media Framework
assert
30. Indicates that a method doesn't return a value.
short
void
Java Platform
wrapper class
31. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
int
javax.servlet.http.*
float
jsp:forware Action element (with jsp:param)
32. Used to generate HTML
float
jsp:plugin (uses jsp:params and jsp:fallback)
Scriptlets
ORB (Object Request Broker)
33. Ends execution of a method and possibly returns a value to the calling code.
return
super
implements
default
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 const variable.
JavaBeans
return
OS principal
const
35. 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
return
Java Interface Definition Language (IDL)
Servlet workings
native
36. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
assert
strictfp
jsp:forware Action element (with jsp:param)
Java Interface Definition Language (IDL)
37. 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.
boolean
Include Directive element
Servlet workings
Java Native Interface
38. Reuses the functionality from a previously defined interface.
javax.servlet.http.*
volatile
Servlet
implements
39. A protocol used for communication between CORBA object request brokers.
Declarations
long
IIOP (Internet Inter-ORB Protocol)
Java virtual machine
40. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
else
transient
goto
throw
41. A set of APIs that assists with the interfacing to multiple naming and directory services.
enum
Java Foundation Classes (JFC)
JSP
Java Naming and Directory Interface (JNDI)
42. 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
Update
Java Applet Definition
boolean
Java Platform
43. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
interface
break
abstract
44. Introduces one of several possible paths of execution in a switch statement.
Java Native Interface
Java Applet Definition
case
strictfp
45. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
goto
Java Runtime Environment (JRE)
catch
do
46. Jumps out of a loop or switch.
break
OS principal
goto
JavaCheck
47. Indicates that a value is either true or false in the Java sense.
wrapper class
Java Remote Method Invocation (RMI)
Java virtual machine
boolean
48. The output of one servlet act as a input to another servlet.
double
char
transient
Servlet Chaining
49. Creates a newly defined type
assert
long
enum
Semaphore
50. 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()
if
Java Development Kit (JDK)
while
Declarations