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 definition of the interfaces that permit CORBA objects to participate in transactions.
OS principal
switch
Java Database Connectivity (JDBC)
OTS (Object Transaction Service)
2. Keeps two threads from interfering with one another.
synchronized
Servlet Aliasing
double precision
Java Remote Method Invocation (RMI)
3. Indicates that a value is a 64-bit whole number.
goto
JSP
long
JSP Beans
4. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Java Database Connectivity (JDBC)
protected
strictfp
package
5. Useful only for small sites
JAR (Java Archive)
Java Foundation Classes (JFC)
Page-centric architecture
instanceof
6. Jumps out of a loop or switch.
break
catch
package
byte
7. ______ uses HTML-like tags in a "*.jsp" web-page on a web server linked to from the client's web-browser as short-hand to render Java Servlet code in a Java .class file by the Servlet/JSP container (done by the "page-compiler" Servlet) running on the
new
Java Platform
Update
JSP
8. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
Java Native Interface
Declarations
instanceof
9. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
Java Platform
Java Native Interface
Include Directive element
10. A special Java servlet-aware web server process.
extends
Servlet container
float
protected
11. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
OS principal
switch
jsp:include Action element (with jsp:param)
12. A self-reference
Servlet container
this
try
protected
13. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Java Interface Definition Language (IDL)
instanceof
DOM (Document Object Model)
protected
14. Introduces a path of execution to take when no case is a match in a switch statement.
switch
for
default
Java Media Framework
15. 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
throws
DTD (Document Type Definition)
OS principal
MVC Architecture
16. Indicates that a variable or class or method can be used by any other Java code.
jsp:include Action element (with jsp:param)
public
int
Jini Technology
17. Indicates that a variable or method can be used only within a certain class.
case
else
this
private
18. Indicates that a method doesn't return a value.
Scriptlets
CORBA
package
void
19. Introduces the last will and testament of the statements in a try clause.
JSP Beans
abstract
Java Foundation Classes (JFC)
finally
20. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
new
const
char
21. A principal native to the operating system on which the Java platform is executing.
Page Directive element
package
abstract
OS principal
22. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
interface
Java Remote Method Invocation (RMI)
JavaScript
float
23. Sets attributes and properties specific to the current JSP page
static
Page Directive element
Page-centric architecture
jsp:plugin (uses jsp:params and jsp:fallback)
24. Used to generate HTML
JAR (Java Archive)
jsp:plugin (uses jsp:params and jsp:fallback)
enum
else
25. The output of one servlet act as a input to another servlet.
Servlet Chaining
instanceof
throw
int
26. 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.
goto
Page Directive element
OTS (Object Transaction Service)
instanceof
27. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
JSP
transient
goto
short
28. A description of the structure and properties of a class of XML files.
Java Database Connectivity (JDBC)
DTD (Document Type Definition)
Expressions
final
29. 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 Platform
private
throw
Java Interface Definition Language (IDL)
30. Tests to see whether a certain object comes from a certain class.
wrapper class
instanceof
OS principal
native
31. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
implements
Declarations
switch
void
32. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
const
void
Expressions
transient
33. Enables the programmer to abbreviate the names of classes defined in a package.
import
ORB (Object Request Broker)
double precision
catch
34. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
while
Java Compatibility Kit (JCK)
POA (Portable Object Adapter)
Update
35. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
JavaSpaces
Update
Servlet workings
36. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
implements
long
volatile
37. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
JavaScript
Scriptlets
javax.servlet.http.*
throw
38. Indicates that a variable or method belongs to a class rather than to any object created from the class.
Include Directive element
final
Update
static
39. Indicates that a value is either true or false in the Java sense.
boolean
JavaCheck
Java Applet Definition
Servlet workings
40. Introduces statements that are watched (during runtime) for things that can go wrong.
OTS (Object Transaction Service)
assert
try
Page-centric architecture
41. Creates a newly defined type
enum
volatile
IIOP (Internet Inter-ORB Protocol)
boolean
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
char
wrapper class
JSP
JAR (Java Archive)
43. Introduces a class
instanceof
class
ORB (Object Request Broker)
Servlet workings
44. Reuses the functionality from a previously defined interface.
JavaCheck
jsp:forware Action element (with jsp:param)
implements
catch
45. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
private
import
JavaSafe
46. Creates an object from an existing class.
JavaSpaces
Java Interface Definition Language (IDL)
new
throws
47. Similar to the include Directive but can pass information to the included resource
jsp:include Action element (with jsp:param)
OS principal
Include Directive element
Java Native Interface
48. Introduces one of several possible paths of execution in a switch statement.
Jini Technology
case
Java Media APIs
ORB (Object Request Broker)
49. Indicates that a value is a 32-bit whole number.
Tag Library Directive element
int
short
JDK (Java Development Kit)
50. 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 Media Framework
catch
boolean
static