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. ______ 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
MVC Architecture
JSP
Java Runtime Environment (JRE)
Java Applet Definition
2. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
final
switch
long
protected
3. Indicates that a value is either true or false in the Java sense.
Java Runtime Environment (JRE)
protected
Page Directive element
boolean
4. A self-reference
this
synchronized
JAR (Java Archive)
Servlet
5. Enables the programmer to abbreviate the names of classes defined in a package.
for
return
Java Remote Method Invocation (RMI)
import
6. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
transient
try
if
JavaSpaces
7. A principal native to the operating system on which the Java platform is executing.
OS principal
switch
package
char
8. Repeats some statements over and over again (as long as a condition is still true).
while
char
Java Remote Method Invocation (RMI)
Java Database Connectivity (JDBC)
9. 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.
JSP
Jini Technology
continue
Servlet container
10. A set of APIs that assists with the interfacing to multiple naming and directory services.
ORB (Object Request Broker)
jsp:include Action element (with jsp:param)
extends
Java Naming and Directory Interface (JNDI)
11. CRUD: Create - Retrieve - ________ - Delete
Update
int
Semaphore
MVC Architecture
12. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
JBossn
for
while
do
13. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
extends
native
switch
14. 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).
jsp:include Action element (with jsp:param)
Java Native Interface
Page Directive element
Java Platform
15. 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 Development Kit (JDK)
native
catch
Java Media APIs
16. 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
Update
instanceof
JDK (Java Development Kit)
17. 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.
JBossn
throw
Java Development Kit (JDK)
CORBA
18. An opensource Java Application Server
JBossn
Semaphore
JavaSafe
Include Directive element
19. Introduces statements that are watched (during runtime) for things that can go wrong.
Java Foundation Classes (JFC)
protected
try
Java virtual machine
20. 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()
default
Declarations
switch
Scriptlets
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 goto variable.
Java virtual machine
Page-centric architecture
IIOP (Internet Inter-ORB Protocol)
goto
22. Basic code block of a JSP page
Servlet Chaining
JSP Beans
Scriptlets
private
23. 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.
Scriptlets
switch
Java Runtime Environment (JRE)
interface
24. Indicates that a value is a 32-bit whole number.
float
byte
JAR (Java Archive)
int
25. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
JAR (Java Archive)
abstract
boolean
final
26. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
DOM (Document Object Model)
Servlet Aliasing
Include Directive element
27. 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
wrapper class
Java Interface Definition Language (IDL)
MVC Architecture
default
28. Useful only for small sites
Page-centric architecture
Java Remote Method Invocation (RMI)
MVC Architecture
class
29. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
MVC Architecture
catch
JSP
package
30. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
byte
finally
JavaCheck
31. The output of one servlet act as a input to another servlet.
const
transient
Servlet Chaining
for
32. 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).
public
Java virtual machine
return
DTD (Document Type Definition)
33. A software development environment for writing applets and application in Java .
byte
JDK (Java Development Kit)
POA (Portable Object Adapter)
throws
34. 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
else
JavaBeans
short
35. A protocol used for communication between CORBA object request brokers.
JSP Beans
IIOP (Internet Inter-ORB Protocol)
private
jsp:plugin (uses jsp:params and jsp:fallback)
36. 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.
int
Declarations
Java Remote Method Invocation (RMI)
Semaphore
37. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
Servlet workings
MVC Architecture
goto
38. Creates a subclass
extends
throws
Tag Library Directive element
class
39. Tests the truth of a condition that the programmer believes is true.
for
abstract
assert
Java Remote Method Invocation (RMI)
40. 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
POA (Portable Object Adapter)
Java Applet Definition
float
package
41. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
MVC Architecture
transient
Java Media APIs
do
42. Indicates that a variable or method can be used in subclasses from another package.
private
POA (Portable Object Adapter)
do
protected
43. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
strictfp
JavaBeans
OTS (Object Transaction Service)
44. Reuses the functionality from a previously defined interface.
Java Applet Definition
implements
MVC Architecture
Update
45. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
protected
double precision
if
DOM (Document Object Model)
46. Includes a file in the page
abstract
javax.servlet.http.*
Java Remote Method Invocation (RMI)
Include Directive element
47. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
OTS (Object Transaction Service)
double
Expressions
static
48. Introduces statements that are executed when the condition in an if statement isn't true.
try
Page Directive element
else
Java Interface Definition Language (IDL)
49. A library than enables CORBA objects to locate and communicate with one another.
Java Compatibility Kit (JCK)
ORB (Object Request Broker)
void
Java Applet Definition
50. Similar to the include Directive but can pass information to the included resource
jsp:include Action element (with jsp:param)
static
Java Foundation Classes (JFC)
throws