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. Indicates that a method doesn't return a value.
JSP
continue
void
Java Remote Method Invocation (RMI)
2. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaBeans
Java Interface Definition Language (IDL)
strictfp
JavaSpaces
3. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
JavaSafe
native
double precision
Java Remote Method Invocation (RMI)
4. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
POA (Portable Object Adapter)
OS principal
Java Foundation Classes (JFC)
short
5. An opensource Java Application Server
protected
native
Servlet container
JBossn
6. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Servlet Chaining
strictfp
long
class
7. 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
double
JavaCheck
finally
8. Indicates that a variable or method can be used only within a certain class.
float
private
default
Java Media Framework
9. A set of APIs that assists with the interfacing to multiple naming and directory services.
Page-centric architecture
Update
Java Naming and Directory Interface (JNDI)
JAR (Java Archive)
10. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
Java Native Interface
Java Media APIs
byte
11. 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
Java Platform
Declarations
long
MVC Architecture
12. 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
Java Remote Method Invocation (RMI)
for
Expressions
Servlet workings
13. 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
return
Java Compatibility Kit (JCK)
Jini Technology
Java Applet Definition
14. A tool for tracking and managing source file changes - written in Java.
Java Database Connectivity (JDBC)
if
Java Applet Definition
JavaSafe
15. Sets attributes and properties specific to the current JSP page
implements
Page-centric architecture
Page Directive element
JDK (Java Development Kit)
16. The output of one servlet act as a input to another servlet.
Servlet Chaining
public
continue
Servlet Aliasing
17. A self-reference
DOM (Document Object Model)
OS principal
try
this
18. Creates a subclass
interface
extends
Scriptlets
else
19. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Servlet
jsp:forware Action element (with jsp:param)
synchronized
JavaBeans
20. Indicates that a value is a 64-bit whole number.
long
Java Media Framework
JavaBeans
Java Compatibility Kit (JCK)
21. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Declarations
char
Java Platform
Semaphore
22. Useful only for small sites
public
Java Media Framework
Page-centric architecture
instanceof
23. Two Servlet API packages: javax.servlet.* ___________
JavaSpaces
JavaSafe
javax.servlet.http.*
Java Native Interface
24. Ends execution of a method and possibly returns a value to the calling code.
JavaSpaces
return
extends
byte
25. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
package
JSP
jsp:include Action element (with jsp:param)
26. Used to terminate the execution of the current JSP page and switch control to another resource
CORBA
jsp:forware Action element (with jsp:param)
Servlet Chaining
Java virtual machine
27. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
OS principal
Java Database Connectivity (JDBC)
Semaphore
28. Reuses the functionality from a previously defined interface.
throw
implements
jsp:include Action element (with jsp:param)
const
29. 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.
strictfp
JSP Beans
Java Media APIs
OS principal
30. Used to generate HTML
Java Development Kit (JDK)
Include Directive element
for
jsp:plugin (uses jsp:params and jsp:fallback)
31. ______ 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
Java Media Framework
JSP
DTD (Document Type Definition)
Java Native Interface
32. 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
char
if
JAR (Java Archive)
Java virtual machine
33. Jumps out of a loop or switch.
OTS (Object Transaction Service)
return
break
protected
34. Introduces an interface which is like a class but less specific.
synchronized
for
interface
ORB (Object Request Broker)
35. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
interface
for
Page Directive element
JavaBeans
36. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
float
extends
JSP
abstract
37. 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 Native Interface
instanceof
JSP
package
38. Introduces statements that are executed when the condition in an if statement isn't true.
finally
else
break
implements
39. Introduces a path of execution to take when no case is a match in a switch statement.
transient
default
Java Naming and Directory Interface (JNDI)
Update
40. 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.
try
const
ORB (Object Request Broker)
implements
41. 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.
switch
Java Media Framework
JavaSpaces
throw
42. Introduces a class
while
JavaSpaces
IIOP (Internet Inter-ORB Protocol)
class
43. Indicates that a variable or class or method can be used by any other Java code.
public
strictfp
javax.servlet.http.*
continue
44. A description of the structure and properties of a class of XML files.
private
throw
Servlet
DTD (Document Type Definition)
45. 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.
Servlet workings
instanceof
Java Remote Method Invocation (RMI)
continue
46. 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)
Java Compatibility Kit (JCK)
switch
Java Applet Definition
47. 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()
Servlet Aliasing
Declarations
instanceof
JAR (Java Archive)
48. 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.
import
POA (Portable Object Adapter)
JavaScript
this
49. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
public
JavaBeans
int
50. 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).
break
private
Java Platform
Java Development Kit (JDK)