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. 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.
Java Interface Definition Language (IDL)
Java Runtime Environment (JRE)
jsp:include Action element (with jsp:param)
JavaSpaces
2. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Expressions
Java Native Interface
JSP Beans
class
3. 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
POA (Portable Object Adapter)
protected
double precision
JAR (Java Archive)
4. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Include Directive element
Java Runtime Environment (JRE)
transient
abstract
5. 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.
Servlet
class
enum
long
6. Ends execution of a method and possibly returns a value to the calling code.
JavaScript
Java Media Framework
jsp:forware Action element (with jsp:param)
return
7. Indicates that a value is a 32-bit whole number.
int
JavaSpaces
Expressions
finally
8. Used to terminate the execution of the current JSP page and switch control to another resource
void
jsp:forware Action element (with jsp:param)
char
Java Naming and Directory Interface (JNDI)
9. Forces the abrupt end of the current loop iteration and begins another iteration.
DOM (Document Object Model)
strictfp
Java virtual machine
continue
10. A definition of the interfaces that permit CORBA objects to participate in transactions.
OTS (Object Transaction Service)
abstract
jsp:plugin (uses jsp:params and jsp:fallback)
const
11. Includes a new tag library into page - allows use of tags in page
Java Development Kit (JDK)
DOM (Document Object Model)
Tag Library Directive element
IIOP (Internet Inter-ORB Protocol)
12. A tool for checking compliance of applications and applets to a specification.
Declarations
Java Runtime Environment (JRE)
extends
JavaCheck
13. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
javax.servlet.http.*
double precision
Java Foundation Classes (JFC)
jsp:plugin (uses jsp:params and jsp:fallback)
14. Indicates that a value is a 16-bit whole number.
IIOP (Internet Inter-ORB Protocol)
public
short
jsp:forware Action element (with jsp:param)
15. Sets attributes and properties specific to the current JSP page
Page Directive element
jsp:forware Action element (with jsp:param)
Servlet
boolean
16. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
MVC Architecture
catch
Page-centric architecture
try
17. A self-reference
byte
this
const
long
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 goto variable.
JavaSpaces
goto
CORBA
Declarations
19. Indicates that a value is a 64-bit whole number.
long
assert
double precision
super
20. Introduces a class
class
JavaSpaces
JavaSafe
JBossn
21. Similar to the include Directive but can pass information to the included resource
class
jsp:include Action element (with jsp:param)
Java Compatibility Kit (JCK)
Semaphore
22. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
Java Compatibility Kit (JCK)
jsp:forware Action element (with jsp:param)
boolean
23. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
do
boolean
JavaBeans
throws
24. A principal native to the operating system on which the Java platform is executing.
static
OS principal
Java Remote Method Invocation (RMI)
void
25. Introduces a path of execution to take when no case is a match in a switch statement.
default
break
void
jsp:plugin (uses jsp:params and jsp:fallback)
26. 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
if
Java Runtime Environment (JRE)
Declarations
Servlet workings
27. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
else
for
return
28. 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.
DTD (Document Type Definition)
JSP Beans
JavaScript
new
29. A library than enables CORBA objects to locate and communicate with one another.
try
ORB (Object Request Broker)
volatile
IIOP (Internet Inter-ORB Protocol)
30. Creates a newly defined type
JavaCheck
switch
enum
Java Database Connectivity (JDBC)
31. Jumps out of a loop or switch.
protected
jsp:include Action element (with jsp:param)
break
this
32. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
extends
super
MVC Architecture
Semaphore
33. Introduces one of several possible paths of execution in a switch statement.
break
transient
case
do
34. 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.
DTD (Document Type Definition)
Java Media APIs
Java Compatibility Kit (JCK)
OS principal
35. Puts the code into a package
DOM (Document Object Model)
package
switch
volatile
36. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
while
double precision
Java Development Kit (JDK)
super
37. Keeps two threads from interfering with one another.
synchronized
Jini Technology
static
do
38. A class that wraps primitives - Integer or Boolean...
new
class
wrapper class
Update
39. A description of the structure and properties of a class of XML files.
JavaBeans
DTD (Document Type Definition)
ORB (Object Request Broker)
super
40. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
OS principal
try
Update
strictfp
41. Refers to the superclass of the code in which the word super appears.
boolean
Java Platform
extends
super
42. 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
javax.servlet.http.*
ORB (Object Request Broker)
Java Applet Definition
JavaScript
43. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
interface
assert
Servlet Aliasing
throws
44. Includes a file in the page
void
Include Directive element
return
boolean
45. Introduces statements that are watched (during runtime) for things that can go wrong.
try
Jini Technology
JBossn
int
46. 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.
Servlet
try
byte
Java Remote Method Invocation (RMI)
47. A special Java servlet-aware web server process.
jsp:include Action element (with jsp:param)
Servlet container
private
Jini Technology
48. Introduces an interface which is like a class but less specific.
interface
transient
OTS (Object Transaction Service)
boolean
49. Basic code block of a JSP page
abstract
new
Scriptlets
public
50. 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.
break
case
IIOP (Internet Inter-ORB Protocol)
Java Database Connectivity (JDBC)