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. Creates a newly defined type
byte
enum
Servlet container
continue
2. Tests to see whether a certain object comes from a certain class.
Java Database Connectivity (JDBC)
instanceof
continue
char
3. Creates a subclass
OTS (Object Transaction Service)
extends
throws
double
4. 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.
volatile
Jini Technology
synchronized
abstract
5. Indicates that a value is either true or false in the Java sense.
byte
Java Interface Definition Language (IDL)
boolean
JBossn
6. Introduces a class
Page Directive element
Update
Java Media APIs
class
7. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
Update
switch
jsp:include Action element (with jsp:param)
public
8. A set of APIs that assists with the interfacing to multiple naming and directory services.
CORBA
Java Naming and Directory Interface (JNDI)
import
jsp:plugin (uses jsp:params and jsp:fallback)
9. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
JAR (Java Archive)
Declarations
final
strictfp
10. Includes a file in the page
Include Directive element
long
else
JavaScript
11. Indicates that a variable or class or method can be used by any other Java code.
public
final
Update
class
12. Indicates that a variable or method can be used in subclasses from another package.
protected
int
DOM (Document Object Model)
Java Applet Definition
13. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
Java Platform
byte
Java Media APIs
14. 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.
goto
package
MVC Architecture
javax.servlet.http.*
15. Indicates that a variable or method can be used only within a certain class.
private
class
double
void
16. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
public
Java Database Connectivity (JDBC)
for
JBossn
17. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
break
Jini Technology
native
18. 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.
byte
JavaBeans
if
Java Media Framework
19. A special Java servlet-aware web server process.
case
Servlet container
interface
super
20. 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).
Java Platform
package
Servlet
continue
21. Puts the code into a package
package
void
final
Tag Library Directive element
22. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
float
Java Naming and Directory Interface (JNDI)
extends
int
23. Ends execution of a method and possibly returns a value to the calling code.
Java Media APIs
Tag Library Directive element
return
Java Media Framework
24. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
boolean
jsp:forware Action element (with jsp:param)
throws
25. Useful only for small sites
Page-centric architecture
POA (Portable Object Adapter)
Include Directive element
for
26. Sets attributes and properties specific to the current JSP page
Page Directive element
transient
while
jsp:forware Action element (with jsp:param)
27. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
int
continue
byte
28. 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.
boolean
jsp:include Action element (with jsp:param)
Java Remote Method Invocation (RMI)
private
29. 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
Servlet workings
JAR (Java Archive)
OTS (Object Transaction Service)
else
30. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
abstract
native
throws
CORBA
31. Similar to the include Directive but can pass information to the included resource
Servlet Aliasing
jsp:include Action element (with jsp:param)
double
char
32. Introduces the last will and testament of the statements in a try clause.
long
finally
JavaCheck
instanceof
33. Introduces statements that are watched (during runtime) for things that can go wrong.
interface
byte
try
float
34. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
return
Java virtual machine
byte
strictfp
35. 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.
Java Compatibility Kit (JCK)
Servlet container
Java Media Framework
Expressions
36. Introduces a path of execution to take when no case is a match in a switch statement.
default
int
short
Java Interface Definition Language (IDL)
37. Repeats some statements over and over again (as long as a condition is still true).
JBossn
Jini Technology
OTS (Object Transaction Service)
while
38. A protocol used for communication between CORBA object request brokers.
break
Servlet Aliasing
IIOP (Internet Inter-ORB Protocol)
abstract
39. A self-reference
DOM (Document Object Model)
Java Foundation Classes (JFC)
this
goto
40. Reuses the functionality from a previously defined interface.
const
this
instanceof
implements
41. 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
DTD (Document Type Definition)
enum
Java Native Interface
Servlet workings
42. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
Include Directive element
Servlet container
throws
43. Indicates that a value is a 64-bit whole number.
else
Expressions
interface
long
44. Enables the programmer to abbreviate the names of classes defined in a package.
public
static
import
JavaBeans
45. 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 Applet Definition
this
OS principal
46. Indicates that a method or constructor may pass the buck when an exception is thrown.
CORBA
MVC Architecture
JSP Beans
throws
47. CRUD: Create - Retrieve - ________ - Delete
Update
continue
Java Interface Definition Language (IDL)
int
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.
public
private
JavaScript
import
49. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
boolean
short
package
JavaBeans
50. Includes a new tag library into page - allows use of tags in page
JAR (Java Archive)
Tag Library Directive element
Java Applet Definition
short