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. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Scriptlets
Servlet Aliasing
Declarations
JavaBeans
2. Introduces one of several possible paths of execution in a switch statement.
case
implements
assert
abstract
3. Enables the programmer to abbreviate the names of classes defined in a package.
double
CORBA
Include Directive element
import
4. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
Java Foundation Classes (JFC)
Scriptlets
Java virtual machine
5. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
Java Foundation Classes (JFC)
Java Runtime Environment (JRE)
Page Directive element
6. Keeps two threads from interfering with one another.
Java Runtime Environment (JRE)
goto
synchronized
Java Naming and Directory Interface (JNDI)
7. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Media Framework
Java Naming and Directory Interface (JNDI)
for
try
8. Indicates that a value is a 32-bit whole number.
int
JSP
IIOP (Internet Inter-ORB Protocol)
OS principal
9. Reuses the functionality from a previously defined interface.
strictfp
implements
char
JavaCheck
10. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
interface
jsp:plugin (uses jsp:params and jsp:fallback)
Servlet workings
11. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
Scriptlets
Java virtual machine
Expressions
12. 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.
try
OS principal
DOM (Document Object Model)
Java Compatibility Kit (JCK)
13. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
jsp:plugin (uses jsp:params and jsp:fallback)
extends
JavaCheck
strictfp
14. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Expressions
interface
char
new
15. A tool for checking compliance of applications and applets to a specification.
Servlet workings
JavaCheck
new
do
16. Indicates that a value is a 16-bit whole number.
Java Runtime Environment (JRE)
transient
short
Servlet workings
17. Similar to the include Directive but can pass information to the included resource
assert
jsp:include Action element (with jsp:param)
Servlet workings
JSP Beans
18. 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.
Semaphore
switch
const
this
19. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
IIOP (Internet Inter-ORB Protocol)
interface
Jini Technology
throw
20. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
return
implements
public
native
21. Ends execution of a method and possibly returns a value to the calling code.
byte
return
boolean
class
22. 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
Java Runtime Environment (JRE)
assert
IIOP (Internet Inter-ORB Protocol)
23. 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.
Update
Servlet
volatile
continue
24. Used to generate HTML
Java Media APIs
jsp:plugin (uses jsp:params and jsp:fallback)
throws
Java Media Framework
25. 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
strictfp
JAR (Java Archive)
Java virtual machine
throws
26. 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
boolean
jsp:include Action element (with jsp:param)
MVC Architecture
float
27. Jumps out of a loop or switch.
float
boolean
break
OTS (Object Transaction Service)
28. Refers to the superclass of the code in which the word super appears.
jsp:forware Action element (with jsp:param)
Expressions
Servlet
super
29. Indicates that a variable or class or method can be used by any other Java code.
public
finally
Java Database Connectivity (JDBC)
JSP Beans
30. Indicates that a method or constructor may pass the buck when an exception is thrown.
Java Development Kit (JDK)
Page-centric architecture
throws
assert
31. Useful only for small sites
ORB (Object Request Broker)
Page-centric architecture
throws
public
32. Introduces a class
Java Runtime Environment (JRE)
CORBA
class
Java Media APIs
33. A protocol used for communication between CORBA object request brokers.
try
IIOP (Internet Inter-ORB Protocol)
while
throw
34. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
while
OTS (Object Transaction Service)
CORBA
Declarations
35. 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.
Servlet Chaining
Java Foundation Classes (JFC)
Java Development Kit (JDK)
JBossn
36. 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
synchronized
Servlet workings
void
OS principal
37. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
IIOP (Internet Inter-ORB Protocol)
void
Java virtual machine
38. Puts the code into a package
JDK (Java Development Kit)
package
OTS (Object Transaction Service)
wrapper class
39. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
JavaCheck
MVC Architecture
float
Semaphore
40. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
Java Native Interface
Declarations
Java Media Framework
41. Indicates that a variable or method can be used in subclasses from another package.
protected
Scriptlets
Java Native Interface
JavaScript
42. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
long
Java Remote Method Invocation (RMI)
finally
double
43. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Java Applet Definition
do
interface
Update
44. Creates a subclass
jsp:plugin (uses jsp:params and jsp:fallback)
Java Development Kit (JDK)
Tag Library Directive element
extends
45. A tool for tracking and managing source file changes - written in Java.
assert
JavaSafe
JavaScript
jsp:include Action element (with jsp:param)
46. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
Servlet
catch
Java Remote Method Invocation (RMI)
JavaBeans
47. 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.
continue
finally
goto
break
48. Includes a file in the page
do
native
Java Platform
Include Directive element
49. A self-reference
this
do
Jini Technology
extends
50. CRUD: Create - Retrieve - ________ - Delete
finally
Update
POA (Portable Object Adapter)
protected