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 a 64-bit whole number.
long
Java Media Framework
do
class
2. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
goto
JavaSpaces
while
JavaCheck
3. Similar to the include Directive but can pass information to the included resource
jsp:include Action element (with jsp:param)
OS principal
double precision
jsp:forware Action element (with jsp:param)
4. 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()
synchronized
switch
this
Declarations
5. Repeats some statements over and over again (as long as a condition is still true).
while
Servlet Chaining
jsp:forware Action element (with jsp:param)
extends
6. Puts the code into a package
jsp:plugin (uses jsp:params and jsp:fallback)
package
Page-centric architecture
Java Compatibility Kit (JCK)
7. Tests the truth of a condition that the programmer believes is true.
throws
DOM (Document Object Model)
assert
DTD (Document Type Definition)
8. 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.
transient
extends
Java Native Interface
Page Directive element
9. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Semaphore
ORB (Object Request Broker)
for
jsp:plugin (uses jsp:params and jsp:fallback)
10. Jumps out of a loop or switch.
break
Page-centric architecture
JavaScript
class
11. Reuses the functionality from a previously defined interface.
const
JAR (Java Archive)
implements
IIOP (Internet Inter-ORB Protocol)
12. Indicates that a value is an 8-bit whole number.
POA (Portable Object Adapter)
implements
Servlet Chaining
byte
13. 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.
synchronized
finally
Java Media Framework
new
14. Basic code block of a JSP page
Scriptlets
Servlet
finally
Java Applet Definition
15. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
try
CORBA
javax.servlet.http.*
MVC Architecture
16. 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
Page Directive element
JAR (Java Archive)
strictfp
CORBA
17. Ends execution of a method and possibly returns a value to the calling code.
return
default
Servlet Aliasing
implements
18. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
JavaSpaces
break
Servlet Aliasing
19. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
instanceof
char
Servlet Aliasing
protected
20. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Java Platform
POA (Portable Object Adapter)
OTS (Object Transaction Service)
for
21. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
enum
Page Directive element
Java Foundation Classes (JFC)
Jini Technology
22. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Servlet Chaining
continue
new
DOM (Document Object Model)
23. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
default
Java Media APIs
int
24. 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.
const
Servlet Chaining
char
Semaphore
25. Introduces statements that are watched (during runtime) for things that can go wrong.
long
Include Directive element
try
else
26. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
JavaSpaces
Java Remote Method Invocation (RMI)
Java Development Kit (JDK)
double
27. Introduces one of several possible paths of execution in a switch statement.
final
continue
case
else
28. A tool for tracking and managing source file changes - written in Java.
JavaSafe
class
jsp:forware Action element (with jsp:param)
private
29. CRUD: Create - Retrieve - ________ - Delete
abstract
Java Foundation Classes (JFC)
Update
catch
30. 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.
Tag Library Directive element
const
Java Runtime Environment (JRE)
long
31. 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
Java Media Framework
class
MVC Architecture
Page-centric architecture
32. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
public
JavaSpaces
float
JAR (Java Archive)
33. A software development environment for writing applets and application in Java .
this
JDK (Java Development Kit)
Update
volatile
34. 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).
super
static
interface
Java virtual machine
35. A protocol used for communication between CORBA object request brokers.
int
Java Media Framework
IIOP (Internet Inter-ORB Protocol)
JSP
36. Enables the programmer to abbreviate the names of classes defined in a package.
else
int
import
strictfp
37. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
IIOP (Internet Inter-ORB Protocol)
else
Servlet Chaining
38. Indicates that a value is a 32-bit whole number.
void
int
return
break
39. Indicates that a variable or method can be used only within a certain class.
Servlet workings
private
Servlet
jsp:plugin (uses jsp:params and jsp:fallback)
40. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
short
JDK (Java Development Kit)
final
Java Runtime Environment (JRE)
41. 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
byte
try
Servlet workings
int
42. Introduces an interface which is like a class but less specific.
Semaphore
interface
new
Include Directive element
43. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
private
public
synchronized
44. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
extends
transient
Servlet workings
double precision
45. Indicates that a value is either true or false in the Java sense.
boolean
break
static
finally
46. A definition of the interfaces that permit CORBA objects to participate in transactions.
static
OTS (Object Transaction Service)
wrapper class
return
47. Tests to see whether a certain object comes from a certain class.
return
Update
double precision
instanceof
48. 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-centric architecture
Java virtual machine
DOM (Document Object Model)
Java Interface Definition Language (IDL)
49. Creates a subclass
JDK (Java Development Kit)
finally
extends
Servlet Chaining
50. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
protected
throw
strictfp
class