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 an object from an existing class.
throw
volatile
new
Servlet Aliasing
2. Used to terminate the execution of the current JSP page and switch control to another resource
goto
Java virtual machine
jsp:forware Action element (with jsp:param)
strictfp
3. Tests to see whether a certain object comes from a certain class.
JavaBeans
finally
instanceof
strictfp
4. Indicates that a variable or class or method can be used by any other Java code.
break
OS principal
public
while
5. CRUD: Create - Retrieve - ________ - Delete
final
else
default
Update
6. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Java Development Kit (JDK)
JavaBeans
return
jsp:forware Action element (with jsp:param)
7. Indicates that a variable or method can be used only within a certain class.
private
Servlet
Update
OS principal
8. Jumps out of a loop or switch.
break
JavaBeans
JBossn
jsp:include Action element (with jsp:param)
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.
Page Directive element
int
Include Directive element
final
10. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
class
DTD (Document Type Definition)
DOM (Document Object Model)
catch
11. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
throw
const
Tag Library Directive element
12. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
ORB (Object Request Broker)
continue
Declarations
13. Keeps two threads from interfering with one another.
abstract
void
synchronized
Java Development Kit (JDK)
14. An industry standard for database-independent connectivity between the Java platform and a wide range of databases. The JDBC provides a call-level API for SQL-based database access.
jsp:forware Action element (with jsp:param)
finally
Java Database Connectivity (JDBC)
private
15. 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).
Servlet Aliasing
Java Platform
else
OS principal
16. Indicates that a value is a 64-bit whole number.
long
void
switch
CORBA
17. A tool for tracking and managing source file changes - written in Java.
jsp:plugin (uses jsp:params and jsp:fallback)
JavaScript
JavaSafe
long
18. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java Interface Definition Language (IDL)
short
try
Semaphore
19. Reuses the functionality from a previously defined interface.
JAR (Java Archive)
Page-centric architecture
if
implements
20. Useful only for small sites
Include Directive element
abstract
Page-centric architecture
implements
21. 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
Scriptlets
continue
MVC Architecture
22. 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.
implements
Jini Technology
JSP
new
23. 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
int
class
Java Runtime Environment (JRE)
JAR (Java Archive)
24. Introduces an interface which is like a class but less specific.
interface
Java Media APIs
break
Page-centric architecture
25. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
implements
static
switch
if
26. Creates a newly defined type
JavaSafe
enum
Java Database Connectivity (JDBC)
synchronized
27. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
Java Applet Definition
JavaSpaces
else
28. A set of APIs that assists with the interfacing to multiple naming and directory services.
double
Semaphore
Java Naming and Directory Interface (JNDI)
OS principal
29. 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.
Tag Library Directive element
Page-centric architecture
switch
JavaScript
30. A class that wraps primitives - Integer or Boolean...
JBossn
wrapper class
break
char
31. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
import
MVC Architecture
transient
catch
32. Indicates that a value is a 32-bit whole number.
void
int
Java virtual machine
Java Remote Method Invocation (RMI)
33. Introduces a class
Servlet container
Servlet
class
while
34. Repeats some statements over and over again (as long as a condition is still true).
Jini Technology
while
JSP Beans
volatile
35. 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
Page-centric architecture
JDK (Java Development Kit)
double
Java Interface Definition Language (IDL)
36. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
short
this
Java Platform
transient
37. Indicates that a value is a 16-bit whole number.
short
Tag Library Directive element
JDK (Java Development Kit)
int
38. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
JavaScript
Java Foundation Classes (JFC)
long
Expressions
39. Enables the programmer to abbreviate the names of classes defined in a package.
DOM (Document Object Model)
Expressions
Java Remote Method Invocation (RMI)
import
40. 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.
CORBA
else
JavaBeans
const
41. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
byte
CORBA
OS principal
42. A definition of the interfaces that permit CORBA objects to participate in transactions.
Java Compatibility Kit (JCK)
OTS (Object Transaction Service)
jsp:forware Action element (with jsp:param)
JSP
43. Tests the truth of a condition that the programmer believes is true.
Java Database Connectivity (JDBC)
Update
assert
OTS (Object Transaction Service)
44. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
while
default
Java Native Interface
45. A software development environment for writing applets and application in Java .
Page-centric architecture
switch
JDK (Java Development Kit)
do
46. 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.
JDK (Java Development Kit)
Java Runtime Environment (JRE)
continue
switch
47. 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.
Java Foundation Classes (JFC)
Java Remote Method Invocation (RMI)
JAR (Java Archive)
Java virtual machine
48. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Java Native Interface
do
ORB (Object Request Broker)
finally
49. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
int
do
if
50. 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
class
break
Java Remote Method Invocation (RMI)
Servlet workings