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. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
OS principal
static
Expressions
Tag Library Directive element
2. 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
byte
assert
static
3. A tool for checking compliance of applications and applets to a specification.
return
Java Native Interface
JavaCheck
transient
4. Used to terminate the execution of the current JSP page and switch control to another resource
const
Servlet Chaining
for
jsp:forware Action element (with jsp:param)
5. Refers to the superclass of the code in which the word super appears.
super
Servlet container
JavaScript
Jini Technology
6. Introduces a class
class
Page Directive element
MVC Architecture
static
7. 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.
switch
Java Development Kit (JDK)
JDK (Java Development Kit)
interface
8. 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).
Java Platform
Java Runtime Environment (JRE)
boolean
Java Database Connectivity (JDBC)
9. Indicates that a value is an 8-bit whole number.
Scriptlets
byte
Java Naming and Directory Interface (JNDI)
long
10. Indicates that a method doesn't return a value.
transient
Scriptlets
double precision
void
11. Introduces an interface which is like a class but less specific.
native
interface
void
Declarations
12. Includes a file in the page
Declarations
Servlet workings
Include Directive element
Java Native Interface
13. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
float
for
final
finally
14. 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
interface
int
class
15. Repeats some statements over and over again (as long as a condition is still true).
throws
Tag Library Directive element
JBossn
while
16. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
break
short
Semaphore
Java Remote Method Invocation (RMI)
17. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet container
Servlet Aliasing
Java Interface Definition Language (IDL)
Scriptlets
18. 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.
Java Applet Definition
assert
Java Native Interface
private
19. Creates a subclass
Include Directive element
Servlet workings
case
extends
20. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
DOM (Document Object Model)
ORB (Object Request Broker)
switch
enum
21. Ends execution of a method and possibly returns a value to the calling code.
throw
Declarations
return
Jini Technology
22. 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.
byte
double
private
Java Database Connectivity (JDBC)
23. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
JDK (Java Development Kit)
jsp:include Action element (with jsp:param)
if
catch
24. 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)
OTS (Object Transaction Service)
private
25. 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.
case
try
abstract
Servlet
26. Similar to the include Directive but can pass information to the included resource
JSP
Java Platform
jsp:include Action element (with jsp:param)
Declarations
27. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Servlet container
new
JavaBeans
Java Native Interface
28. The output of one servlet act as a input to another servlet.
Servlet Chaining
while
JavaSpaces
Expressions
29. A set of APIs that assists with the interfacing to multiple naming and directory services.
extends
this
Java Naming and Directory Interface (JNDI)
void
30. Puts the code into a package
enum
implements
jsp:plugin (uses jsp:params and jsp:fallback)
package
31. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
JavaBeans
try
double
DOM (Document Object Model)
32. An opensource Java Application Server
throw
double
JBossn
Semaphore
33. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
JAR (Java Archive)
const
super
DOM (Document Object Model)
34. Indicates that a variable or method belongs to a class rather than to any object created from the class.
Java Naming and Directory Interface (JNDI)
static
throws
Java Native Interface
35. Two Servlet API packages: javax.servlet.* ___________
default
short
private
javax.servlet.http.*
36. Tests the truth of a condition that the programmer believes is true.
Servlet Aliasing
final
POA (Portable Object Adapter)
assert
37. Useful only for small sites
final
extends
public
Page-centric architecture
38. 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).
Java Native Interface
case
JDK (Java Development Kit)
Java virtual machine
39. A definition of the interfaces that permit CORBA objects to participate in transactions.
if
Servlet Aliasing
Java Media Framework
OTS (Object Transaction Service)
40. Indicates that a value is a 16-bit whole number.
final
Java Database Connectivity (JDBC)
short
super
41. ______ 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
OS principal
catch
Declarations
42. 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.
new
Include Directive element
byte
Java Media Framework
43. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
strictfp
int
extends
JavaBeans
44. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Compatibility Kit (JCK)
double precision
JBossn
transient
45. A protocol used for communication between CORBA object request brokers.
try
Expressions
IIOP (Internet Inter-ORB Protocol)
boolean
46. Indicates that a method or constructor may pass the buck when an exception is thrown.
Java Media Framework
throws
CORBA
Update
47. Imposes strict rules on the use of a variable by more than one thread at a time.
strictfp
enum
final
volatile
48. Tests to see whether a certain object comes from a certain class.
instanceof
break
Servlet workings
finally
49. Introduces one of several possible paths of execution in a switch statement.
Update
int
case
Page-centric architecture
50. A library than enables CORBA objects to locate and communicate with one another.
goto
this
ORB (Object Request Broker)
void