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. An opensource Java Application Server
implements
JBossn
Java Platform
throws
2. A set of APIs that assists with the interfacing to multiple naming and directory services.
Page-centric architecture
Java Interface Definition Language (IDL)
Java Development Kit (JDK)
Java Naming and Directory Interface (JNDI)
3. Indicates that a value is either true or false in the Java sense.
assert
boolean
this
Java Remote Method Invocation (RMI)
4. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
void
if
return
new
5. Similar to the include Directive but can pass information to the included resource
jsp:include Action element (with jsp:param)
Expressions
boolean
try
6. Indicates that a method doesn't return a value.
void
new
Servlet
private
7. Useful only for small sites
default
native
Page-centric architecture
DOM (Document Object Model)
8. The output of one servlet act as a input to another servlet.
Servlet Chaining
Java Media Framework
Java Foundation Classes (JFC)
Update
9. 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
JSP Beans
double
ORB (Object Request Broker)
Java Interface Definition Language (IDL)
10. 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).
boolean
Java virtual machine
this
catch
11. Repeats some statements over and over again (as long as a condition is still true).
native
while
strictfp
implements
12. 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.
Java Media APIs
synchronized
short
MVC Architecture
13. 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
Servlet workings
OS principal
javax.servlet.http.*
volatile
14. Indicates that a variable or method can be used only within a certain class.
Expressions
switch
Scriptlets
private
15. 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.
abstract
for
Java Remote Method Invocation (RMI)
POA (Portable Object Adapter)
16. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
extends
long
protected
17. 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.
CORBA
volatile
goto
jsp:include Action element (with jsp:param)
18. A tool for tracking and managing source file changes - written in Java.
Java Development Kit (JDK)
finally
JavaSafe
JAR (Java Archive)
19. Includes a file in the page
Include Directive element
const
Java Runtime Environment (JRE)
JAR (Java Archive)
20. Jumps out of a loop or switch.
JavaSafe
jsp:forware Action element (with jsp:param)
Tag Library Directive element
break
21. 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.
do
Java Native Interface
jsp:forware Action element (with jsp:param)
JSP Beans
22. Creates a newly defined type
Servlet workings
volatile
const
enum
23. A Java class that can be loaded into and run dynamically in a Servlet container on a web server; interact with web clients via a request-response model based on HTTP.
Servlet
JavaSpaces
Java Development Kit (JDK)
byte
24. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
long
catch
javax.servlet.http.*
import
25. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
try
byte
for
Java virtual machine
26. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Servlet container
Java Native Interface
JSP Beans
long
27. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
byte
catch
class
JavaSpaces
28. 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 Native Interface
Java virtual machine
throws
Java Media Framework
29. Introduces a path of execution to take when no case is a match in a switch statement.
long
import
default
Java virtual machine
30. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
switch
super
Page-centric architecture
31. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
int
JBossn
Expressions
OS principal
32. Forces the abrupt end of the current loop iteration and begins another iteration.
static
strictfp
continue
Java Media Framework
33. Ends execution of a method and possibly returns a value to the calling code.
char
Java Native Interface
return
strictfp
34. Indicates that a value is a 16-bit whole number.
public
const
short
JAR (Java Archive)
35. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
do
class
switch
strictfp
36. A definition of the interfaces that permit CORBA objects to participate in transactions.
Declarations
break
case
OTS (Object Transaction Service)
37. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
switch
abstract
jsp:include Action element (with jsp:param)
JavaSpaces
38. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Media APIs
interface
extends
transient
39. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
jsp:forware Action element (with jsp:param)
package
final
float
40. Used to terminate the execution of the current JSP page and switch control to another resource
byte
jsp:forware Action element (with jsp:param)
IIOP (Internet Inter-ORB Protocol)
const
41. Indicates that a method or constructor may pass the buck when an exception is thrown.
Java Interface Definition Language (IDL)
Page-centric architecture
default
throws
42. 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
DTD (Document Type Definition)
case
JAR (Java Archive)
static
43. Two Servlet API packages: javax.servlet.* ___________
Java Development Kit (JDK)
javax.servlet.http.*
POA (Portable Object Adapter)
JSP
44. 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.
enum
const
JavaSpaces
Java Platform
45. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
Java Remote Method Invocation (RMI)
Java Runtime Environment (JRE)
synchronized
46. 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)
short
byte
Update
47. Creates a subclass
switch
transient
ORB (Object Request Broker)
extends
48. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
JavaCheck
native
JSP Beans
Semaphore
49. Imposes strict rules on the use of a variable by more than one thread at a time.
abstract
boolean
volatile
assert
50. A description of the structure and properties of a class of XML files.
extends
private
DTD (Document Type Definition)
Java Media Framework