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. Introduces a path of execution to take when no case is a match in a switch statement.
Java Foundation Classes (JFC)
default
final
ORB (Object Request Broker)
2. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
byte
extends
Java Interface Definition Language (IDL)
strictfp
3. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
DOM (Document Object Model)
enum
catch
this
4. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Java Database Connectivity (JDBC)
Java Native Interface
Expressions
OTS (Object Transaction Service)
5. Puts the code into a package
transient
interface
package
Tag Library Directive element
6. 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
do
Servlet
const
7. 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.
Java Applet Definition
Java Runtime Environment (JRE)
OS principal
Servlet
8. 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)
Java Development Kit (JDK)
jsp:plugin (uses jsp:params and jsp:fallback)
while
9. An opensource Java Application Server
JavaScript
for
Java Foundation Classes (JFC)
JBossn
10. Keeps two threads from interfering with one another.
volatile
throws
synchronized
import
11. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
try
return
Java Native Interface
12. Introduces an interface which is like a class but less specific.
native
POA (Portable Object Adapter)
Servlet workings
interface
13. Enables the programmer to abbreviate the names of classes defined in a package.
import
DTD (Document Type Definition)
javax.servlet.http.*
Servlet Aliasing
14. 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()
package
Declarations
continue
Page Directive element
15. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
const
DOM (Document Object Model)
CORBA
OTS (Object Transaction Service)
16. Creates a newly defined type
Servlet workings
enum
interface
ORB (Object Request Broker)
17. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
enum
OTS (Object Transaction Service)
JavaBeans
DOM (Document Object Model)
18. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
switch
JavaCheck
Java Platform
Semaphore
19. 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.
byte
Include Directive element
Java Media Framework
if
20. 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
JavaCheck
finally
ORB (Object Request Broker)
Java Applet Definition
21. Indicates that a method or constructor may pass the buck when an exception is thrown.
double precision
throws
Servlet container
switch
22. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Java Development Kit (JDK)
char
DTD (Document Type Definition)
Java Media APIs
23. Basic code block of a JSP page
try
Scriptlets
this
goto
24. Indicates that a method doesn't return a value.
Java Media Framework
void
native
short
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 goto variable.
goto
JSP
throw
Java Interface Definition Language (IDL)
26. Repeats some statements over and over again (as long as a condition is still true).
Java Foundation Classes (JFC)
boolean
Servlet Aliasing
while
27. A tool for tracking and managing source file changes - written in Java.
Java virtual machine
default
Java Interface Definition Language (IDL)
JavaSafe
28. Indicates that a value is a 16-bit whole number.
double precision
final
short
Jini Technology
29. Sets attributes and properties specific to the current JSP page
JavaCheck
finally
Java Applet Definition
Page Directive element
30. Introduces one of several possible paths of execution in a switch statement.
IIOP (Internet Inter-ORB Protocol)
Page-centric architecture
JavaSafe
case
31. Introduces statements that are executed when the condition in an if statement isn't true.
else
Scriptlets
abstract
Java Platform
32. Creates an object from an existing class.
wrapper class
int
new
switch
33. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
switch
return
do
jsp:plugin (uses jsp:params and jsp:fallback)
34. 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)
do
wrapper class
break
35. 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.
OS principal
Tag Library Directive element
JAR (Java Archive)
const
36. A definition of the interfaces that permit CORBA objects to participate in transactions.
double
private
jsp:forware Action element (with jsp:param)
OTS (Object Transaction Service)
37. Indicates that a value is either true or false in the Java sense.
OTS (Object Transaction Service)
JavaSafe
boolean
Java Interface Definition Language (IDL)
38. Introduces the last will and testament of the statements in a try clause.
DTD (Document Type Definition)
finally
case
CORBA
39. Indicates that a variable or class or method can be used by any other Java code.
javax.servlet.http.*
public
class
double precision
40. Indicates that a value is a 64-bit whole number.
DOM (Document Object Model)
float
instanceof
long
41. Indicates that a variable or method belongs to a class rather than to any object created from the class.
implements
Java Database Connectivity (JDBC)
float
static
42. Used to terminate the execution of the current JSP page and switch control to another resource
Java Remote Method Invocation (RMI)
Java Development Kit (JDK)
throws
jsp:forware Action element (with jsp:param)
43. Indicates that a variable or method can be used only within a certain class.
transient
Java Development Kit (JDK)
JBossn
private
44. Imposes strict rules on the use of a variable by more than one thread at a time.
DTD (Document Type Definition)
volatile
strictfp
throws
45. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
switch
float
void
char
46. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
long
jsp:include Action element (with jsp:param)
void
double precision
47. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JSP Beans
Java Development Kit (JDK)
JavaBeans
Servlet container
48. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
DOM (Document Object Model)
catch
int
JSP Beans
49. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Platform
javax.servlet.http.*
Java Foundation Classes (JFC)
abstract
50. 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).
class
Java Platform
Java Native Interface
Servlet