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. Tests the truth of a condition that the programmer believes is true.
long
jsp:plugin (uses jsp:params and jsp:fallback)
assert
Java virtual machine
2. Indicates that a variable or class or method can be used by any other Java code.
public
protected
POA (Portable Object Adapter)
Java Naming and Directory Interface (JNDI)
3. Refers to the superclass of the code in which the word super appears.
JavaCheck
const
abstract
super
4. 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
boolean
jsp:forware Action element (with jsp:param)
new
JAR (Java Archive)
5. 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
package
Java Naming and Directory Interface (JNDI)
Java Applet Definition
catch
6. Creates a newly defined type
jsp:include Action element (with jsp:param)
switch
enum
MVC Architecture
7. Indicates that a value is a 64-bit whole number.
jsp:plugin (uses jsp:params and jsp:fallback)
extends
implements
long
8. Reuses the functionality from a previously defined interface.
continue
implements
jsp:include Action element (with jsp:param)
class
9. A class that wraps primitives - Integer or Boolean...
Page-centric architecture
JAR (Java Archive)
package
wrapper class
10. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
public
JavaBeans
MVC Architecture
11. Introduces statements that are watched (during runtime) for things that can go wrong.
try
JSP
Include Directive element
Expressions
12. A protocol used for communication between CORBA object request brokers.
extends
do
float
IIOP (Internet Inter-ORB Protocol)
13. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
MVC Architecture
double precision
byte
Java Database Connectivity (JDBC)
14. CRUD: Create - Retrieve - ________ - Delete
goto
Java Native Interface
Update
Tag Library Directive element
15. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
OS principal
JDK (Java Development Kit)
DOM (Document Object Model)
16. 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.
Java Native Interface
JavaSafe
Java Applet Definition
implements
17. 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.
MVC Architecture
Java Foundation Classes (JFC)
Java Development Kit (JDK)
Declarations
18. Indicates that a method or constructor may pass the buck when an exception is thrown.
Jini Technology
Include Directive element
throws
throw
19. A self-reference
this
Expressions
Java virtual machine
abstract
20. A principal native to the operating system on which the Java platform is executing.
Servlet workings
JAR (Java Archive)
DTD (Document Type Definition)
OS principal
21. 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.
byte
Jini Technology
static
Java Interface Definition Language (IDL)
22. Keeps two threads from interfering with one another.
synchronized
Java Platform
Java Foundation Classes (JFC)
try
23. Indicates that a value is either true or false in the Java sense.
Include Directive element
Semaphore
boolean
JBossn
24. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
while
Java Foundation Classes (JFC)
default
Java Applet Definition
25. A tool for tracking and managing source file changes - written in Java.
JavaSafe
extends
char
interface
26. An opensource Java Application Server
Declarations
Java virtual machine
for
JBossn
27. Introduces one of several possible paths of execution in a switch statement.
switch
int
case
import
28. Puts the code into a package
package
Java Development Kit (JDK)
transient
short
29. Jumps out of a loop or switch.
javax.servlet.http.*
Java Interface Definition Language (IDL)
long
break
30. A tool for checking compliance of applications and applets to a specification.
JavaCheck
POA (Portable Object Adapter)
package
JDK (Java Development Kit)
31. Indicates that a value is a 16-bit whole number.
const
Java Foundation Classes (JFC)
javax.servlet.http.*
short
32. 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.
super
Servlet
goto
javax.servlet.http.*
33. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
POA (Portable Object Adapter)
Expressions
return
34. 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
continue
for
MVC Architecture
finally
35. Similar to the include Directive but can pass information to the included resource
synchronized
jsp:include Action element (with jsp:param)
ORB (Object Request Broker)
Java Runtime Environment (JRE)
36. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
switch
case
break
37. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
Servlet container
try
Include Directive element
38. Enables the programmer to abbreviate the names of classes defined in a package.
Java virtual machine
protected
wrapper class
import
39. Indicates that a variable or method can be used in subclasses from another package.
Servlet container
OTS (Object Transaction Service)
protected
void
40. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Java Media APIs
throw
CORBA
continue
41. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
protected
while
Java Media Framework
42. 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 Remote Method Invocation (RMI)
OS principal
Java Runtime Environment (JRE)
Java Media APIs
43. 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.
synchronized
jsp:forware Action element (with jsp:param)
JavaScript
Java Remote Method Invocation (RMI)
44. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
assert
protected
Servlet Chaining
45. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
public
final
Java Database Connectivity (JDBC)
46. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
transient
Java Naming and Directory Interface (JNDI)
javax.servlet.http.*
47. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Java Applet Definition
do
final
strictfp
48. A description of the structure and properties of a class of XML files.
jsp:plugin (uses jsp:params and jsp:fallback)
goto
Java Development Kit (JDK)
DTD (Document Type Definition)
49. Consists of class libraries - a Java virtual machine (JVM) and class loader (which comprise the runtime environment) and a compiler - debugger and other tools (which comprise the development kit).
Java Platform
case
switch
try
50. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
Servlet container
JavaScript
JBossn