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. Jumps out of a loop or switch.
Java Naming and Directory Interface (JNDI)
Semaphore
protected
break
2. Indicates that a value is a 32-bit whole number.
Java Runtime Environment (JRE)
JavaBeans
void
int
3. Indicates that a variable or method can be used only within a certain class.
native
private
JDK (Java Development Kit)
float
4. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
IIOP (Internet Inter-ORB Protocol)
double precision
synchronized
5. Indicates that a method or constructor may pass the buck when an exception is thrown.
Java Media Framework
throws
jsp:forware Action element (with jsp:param)
long
6. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
assert
native
Servlet
this
7. 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
Java Media APIs
char
Expressions
MVC Architecture
8. Introduces statements that are executed when the condition in an if statement isn't true.
strictfp
else
Java Media APIs
implements
9. 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).
Java Naming and Directory Interface (JNDI)
Java virtual machine
while
for
10. Keeps two threads from interfering with one another.
OTS (Object Transaction Service)
class
synchronized
Page-centric architecture
11. Indicates that a variable or class or method can be used by any other Java code.
Java Platform
instanceof
jsp:plugin (uses jsp:params and jsp:fallback)
public
12. 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.
super
JavaBeans
goto
JavaScript
13. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
enum
JavaBeans
Java virtual machine
finally
14. Indicates that a value is an 8-bit whole number.
long
byte
Java Applet Definition
JDK (Java Development Kit)
15. A special Java servlet-aware web server process.
Servlet container
Java Runtime Environment (JRE)
JavaSafe
synchronized
16. A description of the structure and properties of a class of XML files.
final
DTD (Document Type Definition)
return
Page-centric architecture
17. 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.
wrapper class
throw
Java Media APIs
try
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.
const
JavaCheck
JavaSafe
double precision
19. Indicates that a value is a 64-bit whole number.
long
goto
default
DOM (Document Object Model)
20. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
JSP Beans
strictfp
OS principal
Semaphore
21. Sets attributes and properties specific to the current JSP page
DTD (Document Type Definition)
const
jsp:plugin (uses jsp:params and jsp:fallback)
Page Directive element
22. 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.
long
throw
Java Development Kit (JDK)
boolean
23. Ends execution of a method and possibly returns a value to the calling code.
transient
return
try
Jini Technology
24. CRUD: Create - Retrieve - ________ - Delete
throws
Update
this
super
25. Introduces a path of execution to take when no case is a match in a switch statement.
final
default
volatile
Java Remote Method Invocation (RMI)
26. Introduces an interface which is like a class but less specific.
JavaScript
synchronized
interface
Jini Technology
27. Refers to the superclass of the code in which the word super appears.
super
interface
Include Directive element
Declarations
28. 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
switch
jsp:plugin (uses jsp:params and jsp:fallback)
if
29. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Java Applet Definition
this
Page Directive element
JSP Beans
30. Imposes strict rules on the use of a variable by more than one thread at a time.
public
IIOP (Internet Inter-ORB Protocol)
volatile
synchronized
31. Tests to see whether a certain object comes from a certain class.
Java Database Connectivity (JDBC)
extends
instanceof
jsp:include Action element (with jsp:param)
32. Useful only for small sites
Page-centric architecture
wrapper class
JAR (Java Archive)
native
33. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
short
JavaSafe
Semaphore
34. 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.
return
DOM (Document Object Model)
strictfp
Java Remote Method Invocation (RMI)
35. 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 Applet Definition
final
strictfp
Java Development Kit (JDK)
36. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
jsp:plugin (uses jsp:params and jsp:fallback)
DOM (Document Object Model)
finally
IIOP (Internet Inter-ORB Protocol)
37. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
void
class
transient
new
38. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
JSP
Java Native Interface
boolean
39. Reuses the functionality from a previously defined interface.
static
JBossn
implements
throws
40. Introduces a class
Java Media Framework
class
Java Media APIs
Java Remote Method Invocation (RMI)
41. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
switch
Servlet container
abstract
double precision
42. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Java Remote Method Invocation (RMI)
final
JavaSafe
public
43. Creates a newly defined type
Java Applet Definition
enum
protected
transient
44. A self-reference
jsp:plugin (uses jsp:params and jsp:fallback)
MVC Architecture
this
strictfp
45. A principal native to the operating system on which the Java platform is executing.
volatile
OS principal
MVC Architecture
try
46. A tool for checking compliance of applications and applets to a specification.
JavaCheck
import
Update
jsp:include Action element (with jsp:param)
47. 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.
finally
do
Java Runtime Environment (JRE)
private
48. 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.
JavaScript
throws
DOM (Document Object Model)
Servlet
49. A library than enables CORBA objects to locate and communicate with one another.
protected
ORB (Object Request Broker)
IIOP (Internet Inter-ORB Protocol)
Java Media Framework
50. Indicates that a variable or method can be used in subclasses from another package.
protected
case
JDK (Java Development Kit)
abstract