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 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.
DTD (Document Type Definition)
Jini Technology
Servlet workings
while
2. Ends execution of a method and possibly returns a value to the calling code.
JBossn
double precision
MVC Architecture
return
3. Introduces a path of execution to take when no case is a match in a switch statement.
extends
final
case
default
4. 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 Platform
JavaBeans
double precision
Java Media Framework
5. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
static
float
throw
6. Puts the code into a package
super
package
JavaBeans
goto
7. Refers to the superclass of the code in which the word super appears.
Expressions
continue
float
super
8. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
Java Native Interface
Java Applet Definition
const
throw
9. Indicates that a variable or method can be used only within a certain class.
long
private
Update
transient
10. 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()
JBossn
javax.servlet.http.*
if
Declarations
11. A set of APIs that assists with the interfacing to multiple naming and directory services.
throws
native
Java Naming and Directory Interface (JNDI)
jsp:include Action element (with jsp:param)
12. 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.
Servlet Chaining
const
Java Compatibility Kit (JCK)
JavaCheck
13. Useful only for small sites
Page-centric architecture
Java Applet Definition
Java Native Interface
while
14. 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.
extends
Java Compatibility Kit (JCK)
wrapper class
while
15. Indicates that a value is either true or false in the Java sense.
Java Native Interface
OTS (Object Transaction Service)
super
boolean
16. Indicates that a value is a 32-bit whole number.
int
native
Java Naming and Directory Interface (JNDI)
OTS (Object Transaction Service)
17. Similar to the include Directive but can pass information to the included resource
jsp:include Action element (with jsp:param)
jsp:plugin (uses jsp:params and jsp:fallback)
Page Directive element
class
18. 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).
volatile
return
this
Java Platform
19. A tool for tracking and managing source file changes - written in Java.
float
Jini Technology
JavaSafe
volatile
20. A tool for checking compliance of applications and applets to a specification.
MVC Architecture
JavaCheck
Java Remote Method Invocation (RMI)
Java Database Connectivity (JDBC)
21. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
void
assert
POA (Portable Object Adapter)
Java Media Framework
22. Indicates that a value is an 8-bit whole number.
byte
goto
JavaSpaces
double precision
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
if
volatile
MVC Architecture
Servlet
24. Reuses the functionality from a previously defined interface.
implements
default
try
break
25. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Tag Library Directive element
JSP
if
Java Platform
26. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
synchronized
protected
short
27. Introduces a class
class
throw
const
Java Naming and Directory Interface (JNDI)
28. Keeps two threads from interfering with one another.
char
private
synchronized
short
29. 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.
JAR (Java Archive)
static
jsp:forware Action element (with jsp:param)
Java Remote Method Invocation (RMI)
30. Introduces an interface which is like a class but less specific.
throws
interface
Servlet
Page-centric architecture
31. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
Java Naming and Directory Interface (JNDI)
JSP Beans
Jini Technology
32. 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.
byte
if
JavaScript
new
33. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
float
assert
throws
Servlet Chaining
34. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
catch
switch
default
Java Runtime Environment (JRE)
35. 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.
Java Runtime Environment (JRE)
Java Applet Definition
throw
goto
36. 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 Applet Definition
interface
Tag Library Directive element
Scriptlets
37. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Servlet container
final
volatile
jsp:include Action element (with jsp:param)
38. A special Java servlet-aware web server process.
for
Servlet container
JBossn
break
39. Includes a new tag library into page - allows use of tags in page
Java Media Framework
Java virtual machine
Page Directive element
Tag Library Directive element
40. 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).
DTD (Document Type Definition)
Java virtual machine
jsp:forware Action element (with jsp:param)
ORB (Object Request Broker)
41. 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.
jsp:forware Action element (with jsp:param)
default
double precision
Java Media APIs
42. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Page Directive element
char
return
Scriptlets
43. A self-reference
Java Development Kit (JDK)
long
implements
this
44. Creates an object from an existing class.
extends
Java Applet Definition
JDK (Java Development Kit)
new
45. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
DTD (Document Type Definition)
double
Scriptlets
case
46. Tests the truth of a condition that the programmer believes is true.
Declarations
MVC Architecture
assert
double precision
47. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
transient
Servlet Aliasing
Servlet
Java Interface Definition Language (IDL)
48. Indicates that a method or constructor may pass the buck when an exception is thrown.
extends
throws
jsp:include Action element (with jsp:param)
public
49. Introduces one of several possible paths of execution in a switch statement.
case
final
Tag Library Directive element
jsp:include Action element (with jsp:param)
50. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
JDK (Java Development Kit)
strictfp
for
DOM (Document Object Model)