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 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
goto
Jini Technology
JAR (Java Archive)
Java Naming and Directory Interface (JNDI)
2. A library than enables CORBA objects to locate and communicate with one another.
long
Java Media APIs
ORB (Object Request Broker)
int
3. Indicates that a value is a 32-bit whole number.
int
Update
super
jsp:forware Action element (with jsp:param)
4. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Java Platform
abstract
JavaBeans
Servlet container
5. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
wrapper class
JAR (Java Archive)
return
6. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
strictfp
float
native
throw
7. Enables the programmer to abbreviate the names of classes defined in a package.
Servlet
javax.servlet.http.*
import
catch
8. Basic code block of a JSP page
Servlet Chaining
case
Scriptlets
Tag Library Directive element
9. Indicates that a value is a 16-bit whole number.
short
boolean
JavaCheck
else
10. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
int
Semaphore
break
boolean
11. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
Semaphore
new
else
12. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
volatile
Expressions
JDK (Java Development Kit)
JavaBeans
13. Keeps two threads from interfering with one another.
OTS (Object Transaction Service)
extends
while
synchronized
14. Imposes strict rules on the use of a variable by more than one thread at a time.
Servlet workings
MVC Architecture
Java Naming and Directory Interface (JNDI)
volatile
15. A description of the structure and properties of a class of XML files.
long
Java Platform
DTD (Document Type Definition)
Servlet workings
16. 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).
abstract
JavaScript
Java virtual machine
Update
17. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
double
CORBA
Expressions
package
18. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
switch
javax.servlet.http.*
Semaphore
strictfp
19. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
const
throws
jsp:forware Action element (with jsp:param)
Servlet Aliasing
20. 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
MVC Architecture
jsp:plugin (uses jsp:params and jsp:fallback)
JDK (Java Development Kit)
Java Remote Method Invocation (RMI)
21. A tool for checking compliance of applications and applets to a specification.
strictfp
JavaCheck
Java Native Interface
wrapper class
22. Creates a newly defined type
enum
native
JavaScript
break
23. Indicates that a variable or class or method can be used by any other Java code.
private
public
Java Foundation Classes (JFC)
Java Naming and Directory Interface (JNDI)
24. 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.
jsp:forware Action element (with jsp:param)
instanceof
Java Runtime Environment (JRE)
final
25. 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
OS principal
Java Remote Method Invocation (RMI)
final
26. The output of one servlet act as a input to another servlet.
transient
Servlet Chaining
int
long
27. Repeats some statements over and over again (as long as a condition is still true).
JavaBeans
const
new
while
28. Introduces an interface which is like a class but less specific.
synchronized
implements
JavaSafe
interface
29. Jumps out of a loop or switch.
Java Media Framework
public
break
JavaBeans
30. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JBossn
Java Remote Method Invocation (RMI)
public
JavaSpaces
31. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
DOM (Document Object Model)
JSP
Java Database Connectivity (JDBC)
Page Directive element
32. Refers to the superclass of the code in which the word super appears.
super
JAR (Java Archive)
Scriptlets
strictfp
33. 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.
boolean
const
Servlet workings
Page Directive element
34. Reuses the functionality from a previously defined interface.
new
return
Servlet container
implements
35. A self-reference
this
Update
throw
native
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
const
OS principal
Servlet Aliasing
Servlet workings
37. Creates a subclass
Jini Technology
JavaSpaces
public
extends
38. A protocol used for communication between CORBA object request brokers.
IIOP (Internet Inter-ORB Protocol)
super
JDK (Java Development Kit)
OS principal
39. Introduces a class
JavaCheck
static
extends
class
40. Introduces the last will and testament of the statements in a try clause.
JSP Beans
finally
Servlet workings
transient
41. 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
jsp:include Action element (with jsp:param)
Java Applet Definition
break
JavaSafe
42. 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.
JavaCheck
Java Compatibility Kit (JCK)
assert
strictfp
43. Forces the abrupt end of the current loop iteration and begins another iteration.
Java Database Connectivity (JDBC)
Java Foundation Classes (JFC)
continue
Java Applet Definition
44. Ends execution of a method and possibly returns a value to the calling code.
return
Java Media Framework
CORBA
wrapper class
45. 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()
JavaSpaces
Declarations
enum
void
46. Includes a new tag library into page - allows use of tags in page
Java Applet Definition
strictfp
private
Tag Library Directive element
47. 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
ORB (Object Request Broker)
Java Interface Definition Language (IDL)
class
Servlet
48. Two Servlet API packages: javax.servlet.* ___________
new
DOM (Document Object Model)
javax.servlet.http.*
else
49. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Servlet workings
Expressions
try
catch
50. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
IIOP (Internet Inter-ORB Protocol)
short
throw
for