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. 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
Java Applet Definition
int
assert
JSP Beans
2. Repeats some statements over and over again (as long as a condition is still true).
boolean
for
while
implements
3. 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
double
Scriptlets
Servlet workings
Java Interface Definition Language (IDL)
4. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
JSP
switch
throw
instanceof
5. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
POA (Portable Object Adapter)
Java Native Interface
jsp:forware Action element (with jsp:param)
6. Introduces one of several possible paths of execution in a switch statement.
Tag Library Directive element
float
case
final
7. Introduces the last will and testament of the statements in a try clause.
finally
wrapper class
short
Servlet
8. Basic code block of a JSP page
POA (Portable Object Adapter)
javax.servlet.http.*
Scriptlets
Java Naming and Directory Interface (JNDI)
9. Creates a subclass
POA (Portable Object Adapter)
Java Foundation Classes (JFC)
JAR (Java Archive)
extends
10. 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
JavaSafe
interface
jsp:forware Action element (with jsp:param)
11. 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.
jsp:forware Action element (with jsp:param)
Declarations
assert
Java Compatibility Kit (JCK)
12. 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()
finally
boolean
OTS (Object Transaction Service)
Declarations
13. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
wrapper class
DOM (Document Object Model)
Servlet
import
14. Puts the code into a package
assert
package
enum
Java Runtime Environment (JRE)
15. A class that wraps primitives - Integer or Boolean...
const
package
wrapper class
strictfp
16. Includes a file in the page
Servlet Aliasing
Java Interface Definition Language (IDL)
Include Directive element
native
17. Introduces an interface which is like a class but less specific.
interface
Tag Library Directive element
wrapper class
Java Platform
18. Introduces statements that are executed when the condition in an if statement isn't true.
byte
jsp:include Action element (with jsp:param)
void
else
19. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
switch
if
Java Development Kit (JDK)
long
20. Indicates that a method doesn't return a value.
OS principal
instanceof
void
final
21. Indicates that a variable or class or method can be used by any other Java code.
OTS (Object Transaction Service)
public
instanceof
transient
22. Enables the programmer to abbreviate the names of classes defined in a package.
javax.servlet.http.*
case
Java Compatibility Kit (JCK)
import
23. A tool for tracking and managing source file changes - written in Java.
OTS (Object Transaction Service)
Servlet Chaining
final
JavaSafe
24. Sets attributes and properties specific to the current JSP page
finally
DTD (Document Type Definition)
Page Directive element
Update
25. An opensource Java Application Server
Java Platform
JBossn
jsp:include Action element (with jsp:param)
protected
26. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
finally
Expressions
JDK (Java Development Kit)
MVC Architecture
27. A definition of the interfaces that permit CORBA objects to participate in transactions.
volatile
jsp:forware Action element (with jsp:param)
OTS (Object Transaction Service)
Java Applet Definition
28. Indicates that a value is a 16-bit whole number.
Scriptlets
Java Foundation Classes (JFC)
short
transient
29. Useful only for small sites
char
Page-centric architecture
finally
private
30. Indicates that a value is a 32-bit whole number.
int
double
for
static
31. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Include Directive element
Declarations
char
Update
32. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
JAR (Java Archive)
native
new
public
33. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
long
JavaSpaces
byte
import
34. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
return
Java Native Interface
float
try
35. Includes a new tag library into page - allows use of tags in page
Java Database Connectivity (JDBC)
Servlet container
Java Media Framework
Tag Library Directive element
36. Indicates that a value is either true or false in the Java sense.
boolean
Update
do
jsp:plugin (uses jsp:params and jsp:fallback)
37. Ends execution of a method and possibly returns a value to the calling code.
return
ORB (Object Request Broker)
for
Expressions
38. 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.
case
JSP Beans
Java Database Connectivity (JDBC)
Semaphore
39. Tests to see whether a certain object comes from a certain class.
float
abstract
instanceof
Declarations
40. Used to terminate the execution of the current JSP page and switch control to another resource
JavaSafe
DTD (Document Type Definition)
jsp:forware Action element (with jsp:param)
throw
41. A library than enables CORBA objects to locate and communicate with one another.
ORB (Object Request Broker)
while
finally
public
42. Introduces a path of execution to take when no case is a match in a switch statement.
default
interface
JBossn
Java Development Kit (JDK)
43. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
throw
void
transient
for
44. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
void
throw
Java Applet Definition
45. 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
throw
float
MVC Architecture
Semaphore
46. A principal native to the operating system on which the Java platform is executing.
break
transient
OS principal
goto
47. A self-reference
catch
this
import
void
48. ______ 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
JSP
throw
MVC Architecture
throws
49. Indicates that a variable or method can be used in subclasses from another package.
break
Java Remote Method Invocation (RMI)
protected
finally
50. 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.
Include Directive element
instanceof
break
Java Development Kit (JDK)