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 protocol used for communication between CORBA object request brokers.
Java Database Connectivity (JDBC)
IIOP (Internet Inter-ORB Protocol)
OTS (Object Transaction Service)
native
2. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
Tag Library Directive element
goto
Java Platform
3. Includes a file in the page
Scriptlets
Jini Technology
Include Directive element
long
4. A principal native to the operating system on which the Java platform is executing.
while
JBossn
OS principal
class
5. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
MVC Architecture
OS principal
Java Media APIs
double precision
6. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
instanceof
throw
char
else
7. 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.
ORB (Object Request Broker)
Java Media APIs
JavaSpaces
char
8. Introduces the last will and testament of the statements in a try clause.
Servlet container
default
finally
this
9. 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.
throw
JavaScript
Java Development Kit (JDK)
Java Compatibility Kit (JCK)
10. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
Servlet
native
Java Runtime Environment (JRE)
double
11. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
float
public
Java Media Framework
enum
12. Repeats some statements over and over again (as long as a condition is still true).
implements
Semaphore
Page Directive element
while
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
JBossn
default
try
14. Indicates that a variable or method can be used in subclasses from another package.
break
Servlet Chaining
interface
protected
15. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Jini Technology
Java Runtime Environment (JRE)
abstract
else
16. A subset of the Java Development Kit (JDK) for end-users and developers who want to redistribute the runtime environment alone. The Java runtime environment consists of the Java virtual machine1 - the Java core classes and supporting files.
int
import
Java Runtime Environment (JRE)
OTS (Object Transaction Service)
17. A tool for tracking and managing source file changes - written in Java.
JavaSafe
JavaScript
package
implements
18. 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
final
Expressions
private
JAR (Java Archive)
19. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
try
default
Page-centric architecture
POA (Portable Object Adapter)
20. The output of one servlet act as a input to another servlet.
javax.servlet.http.*
case
Servlet Chaining
JavaSpaces
21. A software development environment for writing applets and application in Java .
interface
JAR (Java Archive)
ORB (Object Request Broker)
JDK (Java Development Kit)
22. 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()
for
Java Development Kit (JDK)
Declarations
const
23. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
finally
instanceof
Declarations
for
24. Introduces one of several possible paths of execution in a switch statement.
do
interface
case
ORB (Object Request Broker)
25. A special Java servlet-aware web server process.
int
DOM (Document Object Model)
strictfp
Servlet container
26. Indicates that a variable or class or method can be used by any other Java code.
Java Naming and Directory Interface (JNDI)
switch
public
javax.servlet.http.*
27. Introduces statements that are watched (during runtime) for things that can go wrong.
float
Expressions
try
continue
28. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
default
Java Foundation Classes (JFC)
instanceof
29. Indicates that a variable or method belongs to a class rather than to any object created from the class.
native
static
JavaScript
const
30. 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.
Java Database Connectivity (JDBC)
Java Runtime Environment (JRE)
Servlet
Java Applet Definition
31. ______ 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
int
continue
JSP
enum
32. 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.
jsp:forware Action element (with jsp:param)
Servlet container
Java Remote Method Invocation (RMI)
assert
33. Indicates that a value is a 64-bit whole number.
long
wrapper class
goto
enum
34. A set of Java APIs that may be incorporated an optional package for any Java 2 Platform Edition. The Jini APIs enable transparent networking of devices and services and eliminates the need for system or network administration intervention by a user.
Jini Technology
this
JavaScript
OS principal
35. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
byte
return
OS principal
36. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
goto
protected
JavaBeans
finally
37. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
Tag Library Directive element
Java Compatibility Kit (JCK)
Java Database Connectivity (JDBC)
38. Basic code block of a JSP page
package
import
try
Scriptlets
39. A definition of the interfaces that permit CORBA objects to participate in transactions.
Java Native Interface
OTS (Object Transaction Service)
Jini Technology
Page Directive element
40. Keeps two threads from interfering with one another.
jsp:forware Action element (with jsp:param)
MVC Architecture
synchronized
short
41. 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
OS principal
CORBA
Update
42. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
JDK (Java Development Kit)
DTD (Document Type Definition)
Semaphore
JavaBeans
43. Indicates that a method doesn't return a value.
Java Remote Method Invocation (RMI)
void
jsp:plugin (uses jsp:params and jsp:fallback)
throws
44. Indicates that a value is an 8-bit whole number.
import
while
JSP Beans
byte
45. Sets attributes and properties specific to the current JSP page
Java virtual machine
JavaSpaces
double precision
Page Directive element
46. 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 Media APIs
Java Database Connectivity (JDBC)
assert
import
47. Useful only for small sites
continue
JSP
jsp:plugin (uses jsp:params and jsp:fallback)
Page-centric architecture
48. A class that wraps primitives - Integer or Boolean...
JDK (Java Development Kit)
wrapper class
jsp:include Action element (with jsp:param)
int
49. CRUD: Create - Retrieve - ________ - Delete
else
Update
Java Platform
double precision
50. Introduces a path of execution to take when no case is a match in a switch statement.
byte
Declarations
Servlet Chaining
default