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. Refers to the superclass of the code in which the word super appears.
import
Declarations
super
OS principal
2. Basic code block of a JSP page
final
Scriptlets
javax.servlet.http.*
instanceof
3. 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.
Java Runtime Environment (JRE)
Expressions
void
Java Native Interface
4. 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)
Servlet Chaining
POA (Portable Object Adapter)
final
5. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Java Runtime Environment (JRE)
javax.servlet.http.*
if
Servlet Aliasing
6. 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
DOM (Document Object Model)
MVC Architecture
short
Update
7. A special Java servlet-aware web server process.
Scriptlets
Servlet container
if
JavaScript
8. Indicates that a value is either true or false in the Java sense.
new
boolean
Semaphore
if
9. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
throw
catch
JSP
final
10. Used to generate HTML
Page Directive element
jsp:plugin (uses jsp:params and jsp:fallback)
JavaCheck
jsp:include Action element (with jsp:param)
11. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
DOM (Document Object Model)
transient
if
Servlet workings
12. 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.
Java Runtime Environment (JRE)
assert
native
long
13. 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()
DOM (Document Object Model)
while
Servlet workings
Declarations
14. 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 Applet Definition
catch
package
Java Media APIs
15. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
Java Interface Definition Language (IDL)
Servlet Chaining
switch
Include Directive element
16. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
transient
Semaphore
double
Update
17. A Web scripting language that is used in both browsers and Web servers. Like all scripting languages it is used primarily to tie other components together or to accept user input.
JavaScript
double
strictfp
do
18. 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.
JavaSafe
abstract
const
Jini Technology
19. A tool for checking compliance of applications and applets to a specification.
while
JavaCheck
abstract
Jini Technology
20. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
char
for
return
assert
21. Imposes strict rules on the use of a variable by more than one thread at a time.
Java Platform
Java Foundation Classes (JFC)
Servlet Chaining
volatile
22. 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.
byte
Servlet
synchronized
double
23. 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.
public
implements
goto
throws
24. A set of APIs that assists with the interfacing to multiple naming and directory services.
Update
throw
Java Naming and Directory Interface (JNDI)
Java virtual machine
25. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
JBossn
Expressions
class
26. A principal native to the operating system on which the Java platform is executing.
JavaCheck
abstract
JavaSpaces
OS principal
27. Useful only for small sites
Java Platform
else
Servlet workings
Page-centric architecture
28. 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 Applet Definition
Java Media APIs
boolean
Java Platform
29. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
double precision
JDK (Java Development Kit)
break
CORBA
30. Jumps out of a loop or switch.
Java Applet Definition
float
break
for
31. 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.
else
Java Development Kit (JDK)
Java Media Framework
JavaBeans
32. 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.
protected
catch
Jini Technology
jsp:plugin (uses jsp:params and jsp:fallback)
33. A description of the structure and properties of a class of XML files.
Declarations
Servlet workings
OS principal
DTD (Document Type Definition)
34. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
catch
Java Media Framework
Declarations
35. Repeats some statements over and over again (as long as a condition is still true).
ORB (Object Request Broker)
IIOP (Internet Inter-ORB Protocol)
enum
while
36. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
continue
assert
long
for
37. Similar to the include Directive but can pass information to the included resource
Java Media APIs
JAR (Java Archive)
jsp:include Action element (with jsp:param)
abstract
38. Reuses the functionality from a previously defined interface.
Java Applet Definition
implements
Java Runtime Environment (JRE)
protected
39. Indicates that a method or constructor may pass the buck when an exception is thrown.
case
package
throws
IIOP (Internet Inter-ORB Protocol)
40. A protocol used for communication between CORBA object request brokers.
ORB (Object Request Broker)
Java Runtime Environment (JRE)
IIOP (Internet Inter-ORB Protocol)
interface
41. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Servlet container
JBossn
return
POA (Portable Object Adapter)
42. A self-reference
assert
this
Servlet workings
jsp:forware Action element (with jsp:param)
43. Introduces statements that are watched (during runtime) for things that can go wrong.
strictfp
transient
try
synchronized
44. Introduces an interface which is like a class but less specific.
if
default
jsp:forware Action element (with jsp:param)
interface
45. Tests to see whether a certain object comes from a certain class.
abstract
jsp:forware Action element (with jsp:param)
instanceof
for
46. 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
JBossn
Servlet workings
while
JavaSpaces
47. Ends execution of a method and possibly returns a value to the calling code.
boolean
Servlet Aliasing
Servlet container
return
48. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Expressions
ORB (Object Request Broker)
jsp:plugin (uses jsp:params and jsp:fallback)
JSP Beans
49. Indicates that a value is an 8-bit whole number.
byte
javax.servlet.http.*
else
OS principal
50. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
this
JavaSafe
catch
final