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. Indicates that a value is either true or false in the Java sense.
JAR (Java Archive)
Java Media Framework
boolean
ORB (Object Request Broker)
2. 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).
finally
Java Platform
double
Java Native Interface
3. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
Servlet
CORBA
JavaSpaces
4. Creates a subclass
goto
package
extends
while
5. Indicates that a variable or method can be used only within a certain class.
Scriptlets
finally
private
DOM (Document Object Model)
6. Creates an object from an existing class.
do
case
JBossn
new
7. A special Java servlet-aware web server process.
Servlet container
CORBA
implements
Servlet
8. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
Java Remote Method Invocation (RMI)
this
assert
9. 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)
int
switch
strictfp
10. 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.
break
Java Media APIs
boolean
JDK (Java Development Kit)
11. 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
Tag Library Directive element
JAR (Java Archive)
javax.servlet.http.*
Java Interface Definition Language (IDL)
12. Imposes strict rules on the use of a variable by more than one thread at a time.
continue
Java Applet Definition
catch
volatile
13. A principal native to the operating system on which the Java platform is executing.
while
finally
OS principal
do
14. Used to generate HTML
interface
jsp:plugin (uses jsp:params and jsp:fallback)
switch
break
15. An opensource Java Application Server
JBossn
Expressions
DOM (Document Object Model)
Tag Library Directive element
16. Keeps two threads from interfering with one another.
synchronized
extends
int
Jini Technology
17. Introduces statements that are watched (during runtime) for things that can go wrong.
Java Native Interface
try
import
public
18. 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
MVC Architecture
const
else
Jini Technology
19. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Page Directive element
final
wrapper class
class
20. Introduces a path of execution to take when no case is a match in a switch statement.
interface
JavaBeans
IIOP (Internet Inter-ORB Protocol)
default
21. 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.
jsp:plugin (uses jsp:params and jsp:fallback)
const
break
Java Native Interface
22. A library than enables CORBA objects to locate and communicate with one another.
void
wrapper class
Servlet
ORB (Object Request Broker)
23. 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
Declarations
const
Java Interface Definition Language (IDL)
private
24. Useful only for small sites
byte
JavaSafe
Page-centric architecture
case
25. 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 const variable.
break
const
Java Remote Method Invocation (RMI)
Include Directive element
26. Introduces a class
jsp:forware Action element (with jsp:param)
class
Servlet
Java Foundation Classes (JFC)
27. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Java Development Kit (JDK)
native
assert
long
28. Tests the truth of a condition that the programmer believes is true.
Servlet Chaining
import
assert
Java Compatibility Kit (JCK)
29. Includes a file in the page
private
Include Directive element
abstract
if
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.
Jini Technology
JSP Beans
Java Media Framework
Java Development Kit (JDK)
31. Introduces statements that are executed when the condition in an if statement isn't true.
private
finally
else
transient
32. Introduces an interface which is like a class but less specific.
interface
Java Applet Definition
Include Directive element
javax.servlet.http.*
33. Similar to the include Directive but can pass information to the included resource
Servlet workings
jsp:include Action element (with jsp:param)
OS principal
public
34. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Java Native Interface
class
CORBA
Java Compatibility Kit (JCK)
35. CRUD: Create - Retrieve - ________ - Delete
new
return
OTS (Object Transaction Service)
Update
36. Indicates that a method doesn't return a value.
switch
void
Semaphore
boolean
37. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
static
double
JavaCheck
int
38. 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()
JavaCheck
Servlet
JavaSafe
Declarations
39. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
Java Naming and Directory Interface (JNDI)
private
CORBA
40. 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.
Include Directive element
javax.servlet.http.*
Servlet
interface
41. Indicates that a variable or method can be used in subclasses from another package.
protected
package
JavaCheck
continue
42. 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.
throws
do
continue
JavaScript
43. 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
try
Servlet workings
JavaBeans
Servlet
44. Forces the abrupt end of the current loop iteration and begins another iteration.
DOM (Document Object Model)
MVC Architecture
byte
continue
45. 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.
Java Compatibility Kit (JCK)
implements
OS principal
Java Database Connectivity (JDBC)
46. A protocol used for communication between CORBA object request brokers.
IIOP (Internet Inter-ORB Protocol)
super
Servlet workings
static
47. Ends execution of a method and possibly returns a value to the calling code.
return
Java Naming and Directory Interface (JNDI)
finally
Java Interface Definition Language (IDL)
48. Creates a newly defined type
assert
Java Development Kit (JDK)
enum
import
49. Indicates that a value is a 16-bit whole number.
short
Java Development Kit (JDK)
Java Database Connectivity (JDBC)
jsp:include Action element (with jsp:param)
50. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
byte
break
Java Native Interface