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. Enables the programmer to abbreviate the names of classes defined in a package.
int
finally
import
javax.servlet.http.*
2. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
try
case
final
enum
3. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
JavaSafe
Semaphore
Scriptlets
throw
4. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
DTD (Document Type Definition)
MVC Architecture
void
5. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
double
throw
jsp:plugin (uses jsp:params and jsp:fallback)
double precision
6. Introduces a path of execution to take when no case is a match in a switch statement.
JSP
default
JavaSafe
enum
7. Indicates that a method doesn't return a value.
CORBA
Java Foundation Classes (JFC)
package
void
8. A library than enables CORBA objects to locate and communicate with one another.
Java Native Interface
ORB (Object Request Broker)
continue
IIOP (Internet Inter-ORB Protocol)
9. 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).
javax.servlet.http.*
interface
Java virtual machine
char
10. Introduces one of several possible paths of execution in a switch statement.
else
Expressions
synchronized
case
11. A set of APIs that assists with the interfacing to multiple naming and directory services.
Servlet
Java Naming and Directory Interface (JNDI)
static
Servlet Aliasing
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.
Scriptlets
double
JavaScript
return
13. Indicates that a value is an 8-bit whole number.
jsp:plugin (uses jsp:params and jsp:fallback)
JavaScript
byte
OTS (Object Transaction Service)
14. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet
try
Servlet Aliasing
Java Foundation Classes (JFC)
15. Jumps out of a loop or switch.
Java virtual machine
break
Expressions
Servlet Chaining
16. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
switch
Declarations
ORB (Object Request Broker)
JBossn
17. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
class
else
DOM (Document Object Model)
18. Similar to the include Directive but can pass information to the included resource
Semaphore
Scriptlets
jsp:include Action element (with jsp:param)
JavaBeans
19. 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.
transient
goto
new
Page Directive element
20. 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.
Expressions
Java Media Framework
float
import
21. Includes a file in the page
Page-centric architecture
Include Directive element
case
jsp:include Action element (with jsp:param)
22. A class that wraps primitives - Integer or Boolean...
jsp:plugin (uses jsp:params and jsp:fallback)
break
return
wrapper class
23. Puts the code into a package
public
instanceof
abstract
package
24. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
DTD (Document Type Definition)
JavaBeans
Servlet workings
abstract
25. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
new
interface
transient
byte
26. 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.
Java Remote Method Invocation (RMI)
Java Compatibility Kit (JCK)
case
IIOP (Internet Inter-ORB Protocol)
27. 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
volatile
POA (Portable Object Adapter)
jsp:include Action element (with jsp:param)
Java Applet Definition
28. 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 Chaining
Java Media APIs
JavaCheck
29. 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()
try
Declarations
protected
while
30. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
transient
Java Foundation Classes (JFC)
ORB (Object Request Broker)
while
31. 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
Page Directive element
Java Interface Definition Language (IDL)
Tag Library Directive element
for
32. Creates a newly defined type
enum
double precision
Java Media Framework
JavaSafe
33. 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
native
JBossn
34. Useful only for small sites
do
Page-centric architecture
class
Java Applet Definition
35. 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)
int
char
return
36. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
JSP Beans
if
native
continue
37. An opensource Java Application Server
JavaScript
default
Scriptlets
JBossn
38. 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:forware Action element (with jsp:param)
public
CORBA
Java Runtime Environment (JRE)
39. Keeps two threads from interfering with one another.
Jini Technology
IIOP (Internet Inter-ORB Protocol)
public
synchronized
40. A principal native to the operating system on which the Java platform is executing.
OS principal
extends
strictfp
new
41. Indicates that a value is a 32-bit whole number.
interface
for
try
int
42. A self-reference
this
jsp:forware Action element (with jsp:param)
assert
Java Remote Method Invocation (RMI)
43. Indicates that a value is a 64-bit whole number.
ORB (Object Request Broker)
static
long
POA (Portable Object Adapter)
44. Refers to the superclass of the code in which the word super appears.
double precision
Servlet workings
super
MVC Architecture
45. Used to terminate the execution of the current JSP page and switch control to another resource
char
final
super
jsp:forware Action element (with jsp:param)
46. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
case
do
Java Development Kit (JDK)
Update
47. 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
for
break
Servlet Chaining
Servlet workings
48. Creates an object from an existing class.
throws
new
if
Java Remote Method Invocation (RMI)
49. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
DTD (Document Type Definition)
OS principal
JavaSpaces
jsp:forware Action element (with jsp:param)
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.
Servlet
throws
ORB (Object Request Broker)
Java Database Connectivity (JDBC)