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. A tool for tracking and managing source file changes - written in Java.
Declarations
MVC Architecture
JavaSafe
Java Native Interface
2. 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.
continue
JavaScript
try
float
3. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Jini Technology
if
volatile
MVC Architecture
4. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
wrapper class
JBossn
Update
Semaphore
5. 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.
Java Media APIs
Update
package
long
6. A self-reference
jsp:forware Action element (with jsp:param)
this
public
boolean
7. Introduces a path of execution to take when no case is a match in a switch statement.
return
Java Applet Definition
synchronized
default
8. Tests the truth of a condition that the programmer believes is true.
void
double
assert
Java Media Framework
9. A protocol used for communication between CORBA object request brokers.
Expressions
JDK (Java Development Kit)
IIOP (Internet Inter-ORB Protocol)
javax.servlet.http.*
10. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
volatile
switch
jsp:include Action element (with jsp:param)
goto
11. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Servlet Aliasing
Java Foundation Classes (JFC)
JavaScript
Page-centric architecture
12. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
finally
Page-centric architecture
Java Database Connectivity (JDBC)
13. The output of one servlet act as a input to another servlet.
Servlet Chaining
Java Runtime Environment (JRE)
JSP
float
14. Introduces statements that are executed when the condition in an if statement isn't true.
Semaphore
else
protected
do
15. Indicates that a method or constructor may pass the buck when an exception is thrown.
switch
throws
else
if
16. Includes a file in the page
break
CORBA
continue
Include Directive element
17. Indicates that a value is an 8-bit whole number.
byte
super
Semaphore
wrapper class
18. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
switch
double
jsp:plugin (uses jsp:params and jsp:fallback)
19. 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
Update
implements
JAR (Java Archive)
POA (Portable Object Adapter)
20. CRUD: Create - Retrieve - ________ - Delete
public
super
Servlet Chaining
Update
21. 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.
byte
return
Java Development Kit (JDK)
JSP Beans
22. Basic code block of a JSP page
Scriptlets
Java Compatibility Kit (JCK)
JavaSpaces
wrapper class
23. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
public
CORBA
Java Native Interface
javax.servlet.http.*
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.
Servlet workings
const
Jini Technology
Expressions
25. Indicates that a value is a 32-bit whole number.
JSP Beans
transient
int
OS principal
26. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
Java Naming and Directory Interface (JNDI)
continue
DTD (Document Type Definition)
27. ______ uses HTML-like tags in a "*.jsp" web-page on a web server linked to from the client's web-browser as short-hand to render Java Servlet code in a Java .class file by the Servlet/JSP container (done by the "page-compiler" Servlet) running on the
catch
package
JSP
const
28. Creates an object from an existing class.
new
long
Java Platform
return
29. 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.
new
Jini Technology
goto
Java Database Connectivity (JDBC)
30. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
protected
JAR (Java Archive)
Servlet workings
JavaBeans
31. Two Servlet API packages: javax.servlet.* ___________
Include Directive element
this
javax.servlet.http.*
DOM (Document Object Model)
32. 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()
Servlet workings
Declarations
Servlet Chaining
do
33. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
DOM (Document Object Model)
do
JDK (Java Development Kit)
double
34. Refers to the superclass of the code in which the word super appears.
super
Servlet workings
Java Platform
continue
35. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
abstract
static
throw
MVC Architecture
36. Indicates that a value is a 64-bit whole number.
static
long
JAR (Java Archive)
CORBA
37. 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
implements
MVC Architecture
Page-centric architecture
extends
38. Imposes strict rules on the use of a variable by more than one thread at a time.
private
volatile
const
enum
39. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
super
JavaSpaces
this
JSP Beans
40. 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).
jsp:include Action element (with jsp:param)
IIOP (Internet Inter-ORB Protocol)
DTD (Document Type Definition)
Java Platform
41. Indicates that a value is either true or false in the Java sense.
javax.servlet.http.*
DTD (Document Type Definition)
boolean
double precision
42. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
Tag Library Directive element
double
boolean
jsp:plugin (uses jsp:params and jsp:fallback)
43. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
const
double
Servlet container
44. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
volatile
Page Directive element
import
45. A tool for checking compliance of applications and applets to a specification.
JavaCheck
CORBA
JSP
Java Media APIs
46. Introduces a class
class
default
JavaBeans
interface
47. Similar to the include Directive but can pass information to the included resource
jsp:include Action element (with jsp:param)
Semaphore
goto
Page-centric architecture
48. Used to generate HTML
static
DTD (Document Type Definition)
jsp:plugin (uses jsp:params and jsp:fallback)
JBossn
49. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
final
Scriptlets
super
package
50. Introduces an interface which is like a class but less specific.
byte
interface
Java Database Connectivity (JDBC)
Include Directive element