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. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
JavaSafe
Semaphore
final
switch
2. 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.
short
Scriptlets
jsp:plugin (uses jsp:params and jsp:fallback)
Java Native Interface
3. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
byte
JavaSpaces
protected
break
4. 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()
class
void
Servlet Aliasing
Declarations
5. An opensource Java Application Server
enum
this
IIOP (Internet Inter-ORB Protocol)
JBossn
6. Indicates that a value is a 16-bit whole number.
throws
IIOP (Internet Inter-ORB Protocol)
Servlet
short
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.
Page-centric architecture
Java Applet Definition
Java Media APIs
MVC Architecture
8. A library than enables CORBA objects to locate and communicate with one another.
float
import
ORB (Object Request Broker)
this
9. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
while
this
catch
Servlet container
10. Sets attributes and properties specific to the current JSP page
Page Directive element
goto
Servlet Aliasing
Servlet workings
11. 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.
JavaSafe
short
Java Development Kit (JDK)
transient
12. A special Java servlet-aware web server process.
Servlet container
try
double
int
13. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
boolean
package
throw
goto
14. Reuses the functionality from a previously defined interface.
CORBA
try
implements
short
15. The output of one servlet act as a input to another servlet.
OTS (Object Transaction Service)
Servlet Chaining
Java Runtime Environment (JRE)
const
16. Forces the abrupt end of the current loop iteration and begins another iteration.
Jini Technology
new
continue
jsp:plugin (uses jsp:params and jsp:fallback)
17. 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.
CORBA
JavaScript
Java Compatibility Kit (JCK)
short
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
try
JAR (Java Archive)
Servlet workings
default
19. Enables the programmer to abbreviate the names of classes defined in a package.
Java Naming and Directory Interface (JNDI)
synchronized
import
Servlet Aliasing
20. ______ 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
native
JavaSafe
JSP
do
21. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
Page Directive element
transient
DTD (Document Type Definition)
22. A principal native to the operating system on which the Java platform is executing.
JavaSafe
Java Platform
Servlet Chaining
OS principal
23. 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
Scriptlets
interface
enum
MVC Architecture
24. A description of the structure and properties of a class of XML files.
for
DTD (Document Type Definition)
JavaBeans
interface
25. A tool for checking compliance of applications and applets to a specification.
double
JavaSpaces
JavaCheck
class
26. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
jsp:plugin (uses jsp:params and jsp:fallback)
implements
Scriptlets
native
27. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
throw
Java Interface Definition Language (IDL)
final
else
28. Useful only for small sites
JSP
Page-centric architecture
Java Foundation Classes (JFC)
Java Applet Definition
29. A software development environment for writing applets and application in Java .
POA (Portable Object Adapter)
wrapper class
JDK (Java Development Kit)
JavaBeans
30. Introduces the last will and testament of the statements in a try clause.
short
new
JavaSpaces
finally
31. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
super
DOM (Document Object Model)
POA (Portable Object Adapter)
32. 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).
double
Servlet
Java Platform
Java Interface Definition Language (IDL)
33. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Java virtual machine
for
throw
else
34. Type of Java program (as opposed to a stand-alone program) which is embedded in a web page (requested from a server) and run on a client-side browser
Java Media Framework
Java Development Kit (JDK)
IIOP (Internet Inter-ORB Protocol)
Java Applet Definition
35. Includes a file in the page
Include Directive element
instanceof
Java Media Framework
JavaSafe
36. 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.
ORB (Object Request Broker)
Java Media Framework
Java Development Kit (JDK)
Java Database Connectivity (JDBC)
37. Creates a subclass
jsp:forware Action element (with jsp:param)
extends
Include Directive element
synchronized
38. Indicates that a variable or method can be used in subclasses from another package.
javax.servlet.http.*
protected
class
const
39. Introduces one of several possible paths of execution in a switch statement.
case
JSP
synchronized
break
40. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
const
implements
transient
goto
41. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
Java Runtime Environment (JRE)
jsp:include Action element (with jsp:param)
Page Directive element
double
42. 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
new
Servlet
Page-centric architecture
Servlet workings
43. 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.
JavaScript
Java Runtime Environment (JRE)
Java Foundation Classes (JFC)
if
44. 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
Semaphore
Page-centric architecture
long
45. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
while
do
Page-centric architecture
46. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
throw
Servlet Chaining
char
Servlet container
47. Includes a new tag library into page - allows use of tags in page
final
strictfp
Tag Library Directive element
Java Media APIs
48. Indicates that a method doesn't return a value.
new
Page-centric architecture
void
switch
49. Creates an object from an existing class.
DOM (Document Object Model)
new
Java Compatibility Kit (JCK)
ORB (Object Request Broker)
50. Used to terminate the execution of the current JSP page and switch control to another resource
volatile
goto
jsp:forware Action element (with jsp:param)
double precision