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.
Java Applet Definition
finally
super
wrapper class
2. Introduces a path of execution to take when no case is a match in a switch statement.
default
const
else
ORB (Object Request Broker)
3. A tool for checking compliance of applications and applets to a specification.
jsp:include Action element (with jsp:param)
JavaCheck
else
JSP Beans
4. Introduces the last will and testament of the statements in a try clause.
Tag Library Directive element
try
finally
implements
5. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Expressions
for
Update
abstract
6. Creates a newly defined type
Servlet Chaining
enum
synchronized
Java Interface Definition Language (IDL)
7. Indicates that a variable or method can be used only within a certain class.
throws
Java Compatibility Kit (JCK)
private
transient
8. Forces the abrupt end of the current loop iteration and begins another iteration.
catch
default
continue
abstract
9. Tests the truth of a condition that the programmer believes is true.
int
Java Development Kit (JDK)
double precision
assert
10. 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.
Servlet
volatile
Jini Technology
extends
11. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
JavaSpaces
POA (Portable Object Adapter)
Java Native Interface
JavaScript
12. A tool for tracking and managing source file changes - written in Java.
javax.servlet.http.*
JavaSafe
CORBA
JSP Beans
13. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
package
throw
DOM (Document Object Model)
javax.servlet.http.*
14. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
boolean
catch
OTS (Object Transaction Service)
native
15. Reuses the functionality from a previously defined interface.
Page Directive element
implements
jsp:plugin (uses jsp:params and jsp:fallback)
if
16. Tests to see whether a certain object comes from a certain class.
package
instanceof
JSP
short
17. 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.
strictfp
Declarations
const
throw
18. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
const
throw
else
Java Media APIs
19. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
boolean
CORBA
Java Media Framework
catch
20. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
transient
long
Expressions
boolean
21. Creates an object from an existing class.
Semaphore
return
new
Servlet Aliasing
22. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
transient
import
enum
Java Foundation Classes (JFC)
23. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Servlet Chaining
jsp:forware Action element (with jsp:param)
char
DOM (Document Object Model)
24. Introduces one of several possible paths of execution in a switch statement.
Declarations
case
package
interface
25. 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
JSP
short
Scriptlets
26. 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 Platform
Java virtual machine
char
Java Database Connectivity (JDBC)
27. 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
jsp:include Action element (with jsp:param)
Update
finally
JAR (Java Archive)
28. 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
JAR (Java Archive)
JavaBeans
Java Compatibility Kit (JCK)
MVC Architecture
29. 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 virtual machine
JBossn
Java Remote Method Invocation (RMI)
assert
30. Sets attributes and properties specific to the current JSP page
jsp:forware Action element (with jsp:param)
abstract
finally
Page Directive element
31. Jumps out of a loop or switch.
void
break
extends
return
32. Indicates that a value is either true or false in the Java sense.
Java Native Interface
package
boolean
Java virtual machine
33. A self-reference
this
jsp:forware Action element (with jsp:param)
static
double
34. 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
JSP Beans
Servlet workings
Declarations
void
35. A principal native to the operating system on which the Java platform is executing.
MVC Architecture
OS principal
throw
double
36. Used to generate HTML
Java Naming and Directory Interface (JNDI)
class
static
jsp:plugin (uses jsp:params and jsp:fallback)
37. 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.
Java Development Kit (JDK)
JavaCheck
private
try
38. 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()
throw
volatile
Declarations
Update
39. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
long
float
Java Database Connectivity (JDBC)
JAR (Java Archive)
40. 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.
Java Remote Method Invocation (RMI)
long
goto
byte
41. Introduces an interface which is like a class but less specific.
Java Remote Method Invocation (RMI)
interface
JavaBeans
Expressions
42. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
native
Java Foundation Classes (JFC)
Semaphore
extends
43. Indicates that a value is a 16-bit whole number.
Servlet
Java Compatibility Kit (JCK)
short
jsp:include Action element (with jsp:param)
44. Introduces statements that are executed when the condition in an if statement isn't true.
JAR (Java Archive)
byte
else
Java virtual machine
45. A set of APIs that assists with the interfacing to multiple naming and directory services.
throw
JavaSpaces
Java Naming and Directory Interface (JNDI)
Include Directive element
46. Imposes strict rules on the use of a variable by more than one thread at a time.
Page-centric architecture
jsp:plugin (uses jsp:params and jsp:fallback)
volatile
new
47. The output of one servlet act as a input to another servlet.
long
Servlet Chaining
char
abstract
48. Keeps two threads from interfering with one another.
Servlet Chaining
instanceof
Java Development Kit (JDK)
synchronized
49. Indicates that a value is a 64-bit whole number.
long
enum
Expressions
double
50. 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.
jsp:include Action element (with jsp:param)
Java Runtime Environment (JRE)
class
Expressions