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 tool for tracking and managing source file changes - written in Java.
JavaSafe
Servlet
Servlet Chaining
JavaSpaces
2. Indicates that a variable or method can be used only within a certain class.
private
JBossn
do
JavaBeans
3. CRUD: Create - Retrieve - ________ - Delete
static
jsp:forware Action element (with jsp:param)
Update
Page-centric architecture
4. 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.
long
Java Media APIs
JavaSafe
Java Compatibility Kit (JCK)
5. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JavaScript
JSP Beans
Servlet
JDK (Java Development Kit)
6. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
interface
byte
JavaCheck
7. Introduces a class
Java Foundation Classes (JFC)
class
instanceof
Java Media Framework
8. 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()
default
import
Java Development Kit (JDK)
Declarations
9. Creates a subclass
Java Database Connectivity (JDBC)
Servlet Chaining
Servlet workings
extends
10. 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.
volatile
Java Database Connectivity (JDBC)
Java Development Kit (JDK)
throws
11. A class that wraps primitives - Integer or Boolean...
throw
wrapper class
long
JavaBeans
12. Indicates that a value is a 64-bit whole number.
OS principal
long
Declarations
JDK (Java Development Kit)
13. A distributed object model for Java program to Java program in which the methods of remote objects written in the Java programming language can be invoked from other Java virtual machines1 - possibly on different hosts.
for
Java Remote Method Invocation (RMI)
catch
public
14. A protocol used for communication between CORBA object request brokers.
assert
Java Foundation Classes (JFC)
public
IIOP (Internet Inter-ORB Protocol)
15. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
strictfp
new
Java Compatibility Kit (JCK)
16. Introduces an interface which is like a class but less specific.
interface
JBossn
Expressions
Java Media Framework
17. Keeps two threads from interfering with one another.
synchronized
final
Java virtual machine
else
18. Introduces a path of execution to take when no case is a match in a switch statement.
default
JDK (Java Development Kit)
jsp:forware Action element (with jsp:param)
Java Media Framework
19. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
jsp:plugin (uses jsp:params and jsp:fallback)
JSP Beans
DOM (Document Object Model)
JavaBeans
20. Useful only for small sites
implements
Page-centric architecture
OTS (Object Transaction Service)
break
21. Refers to the superclass of the code in which the word super appears.
Scriptlets
Java Development Kit (JDK)
default
super
22. A principal native to the operating system on which the Java platform is executing.
JSP
double
Expressions
OS principal
23. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
extends
boolean
JavaBeans
24. Indicates that a value is a 32-bit whole number.
implements
int
enum
package
25. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
JavaScript
interface
native
OS principal
26. Indicates that a method doesn't return a value.
void
POA (Portable Object Adapter)
Java Database Connectivity (JDBC)
jsp:forware Action element (with jsp:param)
27. Basic code block of a JSP page
throws
Scriptlets
float
synchronized
28. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java Native Interface
Page Directive element
Semaphore
Java Database Connectivity (JDBC)
29. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
assert
while
char
jsp:plugin (uses jsp:params and jsp:fallback)
30. Indicates that a variable or method can be used in subclasses from another package.
protected
Java Interface Definition Language (IDL)
this
Java virtual machine
31. Repeats some statements over and over again (as long as a condition is still true).
do
byte
while
synchronized
32. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
JavaBeans
wrapper class
package
33. Similar to the include Directive but can pass information to the included resource
switch
jsp:include Action element (with jsp:param)
do
Java Media Framework
34. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
Java Runtime Environment (JRE)
Jini Technology
double precision
35. Indicates that a variable or class or method can be used by any other Java code.
Java Foundation Classes (JFC)
Java Media APIs
finally
public
36. 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).
JDK (Java Development Kit)
Servlet workings
Java virtual machine
Java Foundation Classes (JFC)
37. A special Java servlet-aware web server process.
Servlet container
DOM (Document Object Model)
return
IIOP (Internet Inter-ORB Protocol)
38. Creates a newly defined type
OTS (Object Transaction Service)
assert
enum
Servlet workings
39. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Java Native Interface
switch
do
ORB (Object Request Broker)
40. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
try
ORB (Object Request Broker)
final
jsp:forware Action element (with jsp:param)
41. Jumps out of a loop or switch.
void
static
break
continue
42. Two Servlet API packages: javax.servlet.* ___________
return
javax.servlet.http.*
transient
POA (Portable Object Adapter)
43. A description of the structure and properties of a class of XML files.
native
Servlet Aliasing
DTD (Document Type Definition)
Scriptlets
44. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
abstract
double
void
case
45. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
Java Database Connectivity (JDBC)
catch
assert
Java Development Kit (JDK)
46. An opensource Java Application Server
volatile
transient
JBossn
for
47. 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
return
JAR (Java Archive)
if
Java Foundation Classes (JFC)
48. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
jsp:forware Action element (with jsp:param)
protected
Java Foundation Classes (JFC)
Java Applet Definition
49. 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.
implements
Java Native Interface
break
synchronized
50. Used to generate HTML
Scriptlets
Servlet
jsp:plugin (uses jsp:params and jsp:fallback)
Java Applet Definition