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 portable platform-independent reusable component model. A component that conforms to this model is called a bean.
protected
DOM (Document Object Model)
public
JavaBeans
2. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
enum
while
goto
catch
3. Introduces an interface which is like a class but less specific.
goto
DTD (Document Type Definition)
interface
default
4. 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 Applet Definition
OTS (Object Transaction Service)
final
Java Platform
5. Creates a subclass
interface
extends
Servlet
CORBA
6. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
JavaSafe
assert
transient
Java Platform
7. 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
Scriptlets
Servlet workings
throw
Page-centric architecture
8. 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
jsp:plugin (uses jsp:params and jsp:fallback)
final
while
MVC Architecture
9. Indicates that a value is a 16-bit whole number.
new
POA (Portable Object Adapter)
Include Directive element
short
10. Introduces statements that are watched (during runtime) for things that can go wrong.
break
Expressions
long
try
11. 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)
Java Applet Definition
OS principal
Servlet
12. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
float
protected
JavaBeans
JDK (Java Development Kit)
13. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
continue
MVC Architecture
Include Directive element
Semaphore
14. Creates a newly defined type
enum
this
CORBA
do
15. Reuses the functionality from a previously defined interface.
return
Expressions
implements
default
16. Introduces a class
implements
new
ORB (Object Request Broker)
class
17. Indicates that a variable or method can be used only within a certain class.
Java Media Framework
MVC Architecture
private
void
18. A protocol used for communication between CORBA object request brokers.
javax.servlet.http.*
Java Runtime Environment (JRE)
Jini Technology
IIOP (Internet Inter-ORB Protocol)
19. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Expressions
Java Media Framework
POA (Portable Object Adapter)
strictfp
20. 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()
Declarations
float
ORB (Object Request Broker)
Java Interface Definition Language (IDL)
21. 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.
MVC Architecture
Java Platform
Servlet
Java Media Framework
22. Two Servlet API packages: javax.servlet.* ___________
Java Media Framework
javax.servlet.http.*
JBossn
super
23. Introduces statements that are executed when the condition in an if statement isn't true.
Java Native Interface
Scriptlets
else
Java Runtime Environment (JRE)
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 virtual machine
jsp:plugin (uses jsp:params and jsp:fallback)
native
25. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
continue
JavaSpaces
Servlet Aliasing
JBossn
26. Keeps two threads from interfering with one another.
protected
JavaSafe
enum
synchronized
27. 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
while
Java Applet Definition
enum
return
28. Imposes strict rules on the use of a variable by more than one thread at a time.
Servlet
extends
volatile
instanceof
29. Indicates that a variable or class or method can be used by any other Java code.
public
long
Java Naming and Directory Interface (JNDI)
assert
30. 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.
Servlet Chaining
IIOP (Internet Inter-ORB Protocol)
jsp:forware Action element (with jsp:param)
Java Database Connectivity (JDBC)
31. Indicates that a method doesn't return a value.
this
private
void
Java Interface Definition Language (IDL)
32. Indicates that a value is either true or false in the Java sense.
Java Platform
boolean
native
finally
33. 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.
Java Compatibility Kit (JCK)
protected
jsp:plugin (uses jsp:params and jsp:fallback)
Java Development Kit (JDK)
34. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
jsp:plugin (uses jsp:params and jsp:fallback)
CORBA
for
35. Introduces a path of execution to take when no case is a match in a switch statement.
default
final
Declarations
if
36. A class that wraps primitives - Integer or Boolean...
OS principal
POA (Portable Object Adapter)
wrapper class
catch
37. Indicates that a value is an 8-bit whole number.
ORB (Object Request Broker)
byte
instanceof
Java Platform
38. Used to generate HTML
byte
static
finally
jsp:plugin (uses jsp:params and jsp:fallback)
39. Repeats some statements over and over again (as long as a condition is still true).
Tag Library Directive element
protected
boolean
while
40. Sets attributes and properties specific to the current JSP page
Servlet workings
Page Directive element
IIOP (Internet Inter-ORB Protocol)
CORBA
41. Includes a file in the page
Scriptlets
static
strictfp
Include Directive element
42. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
OTS (Object Transaction Service)
Java Platform
native
javax.servlet.http.*
43. The output of one servlet act as a input to another servlet.
Servlet Chaining
package
switch
ORB (Object Request Broker)
44. 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)
double
JavaSpaces
class
45. A definition of the interfaces that permit CORBA objects to participate in transactions.
byte
else
OTS (Object Transaction Service)
Scriptlets
46. A distributed object model for Java program to Java program in which the methods of remote objects written in the Java programming language can be invoked from other Java virtual machines1 - possibly on different hosts.
volatile
float
Java Remote Method Invocation (RMI)
Java Naming and Directory Interface (JNDI)
47. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:include Action element (with jsp:param)
switch
jsp:forware Action element (with jsp:param)
catch
48. Indicates that a value is a 32-bit whole number.
Java Media APIs
int
float
Java Media Framework
49. 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.
for
break
abstract
Java Media Framework
50. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Update
abstract
double
import