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 set of APIs that support the integration of audio and video clips & 2D fonts & graphics and images as well as 3D models and telephony.
Declarations
Java Media APIs
Semaphore
Servlet Chaining
2. An opensource Java Application Server
wrapper class
throw
JBossn
return
3. Indicates that a value is a 32-bit whole number.
int
Java Development Kit (JDK)
long
jsp:include Action element (with jsp:param)
4. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
double precision
JSP
jsp:include Action element (with jsp:param)
5. Indicates that a value is an 8-bit whole number.
abstract
byte
Servlet workings
MVC Architecture
6. 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()
Java Compatibility Kit (JCK)
Declarations
Java Media APIs
ORB (Object Request Broker)
7. Creates a subclass
default
extends
Expressions
transient
8. Repeats some statements over and over again (as long as a condition is still true).
JSP
public
default
while
9. 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)
Jini Technology
goto
finally
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.
void
enum
jsp:forware Action element (with jsp:param)
Java Development Kit (JDK)
11. 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.
volatile
char
if
Servlet
12. 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.
Update
JavaScript
OS principal
if
13. A set of APIs that assists with the interfacing to multiple naming and directory services.
extends
Java Naming and Directory Interface (JNDI)
wrapper class
final
14. Introduces a class
class
Semaphore
else
return
15. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
jsp:include Action element (with jsp:param)
Java virtual machine
Expressions
do
16. A protocol used for communication between CORBA object request brokers.
package
IIOP (Internet Inter-ORB Protocol)
JSP
javax.servlet.http.*
17. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
IIOP (Internet Inter-ORB Protocol)
double
Java Applet Definition
byte
18. A self-reference
short
this
private
final
19. Used to terminate the execution of the current JSP page and switch control to another resource
Java Native Interface
Servlet Aliasing
for
jsp:forware Action element (with jsp:param)
20. 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.
byte
goto
package
public
21. A tool for checking compliance of applications and applets to a specification.
const
super
return
JavaCheck
22. 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.
short
Java Foundation Classes (JFC)
for
const
23. A special Java servlet-aware web server process.
Java Naming and Directory Interface (JNDI)
Servlet container
const
JavaSpaces
24. 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.
super
public
Java Media Framework
continue
25. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Foundation Classes (JFC)
Page-centric architecture
try
OS principal
26. Puts the code into a package
OS principal
ORB (Object Request Broker)
Servlet Aliasing
package
27. Keeps two threads from interfering with one another.
synchronized
super
switch
Java Media Framework
28. 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.
package
Java Runtime Environment (JRE)
Jini Technology
Java Development Kit (JDK)
29. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
jsp:plugin (uses jsp:params and jsp:fallback)
JavaBeans
JSP Beans
long
30. Ends execution of a method and possibly returns a value to the calling code.
Servlet container
return
Java Media APIs
jsp:include Action element (with jsp:param)
31. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Java Development Kit (JDK)
instanceof
POA (Portable Object Adapter)
if
32. Indicates that a variable or class or method can be used by any other Java code.
public
char
Java Platform
strictfp
33. A class that wraps primitives - Integer or Boolean...
Scriptlets
wrapper class
ORB (Object Request Broker)
enum
34. 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:include Action element (with jsp:param)
switch
Java Remote Method Invocation (RMI)
assert
35. Indicates that a value is either true or false in the Java sense.
boolean
instanceof
Java Compatibility Kit (JCK)
goto
36. Includes a file in the page
import
JSP Beans
Include Directive element
assert
37. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
native
default
JavaBeans
this
38. Introduces an interface which is like a class but less specific.
interface
JavaSafe
Java Platform
static
39. Basic code block of a JSP page
return
Scriptlets
private
boolean
40. 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.
volatile
Java Database Connectivity (JDBC)
Java Platform
Semaphore
41. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Tag Library Directive element
do
Java Compatibility Kit (JCK)
synchronized
42. 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
finally
MVC Architecture
DOM (Document Object Model)
Tag Library Directive element
43. Used to generate HTML
Java Applet Definition
jsp:plugin (uses jsp:params and jsp:fallback)
if
JavaCheck
44. Introduces the last will and testament of the statements in a try clause.
Include Directive element
native
finally
DOM (Document Object Model)
45. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
IIOP (Internet Inter-ORB Protocol)
Page-centric architecture
return
native
46. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Java Naming and Directory Interface (JNDI)
double precision
void
Tag Library Directive element
47. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
default
float
protected
Semaphore
48. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
while
double
ORB (Object Request Broker)
transient
49. Refers to the superclass of the code in which the word super appears.
DOM (Document Object Model)
super
interface
MVC Architecture
50. Indicates that a variable or method can be used only within a certain class.
continue
final
private
Java Interface Definition Language (IDL)