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
jsp:plugin (uses jsp:params and jsp:fallback)
JSP
Expressions
int
2. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
CORBA
jsp:forware Action element (with jsp:param)
transient
3. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Expressions
if
const
Jini Technology
4. Creates a subclass
JSP
assert
extends
Java virtual machine
5. Indicates that a variable or class or method can be used by any other Java code.
Java Remote Method Invocation (RMI)
package
public
Java Compatibility Kit (JCK)
6. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
JavaScript
abstract
Java Naming and Directory Interface (JNDI)
7. Introduces a class
Servlet Aliasing
MVC Architecture
class
Java Foundation Classes (JFC)
8. 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.
break
instanceof
strictfp
Java Runtime Environment (JRE)
9. 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.
Servlet
DTD (Document Type Definition)
Tag Library Directive element
strictfp
10. Includes a file in the page
int
private
Include Directive element
Java Compatibility Kit (JCK)
11. Tests the truth of a condition that the programmer believes is true.
byte
assert
case
OTS (Object Transaction Service)
12. Ends execution of a method and possibly returns a value to the calling code.
JavaBeans
return
public
strictfp
13. An opensource Java Application Server
interface
Servlet container
new
JBossn
14. Introduces an interface which is like a class but less specific.
Include Directive element
Java Media Framework
jsp:include Action element (with jsp:param)
interface
15. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Servlet workings
JSP Beans
Java Native Interface
JavaSafe
16. A description of the structure and properties of a class of XML files.
Page-centric architecture
if
DTD (Document Type Definition)
double
17. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
double
for
ORB (Object Request Broker)
native
18. Keeps two threads from interfering with one another.
double precision
synchronized
interface
Java Applet Definition
19. Indicates that a value is a 64-bit whole number.
synchronized
public
javax.servlet.http.*
long
20. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Scriptlets
package
Java Applet Definition
final
21. 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 Applet Definition
assert
interface
Java Development Kit (JDK)
22. Indicates that a value is a 32-bit whole number.
DTD (Document Type Definition)
JavaBeans
int
javax.servlet.http.*
23. 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()
Declarations
JAR (Java Archive)
package
Servlet Chaining
24. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
Servlet workings
Include Directive element
ORB (Object Request Broker)
25. Enables the programmer to abbreviate the names of classes defined in a package.
implements
enum
import
goto
26. A set of Java APIs that provide CORBA (Common Object Request Broker Architecture) interoperability and connectivity capabilities for the J2EE platform. These capabilities enable J2EE applications to invoke operations on remote network services using
Scriptlets
JavaScript
Include Directive element
Java Interface Definition Language (IDL)
27. Two Servlet API packages: javax.servlet.* ___________
jsp:plugin (uses jsp:params and jsp:fallback)
Java Media APIs
javax.servlet.http.*
switch
28. Refers to the superclass of the code in which the word super appears.
Page-centric architecture
super
jsp:plugin (uses jsp:params and jsp:fallback)
for
29. 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 Compatibility Kit (JCK)
import
const
Java Applet Definition
30. Puts the code into a package
char
strictfp
package
JavaSafe
31. Creates an object from an existing class.
new
Java virtual machine
POA (Portable Object Adapter)
Java Database Connectivity (JDBC)
32. Indicates that a method doesn't return a value.
Page-centric architecture
interface
byte
void
33. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
volatile
Java virtual machine
protected
JavaBeans
34. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
case
final
native
extends
35. 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.
long
Java Native Interface
JBossn
Expressions
36. Creates a newly defined type
Java Database Connectivity (JDBC)
volatile
enum
void
37. Indicates that a value is an 8-bit whole number.
double
byte
Java Compatibility Kit (JCK)
jsp:forware Action element (with jsp:param)
38. A self-reference
byte
switch
this
double
39. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Servlet
JavaSpaces
javax.servlet.http.*
Java Naming and Directory Interface (JNDI)
40. Basic code block of a JSP page
while
abstract
Declarations
Scriptlets
41. Indicates that a value is a 16-bit whole number.
Java Development Kit (JDK)
Java Applet Definition
short
Jini Technology
42. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
this
catch
short
CORBA
43. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
default
JavaSafe
throw
for
44. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Java Compatibility Kit (JCK)
javax.servlet.http.*
JavaScript
Servlet Aliasing
45. Introduces a path of execution to take when no case is a match in a switch statement.
Java Runtime Environment (JRE)
default
float
Page Directive element
46. Forces the abrupt end of the current loop iteration and begins another iteration.
finally
Java Database Connectivity (JDBC)
continue
switch
47. Jumps out of a loop or switch.
do
Java Media Framework
break
final
48. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
byte
Java Runtime Environment (JRE)
char
Servlet Aliasing
49. Reuses the functionality from a previously defined interface.
private
implements
JavaSpaces
jsp:forware Action element (with jsp:param)
50. Indicates that a variable or method can be used only within a certain class.
JavaSpaces
implements
private
finally