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. Imposes strict rules on the use of a variable by more than one thread at a time.
JavaCheck
import
volatile
catch
2. Useful only for small sites
while
MVC Architecture
Java Interface Definition Language (IDL)
Page-centric architecture
3. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
jsp:plugin (uses jsp:params and jsp:fallback)
IIOP (Internet Inter-ORB Protocol)
Servlet Aliasing
4. Creates a newly defined type
continue
IIOP (Internet Inter-ORB Protocol)
JDK (Java Development Kit)
enum
5. A self-reference
jsp:forware Action element (with jsp:param)
transient
package
this
6. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Java Naming and Directory Interface (JNDI)
JavaBeans
else
default
7. 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)
Servlet Aliasing
instanceof
else
8. 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
return
JAR (Java Archive)
class
if
9. Indicates that a variable or method can be used in subclasses from another package.
jsp:plugin (uses jsp:params and jsp:fallback)
protected
Java Media APIs
throw
10. Includes a file in the page
byte
Include Directive element
default
JavaScript
11. A tool for tracking and managing source file changes - written in Java.
Java Naming and Directory Interface (JNDI)
JavaSafe
new
synchronized
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.
Java Media Framework
continue
JavaScript
while
13. 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
Java Compatibility Kit (JCK)
Java Platform
DOM (Document Object Model)
14. 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 virtual machine
goto
Java Development Kit (JDK)
Update
15. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
double precision
JSP Beans
default
16. A description of the structure and properties of a class of XML files.
break
DTD (Document Type Definition)
Page-centric architecture
do
17. 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.
public
super
Java Development Kit (JDK)
Servlet Aliasing
18. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
char
Expressions
Java Platform
jsp:forware Action element (with jsp:param)
19. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
IIOP (Internet Inter-ORB Protocol)
native
class
Java Naming and Directory Interface (JNDI)
20. 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
interface
const
Java Media APIs
21. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
finally
strictfp
Java Foundation Classes (JFC)
IIOP (Internet Inter-ORB Protocol)
22. Keeps two threads from interfering with one another.
ORB (Object Request Broker)
Scriptlets
synchronized
JavaSpaces
23. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
class
CORBA
Java Naming and Directory Interface (JNDI)
jsp:plugin (uses jsp:params and jsp:fallback)
24. 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.
jsp:plugin (uses jsp:params and jsp:fallback)
Update
Servlet container
Java Media APIs
25. 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.
final
IIOP (Internet Inter-ORB Protocol)
Java Database Connectivity (JDBC)
package
26. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
JSP
static
public
27. 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
protected
short
Java Remote Method Invocation (RMI)
Servlet workings
28. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
while
Declarations
transient
Expressions
29. Sets attributes and properties specific to the current JSP page
jsp:include Action element (with jsp:param)
Page Directive element
Servlet Chaining
Java Runtime Environment (JRE)
30. Forces the abrupt end of the current loop iteration and begins another iteration.
Java Media APIs
Java Runtime Environment (JRE)
POA (Portable Object Adapter)
continue
31. Indicates that a method or constructor may pass the buck when an exception is thrown.
Java Platform
void
case
throws
32. 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.
DTD (Document Type Definition)
Jini Technology
JDK (Java Development Kit)
javax.servlet.http.*
33. A definition of the interfaces that permit CORBA objects to participate in transactions.
try
do
OTS (Object Transaction Service)
wrapper class
34. Reuses the functionality from a previously defined interface.
try
Servlet workings
implements
assert
35. Indicates that a value is an 8-bit whole number.
Jini Technology
byte
JDK (Java Development Kit)
char
36. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Java Native Interface
Servlet Chaining
Declarations
JavaSpaces
37. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java virtual machine
transient
Include Directive element
POA (Portable Object Adapter)
38. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
new
JAR (Java Archive)
wrapper class
catch
39. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
throw
instanceof
Java Native Interface
switch
40. 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.
Java Media APIs
Java Platform
Servlet
Java virtual machine
41. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
MVC Architecture
extends
Servlet Aliasing
protected
42. ______ uses HTML-like tags in a "*.jsp" web-page on a web server linked to from the client's web-browser as short-hand to render Java Servlet code in a Java .class file by the Servlet/JSP container (done by the "page-compiler" Servlet) running on the
native
JSP
Java Foundation Classes (JFC)
const
43. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
final
this
JavaCheck
do
44. An opensource Java Application Server
Java Naming and Directory Interface (JNDI)
import
Page-centric architecture
JBossn
45. 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
Servlet
volatile
while
46. Introduces the last will and testament of the statements in a try clause.
finally
Servlet Chaining
Java Native Interface
byte
47. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
double
package
jsp:plugin (uses jsp:params and jsp:fallback)
JSP Beans
48. A special Java servlet-aware web server process.
Servlet container
for
Java Development Kit (JDK)
assert
49. Introduces statements that are executed when the condition in an if statement isn't true.
else
OTS (Object Transaction Service)
ORB (Object Request Broker)
class
50. Repeats some statements over and over again (as long as a condition is still true).
while
JavaBeans
instanceof
transient