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. 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.
Java Platform
Java Runtime Environment (JRE)
goto
enum
2. Includes a file in the page
Include Directive element
long
const
Java Development Kit (JDK)
3. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
CORBA
Java Remote Method Invocation (RMI)
JavaCheck
4. 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
import
JavaCheck
strictfp
5. 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:forware Action element (with jsp:param)
try
package
Java Media APIs
6. A tool for checking compliance of applications and applets to a specification.
class
JavaSafe
Java Media APIs
JavaCheck
7. Repeats some statements over and over again (as long as a condition is still true).
Java Native Interface
catch
Java Media APIs
while
8. Indicates that a value is either true or false in the Java sense.
continue
break
boolean
Java Database Connectivity (JDBC)
9. 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
POA (Portable Object Adapter)
MVC Architecture
Declarations
Scriptlets
10. 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.
Java Database Connectivity (JDBC)
assert
try
Java Interface Definition Language (IDL)
11. 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.
protected
Java Remote Method Invocation (RMI)
Jini Technology
static
12. 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 Runtime Environment (JRE)
implements
POA (Portable Object Adapter)
int
13. Indicates that a variable or method can be used in subclasses from another package.
throws
Java Compatibility Kit (JCK)
protected
boolean
14. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
assert
public
Java Development Kit (JDK)
15. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
void
JavaSafe
javax.servlet.http.*
for
16. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
CORBA
wrapper class
Java Applet Definition
catch
17. A protocol used for communication between CORBA object request brokers.
IIOP (Internet Inter-ORB Protocol)
package
switch
while
18. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
Page Directive element
throw
default
static
19. Forces the abrupt end of the current loop iteration and begins another iteration.
extends
volatile
continue
Java Native Interface
20. 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.
catch
JSP
int
Java Compatibility Kit (JCK)
21. 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
long
Java Database Connectivity (JDBC)
Servlet workings
class
22. 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
protected
assert
wrapper class
23. Similar to the include Directive but can pass information to the included resource
native
do
Java Media APIs
jsp:include Action element (with jsp:param)
24. A class that wraps primitives - Integer or Boolean...
super
wrapper class
Java Naming and Directory Interface (JNDI)
JDK (Java Development Kit)
25. Tests the truth of a condition that the programmer believes is true.
MVC Architecture
assert
protected
CORBA
26. Run-once code blocks which run once at beginning of page load for initialization tasks - can appear anywhere in .jsp page itself - useful for overload JspInit() and JspDestroy()
finally
Declarations
jsp:forware Action element (with jsp:param)
Java Media APIs
27. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
abstract
switch
volatile
import
28. 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)
final
continue
const
29. Indicates that a method doesn't return a value.
throws
new
void
try
30. Indicates that a value is a 32-bit whole number.
DTD (Document Type Definition)
char
JavaBeans
int
31. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java Runtime Environment (JRE)
Semaphore
Servlet container
jsp:plugin (uses jsp:params and jsp:fallback)
32. A definition of the interfaces that permit CORBA objects to participate in transactions.
finally
jsp:forware Action element (with jsp:param)
Java virtual machine
OTS (Object Transaction Service)
33. 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
JavaSafe
Java Development Kit (JDK)
Java Applet Definition
Java Media APIs
34. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
synchronized
break
case
35. An opensource Java Application Server
Semaphore
JBossn
goto
JavaScript
36. Ends execution of a method and possibly returns a value to the calling code.
break
Update
DTD (Document Type Definition)
return
37. Includes a new tag library into page - allows use of tags in page
jsp:include Action element (with jsp:param)
Java Media APIs
Java Runtime Environment (JRE)
Tag Library Directive element
38. Indicates that a value is an 8-bit whole number.
Servlet container
do
byte
JAR (Java Archive)
39. Indicates that a variable or class or method can be used by any other Java code.
int
Scriptlets
JavaBeans
public
40. Indicates that a value is a 64-bit whole number.
long
Java virtual machine
boolean
char
41. Indicates that a variable or method belongs to a class rather than to any object created from the class.
while
JavaSafe
short
static
42. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
this
float
strictfp
native
43. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
strictfp
interface
Java Native Interface
double
44. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
break
goto
char
JavaScript
45. Indicates that a variable or method can be used only within a certain class.
public
Java virtual machine
private
goto
46. Introduces one of several possible paths of execution in a switch statement.
assert
JDK (Java Development Kit)
new
case
47. A self-reference
Servlet container
class
static
this
48. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.
instanceof
return
Java Media Framework
JSP
49. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
for
protected
Java Foundation Classes (JFC)
JDK (Java Development Kit)
50. 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
Java Media APIs
Java Development Kit (JDK)
continue