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 to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
package
if
Semaphore
assert
2. 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.
Include Directive element
Java Media APIs
while
javax.servlet.http.*
3. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
JAR (Java Archive)
Java Foundation Classes (JFC)
interface
javax.servlet.http.*
4. Similar to the include Directive but can pass information to the included resource
jsp:include Action element (with jsp:param)
JavaBeans
transient
wrapper class
5. Refers to the superclass of the code in which the word super appears.
JSP
OTS (Object Transaction Service)
jsp:plugin (uses jsp:params and jsp:fallback)
super
6. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
if
Page Directive element
instanceof
do
7. A self-reference
instanceof
Java Runtime Environment (JRE)
int
this
8. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
case
native
Java Compatibility Kit (JCK)
volatile
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
break
MVC Architecture
volatile
private
10. 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.
break
Java Development Kit (JDK)
goto
short
11. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
this
JBossn
JSP
double
12. 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
for
long
OTS (Object Transaction Service)
13. A software development environment for writing applets and application in Java .
const
JAR (Java Archive)
goto
JDK (Java Development Kit)
14. Repeats some statements over and over again (as long as a condition is still true).
Java Platform
while
transient
Java Applet Definition
15. 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.
JavaSafe
Java Database Connectivity (JDBC)
import
boolean
16. 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.
JavaScript
DOM (Document Object Model)
Jini Technology
final
17. Keeps two threads from interfering with one another.
jsp:include Action element (with jsp:param)
JavaScript
JavaCheck
synchronized
18. Indicates that a value is a 16-bit whole number.
Semaphore
Page Directive element
short
jsp:forware Action element (with jsp:param)
19. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Jini Technology
JavaSafe
Java Foundation Classes (JFC)
JavaSpaces
20. 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 Remote Method Invocation (RMI)
Servlet Aliasing
JDK (Java Development Kit)
strictfp
21. 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).
throw
short
Java virtual machine
throws
22. Creates an object from an existing class.
ORB (Object Request Broker)
transient
for
new
23. 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)
OS principal
throws
JDK (Java Development Kit)
24. Ends execution of a method and possibly returns a value to the calling code.
else
for
return
Java Media Framework
25. Jumps out of a loop or switch.
private
wrapper class
Servlet Aliasing
break
26. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Servlet workings
JSP
Java Native Interface
POA (Portable Object Adapter)
27. 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.
JAR (Java Archive)
else
const
return
28. 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()
Declarations
IIOP (Internet Inter-ORB Protocol)
Java Native Interface
class
29. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
MVC Architecture
JSP Beans
synchronized
Java Native Interface
30. A definition of the interfaces that permit CORBA objects to participate in transactions.
byte
assert
JDK (Java Development Kit)
OTS (Object Transaction Service)
31. Includes a new tag library into page - allows use of tags in page
void
jsp:plugin (uses jsp:params and jsp:fallback)
Tag Library Directive element
JBossn
32. Indicates that a method doesn't return a value.
Java Media APIs
Servlet workings
void
package
33. Basic code block of a JSP page
Update
Page-centric architecture
byte
Scriptlets
34. Introduces the last will and testament of the statements in a try clause.
jsp:plugin (uses jsp:params and jsp:fallback)
Java Database Connectivity (JDBC)
return
finally
35. Useful only for small sites
Page-centric architecture
const
protected
OTS (Object Transaction Service)
36. Introduces a class
short
class
Update
Java Database Connectivity (JDBC)
37. Introduces statements that are executed when the condition in an if statement isn't true.
else
transient
Java Foundation Classes (JFC)
continue
38. Creates a newly defined type
enum
native
JBossn
Java Interface Definition Language (IDL)
39. 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)
static
default
final
40. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
JavaCheck
instanceof
Scriptlets
41. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
Servlet Chaining
final
JavaSpaces
42. 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
JAR (Java Archive)
switch
const
case
43. Indicates that a variable or method belongs to a class rather than to any object created from the class.
volatile
abstract
static
Java Database Connectivity (JDBC)
44. Indicates that a variable or class or method can be used by any other Java code.
package
boolean
public
strictfp
45. A tool for tracking and managing source file changes - written in Java.
Tag Library Directive element
static
JavaSafe
Java Compatibility Kit (JCK)
46. Introduces statements that are watched (during runtime) for things that can go wrong.
Java Media Framework
try
for
final
47. A principal native to the operating system on which the Java platform is executing.
JSP Beans
Java Interface Definition Language (IDL)
OS principal
do
48. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
abstract
return
double precision
byte
49. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
native
int
byte
50. Two Servlet API packages: javax.servlet.* ___________
switch
javax.servlet.http.*
IIOP (Internet Inter-ORB Protocol)
Java Media Framework