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. Reuses the functionality from a previously defined interface.
abstract
implements
Java Media Framework
CORBA
2. Indicates that a value is a 32-bit whole number.
Servlet container
Declarations
Tag Library Directive element
int
3. A tool for tracking and managing source file changes - written in Java.
JavaSpaces
double
implements
JavaSafe
4. 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.
Java Development Kit (JDK)
DTD (Document Type Definition)
if
case
5. Includes a file in the page
const
Include Directive element
public
for
6. A special Java servlet-aware web server process.
interface
Servlet container
new
JBossn
7. A software development environment for writing applets and application in Java .
this
default
do
JDK (Java Development Kit)
8. A standard programming interface for writing Java native methods and embedding the JVM into native applications. The primary goal is binary compatibility of native method libraries across all JVM implementations on a given platform.
Tag Library Directive element
case
Java Native Interface
catch
9. An opensource Java Application Server
for
JBossn
return
finally
10. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
Java Runtime Environment (JRE)
jsp:forware Action element (with jsp:param)
catch
abstract
11. Includes a new tag library into page - allows use of tags in page
class
Java Naming and Directory Interface (JNDI)
Tag Library Directive element
IIOP (Internet Inter-ORB Protocol)
12. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Java Runtime Environment (JRE)
do
Java Foundation Classes (JFC)
goto
13. 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
do
CORBA
long
14. 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
Servlet workings
try
Servlet container
javax.servlet.http.*
15. Tests the truth of a condition that the programmer believes is true.
goto
assert
JavaSafe
Expressions
16. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
new
double precision
const
break
17. 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
JAR (Java Archive)
public
double
Java Compatibility Kit (JCK)
18. Refers to the superclass of the code in which the word super appears.
super
short
Tag Library Directive element
instanceof
19. A set of APIs that assists with the interfacing to multiple naming and directory services.
short
long
Java Naming and Directory Interface (JNDI)
catch
20. 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
Servlet
assert
package
21. A protocol used for communication between CORBA object request brokers.
Java Platform
IIOP (Internet Inter-ORB Protocol)
DOM (Document Object Model)
case
22. 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.
jsp:include Action element (with jsp:param)
transient
Java Compatibility Kit (JCK)
synchronized
23. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
volatile
transient
float
do
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
Java Interface Definition Language (IDL)
JavaSpaces
JavaBeans
Java Runtime Environment (JRE)
25. Introduces a path of execution to take when no case is a match in a switch statement.
default
Update
class
Servlet
26. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
JBossn
OTS (Object Transaction Service)
char
27. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
super
abstract
Java virtual machine
float
28. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
try
native
class
interface
29. Creates a newly defined type
while
Jini Technology
enum
Semaphore
30. 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.
void
new
Java Remote Method Invocation (RMI)
Jini Technology
31. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
Java Native Interface
DTD (Document Type Definition)
Servlet container
32. 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.
JSP Beans
Declarations
jsp:forware Action element (with jsp:param)
Java Runtime Environment (JRE)
33. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Scriptlets
const
abstract
private
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.
Page Directive element
short
strictfp
Java Database Connectivity (JDBC)
35. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Java Media Framework
instanceof
throws
JavaBeans
36. Useful only for small sites
Update
Java Compatibility Kit (JCK)
JavaBeans
Page-centric architecture
37. Sets attributes and properties specific to the current JSP page
Page Directive element
JSP Beans
for
new
38. 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.
protected
do
byte
Servlet
39. Indicates that a value is a 64-bit whole number.
strictfp
jsp:forware Action element (with jsp:param)
long
extends
40. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
throws
jsp:plugin (uses jsp:params and jsp:fallback)
DTD (Document Type Definition)
JSP Beans
41. A principal native to the operating system on which the Java platform is executing.
return
OS principal
assert
JSP
42. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
Java Runtime Environment (JRE)
void
while
43. 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.
double precision
Java Remote Method Invocation (RMI)
Java Foundation Classes (JFC)
private
44. A tool for checking compliance of applications and applets to a specification.
JavaCheck
Java Foundation Classes (JFC)
import
Java virtual machine
45. Creates a subclass
private
Servlet workings
extends
JAR (Java Archive)
46. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
OS principal
Servlet Aliasing
short
native
47. The output of one servlet act as a input to another servlet.
else
JavaSpaces
Java Native Interface
Servlet Chaining
48. Puts the code into a package
for
Java Applet Definition
package
instanceof
49. 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 Applet Definition
JavaScript
Update
Java virtual machine
50. A library than enables CORBA objects to locate and communicate with one another.
static
ORB (Object Request Broker)
class
public