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. Indicates that a value is an 8-bit whole number.
Semaphore
jsp:include Action element (with jsp:param)
byte
strictfp
2. 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
volatile
break
JavaScript
JAR (Java Archive)
3. Indicates that a method doesn't return a value.
JDK (Java Development Kit)
continue
void
class
4. Indicates that a value is a 64-bit whole number.
long
package
double precision
jsp:plugin (uses jsp:params and jsp:fallback)
5. Includes a file in the page
Include Directive element
synchronized
ORB (Object Request Broker)
private
6. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
catch
synchronized
strictfp
7. 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:plugin (uses jsp:params and jsp:fallback)
Java Compatibility Kit (JCK)
JavaScript
Java Database Connectivity (JDBC)
8. Indicates that a variable or class or method can be used by any other Java code.
transient
public
double
Java Runtime Environment (JRE)
9. 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.
Java Media APIs
long
public
final
10. A self-reference
class
Jini Technology
wrapper class
this
11. 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 Naming and Directory Interface (JNDI)
assert
Java virtual machine
MVC Architecture
12. Creates an object from an existing class.
default
double precision
class
new
13. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
strictfp
JDK (Java Development Kit)
char
import
14. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
break
Servlet Aliasing
JAR (Java Archive)
Java Native Interface
15. A tool for tracking and managing source file changes - written in Java.
break
long
JavaSafe
strictfp
16. A software development environment for writing applets and application in Java .
continue
int
Include Directive element
JDK (Java Development Kit)
17. ______ 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
throw
byte
JavaScript
JSP
18. Imposes strict rules on the use of a variable by more than one thread at a time.
DTD (Document Type Definition)
Semaphore
volatile
static
19. 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.
package
float
Servlet Chaining
Java Compatibility Kit (JCK)
20. Introduces a class
class
switch
Tag Library Directive element
Update
21. 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.
JSP
goto
IIOP (Internet Inter-ORB Protocol)
final
22. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
JavaSafe
double
int
new
23. Basic code block of a JSP page
MVC Architecture
DOM (Document Object Model)
Declarations
Scriptlets
24. 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
enum
wrapper class
Java Interface Definition Language (IDL)
Servlet
25. A protocol used for communication between CORBA object request brokers.
double precision
JSP
DTD (Document Type Definition)
IIOP (Internet Inter-ORB Protocol)
26. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
case
transient
CORBA
return
27. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
Java Applet Definition
strictfp
Page Directive element
28. Introduces a path of execution to take when no case is a match in a switch statement.
default
char
public
Java Compatibility Kit (JCK)
29. Introduces statements that are executed when the condition in an if statement isn't true.
throw
Java Interface Definition Language (IDL)
else
Java Compatibility Kit (JCK)
30. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
double precision
Expressions
enum
Semaphore
31. Indicates that a value is either true or false in the Java sense.
boolean
new
JSP
synchronized
32. Reuses the functionality from a previously defined interface.
MVC Architecture
IIOP (Internet Inter-ORB Protocol)
implements
Java Remote Method Invocation (RMI)
33. Introduces statements that are watched (during runtime) for things that can go wrong.
try
enum
switch
Java Database Connectivity (JDBC)
34. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
finally
wrapper class
throw
Servlet Chaining
35. A class that wraps primitives - Integer or Boolean...
Java Native Interface
JSP Beans
public
wrapper class
36. 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
else
volatile
Java Applet Definition
MVC Architecture
37. Jumps out of a loop or switch.
static
if
jsp:forware Action element (with jsp:param)
break
38. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
strictfp
if
Include Directive element
JDK (Java Development Kit)
39. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
return
volatile
void
Java Foundation Classes (JFC)
40. 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.
assert
Jini Technology
Java Media Framework
do
41. Indicates that a value is a 32-bit whole number.
Java Applet Definition
import
int
default
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.
final
Scriptlets
Servlet workings
Java Database Connectivity (JDBC)
43. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
Page-centric architecture
Java Native Interface
throw
44. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Tag Library Directive element
Java Platform
Scriptlets
JavaSpaces
45. Indicates that a value is a 16-bit whole number.
assert
Java virtual machine
short
boolean
46. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
else
abstract
Java Database Connectivity (JDBC)
volatile
47. Indicates that a method or constructor may pass the buck when an exception is thrown.
Servlet Chaining
Scriptlets
throws
Java Interface Definition Language (IDL)
48. The output of one servlet act as a input to another servlet.
POA (Portable Object Adapter)
IIOP (Internet Inter-ORB Protocol)
Java Database Connectivity (JDBC)
Servlet Chaining
49. Two Servlet API packages: javax.servlet.* ___________
interface
javax.servlet.http.*
JDK (Java Development Kit)
strictfp
50. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
assert
if
native