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. 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()
switch
abstract
Java Naming and Directory Interface (JNDI)
Declarations
2. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
return
throw
abstract
if
3. Used to generate HTML
DTD (Document Type Definition)
jsp:plugin (uses jsp:params and jsp:fallback)
do
JavaCheck
4. 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)
Jini Technology
Page Directive element
else
5. Indicates that a method or constructor may pass the buck when an exception is thrown.
Jini Technology
Scriptlets
else
throws
6. 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.
protected
JavaScript
transient
char
7. Indicates that a variable or method can be used in subclasses from another package.
Jini Technology
final
Java Remote Method Invocation (RMI)
protected
8. 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
protected
volatile
throw
Servlet workings
9. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
return
boolean
jsp:plugin (uses jsp:params and jsp:fallback)
CORBA
10. Tests to see whether a certain object comes from a certain class.
void
JavaCheck
instanceof
jsp:plugin (uses jsp:params and jsp:fallback)
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).
JavaScript
Jini Technology
CORBA
Java virtual machine
12. 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.
Java virtual machine
Java Compatibility Kit (JCK)
new
Jini Technology
13. Refers to the superclass of the code in which the word super appears.
super
break
new
protected
14. 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.
const
if
POA (Portable Object Adapter)
JavaSpaces
15. Enables the programmer to abbreviate the names of classes defined in a package.
import
const
Servlet Aliasing
implements
16. 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.
Tag Library Directive element
protected
Java Native Interface
static
17. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
import
try
Semaphore
catch
18. Creates a subclass
while
extends
CORBA
Servlet Chaining
19. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
wrapper class
JSP Beans
while
20. A description of the structure and properties of a class of XML files.
Servlet workings
double
DTD (Document Type Definition)
if
21. Repeats some statements over and over again (as long as a condition is still true).
switch
return
while
JDK (Java Development Kit)
22. Indicates that a value is a 32-bit whole number.
int
Java Remote Method Invocation (RMI)
jsp:include Action element (with jsp:param)
if
23. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
Java Database Connectivity (JDBC)
Java Applet Definition
throw
24. Indicates that a method doesn't return a value.
double
synchronized
void
float
25. An opensource Java Application Server
JBossn
for
JSP Beans
finally
26. Reuses the functionality from a previously defined interface.
Servlet container
ORB (Object Request Broker)
short
implements
27. Keeps two threads from interfering with one another.
DOM (Document Object Model)
class
synchronized
transient
28. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
Java Remote Method Invocation (RMI)
catch
POA (Portable Object Adapter)
const
29. 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.
JSP Beans
boolean
goto
Servlet
30. Sets attributes and properties specific to the current JSP page
Servlet
Scriptlets
implements
Page Directive element
31. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
JDK (Java Development Kit)
Java Development Kit (JDK)
boolean
32. Indicates that a value is an 8-bit whole number.
throw
Page-centric architecture
byte
Servlet workings
33. 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.
Scriptlets
Java Media APIs
Jini Technology
case
34. Tests the truth of a condition that the programmer believes is true.
boolean
if
assert
POA (Portable Object Adapter)
35. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
JavaScript
double
DOM (Document Object Model)
OS principal
36. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
DOM (Document Object Model)
long
native
JavaSafe
37. A protocol used for communication between CORBA object request brokers.
break
class
this
IIOP (Internet Inter-ORB Protocol)
38. Introduces a class
Update
class
double
enum
39. Indicates that a value is a 16-bit whole number.
short
OTS (Object Transaction Service)
IIOP (Internet Inter-ORB Protocol)
Java Interface Definition Language (IDL)
40. 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.
JBossn
boolean
Java Media Framework
interface
41. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
native
public
synchronized
strictfp
42. Basic code block of a JSP page
new
assert
JavaCheck
Scriptlets
43. Indicates that a value is either true or false in the Java sense.
Page-centric architecture
boolean
enum
DOM (Document Object Model)
44. 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.
throws
case
Java Remote Method Invocation (RMI)
protected
45. 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
Java virtual machine
MVC Architecture
DTD (Document Type Definition)
Java Development Kit (JDK)
46. 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
private
goto
void
Java Interface Definition Language (IDL)
47. 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).
goto
finally
Java Platform
Java Media APIs
48. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
import
abstract
Update
Page Directive element
49. CRUD: Create - Retrieve - ________ - Delete
private
Update
strictfp
finally
50. Indicates that a variable or class or method can be used by any other Java code.
Servlet
public
DOM (Document Object Model)
JAR (Java Archive)