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. The output of one servlet act as a input to another servlet.
byte
enum
JSP
Servlet Chaining
2. 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.
protected
synchronized
Java Media Framework
new
3. Forces the abrupt end of the current loop iteration and begins another iteration.
Java Applet Definition
continue
double
byte
4. 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).
Java Platform
Java virtual machine
return
JAR (Java Archive)
5. Indicates that a value is a 64-bit whole number.
Update
public
float
long
6. 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.
char
JavaSpaces
Java Development Kit (JDK)
public
7. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
DTD (Document Type Definition)
float
MVC Architecture
jsp:include Action element (with jsp:param)
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
Servlet workings
Tag Library Directive element
JSP Beans
static
9. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
switch
abstract
ORB (Object Request Broker)
Java Applet Definition
10. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
OS principal
throw
volatile
void
11. 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.
assert
interface
Java Runtime Environment (JRE)
while
12. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
JavaSpaces
continue
OTS (Object Transaction Service)
13. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Expressions
Java Runtime Environment (JRE)
final
JSP Beans
14. A principal native to the operating system on which the Java platform is executing.
MVC Architecture
int
JBossn
OS principal
15. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
assert
native
Expressions
double precision
16. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Native Interface
for
Java Naming and Directory Interface (JNDI)
Expressions
17. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
DOM (Document Object Model)
Page-centric architecture
JDK (Java Development Kit)
18. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
Jini Technology
case
Page-centric architecture
19. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Update
while
JavaSpaces
catch
20. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
POA (Portable Object Adapter)
JAR (Java Archive)
catch
native
21. 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
interface
Include Directive element
else
22. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
case
Java Applet Definition
Semaphore
23. A library than enables CORBA objects to locate and communicate with one another.
POA (Portable Object Adapter)
ORB (Object Request Broker)
do
JDK (Java Development Kit)
24. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
else
JavaBeans
instanceof
25. Enables the programmer to abbreviate the names of classes defined in a package.
import
extends
try
Java Interface Definition Language (IDL)
26. 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()
short
throws
Declarations
Java Compatibility Kit (JCK)
27. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
CORBA
throw
Servlet container
transient
28. An opensource Java Application Server
Servlet Chaining
JBossn
Java Foundation Classes (JFC)
Java Media APIs
29. Repeats some statements over and over again (as long as a condition is still true).
while
Java Platform
extends
Update
30. 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).
Java Platform
byte
Update
public
31. 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
const
MVC Architecture
strictfp
double
32. Indicates that a value is a 16-bit whole number.
ORB (Object Request Broker)
Servlet Aliasing
short
extends
33. A special Java servlet-aware web server process.
Servlet workings
JavaScript
long
Servlet container
34. Two Servlet API packages: javax.servlet.* ___________
Java Database Connectivity (JDBC)
if
package
javax.servlet.http.*
35. Tests to see whether a certain object comes from a certain class.
Java Database Connectivity (JDBC)
ORB (Object Request Broker)
instanceof
JDK (Java Development Kit)
36. Introduces an interface which is like a class but less specific.
Scriptlets
assert
CORBA
interface
37. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
for
CORBA
super
jsp:forware Action element (with jsp:param)
38. A tool for tracking and managing source file changes - written in Java.
JavaSafe
jsp:forware Action element (with jsp:param)
import
Page Directive element
39. Introduces one of several possible paths of execution in a switch statement.
Page-centric architecture
case
Java Media Framework
Page Directive element
40. Indicates that a method doesn't return a value.
POA (Portable Object Adapter)
transient
void
MVC Architecture
41. A tool for checking compliance of applications and applets to a specification.
while
JavaCheck
switch
JavaSpaces
42. Indicates that a value is either true or false in the Java sense.
jsp:forware Action element (with jsp:param)
class
boolean
Servlet container
43. Ends execution of a method and possibly returns a value to the calling code.
wrapper class
return
Page Directive element
Java virtual machine
44. Basic code block of a JSP page
Scriptlets
for
package
void
45. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Servlet workings
Page-centric architecture
do
throws
46. Indicates that a method or constructor may pass the buck when an exception is thrown.
Java Media Framework
package
throws
jsp:forware Action element (with jsp:param)
47. Imposes strict rules on the use of a variable by more than one thread at a time.
wrapper class
int
volatile
OTS (Object Transaction Service)
48. Introduces a path of execution to take when no case is a match in a switch statement.
JAR (Java Archive)
static
default
const
49. 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 Database Connectivity (JDBC)
break
enum
extends
50. A class that wraps primitives - Integer or Boolean...
return
JSP
wrapper class
Tag Library Directive element