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. Indicates that a value is a 16-bit whole number.
super
short
DTD (Document Type Definition)
throw
2. Introduces statements that are watched (during runtime) for things that can go wrong.
Page Directive element
ORB (Object Request Broker)
try
Java Native Interface
3. Similar to the include Directive but can pass information to the included resource
OTS (Object Transaction Service)
Scriptlets
jsp:include Action element (with jsp:param)
class
4. Indicates that a variable or method can be used in subclasses from another package.
Servlet container
protected
POA (Portable Object Adapter)
Servlet Chaining
5. The output of one servlet act as a input to another servlet.
extends
Servlet Chaining
JDK (Java Development Kit)
Update
6. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
class
char
Java Native Interface
switch
7. Refers to the superclass of the code in which the word super appears.
super
jsp:include Action element (with jsp:param)
jsp:plugin (uses jsp:params and jsp:fallback)
volatile
8. Indicates that a variable or method can be used only within a certain class.
finally
private
implements
Java Interface Definition Language (IDL)
9. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
boolean
Semaphore
byte
implements
10. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
POA (Portable Object Adapter)
CORBA
IIOP (Internet Inter-ORB Protocol)
float
11. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
IIOP (Internet Inter-ORB Protocol)
int
do
12. Includes a new tag library into page - allows use of tags in page
Tag Library Directive element
final
while
do
13. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
finally
JBossn
double precision
14. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Java Media Framework
JavaBeans
ORB (Object Request Broker)
Tag Library Directive element
15. A tool for tracking and managing source file changes - written in Java.
Java Media APIs
Java Naming and Directory Interface (JNDI)
JavaSafe
catch
16. 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
default
strictfp
while
17. A special Java servlet-aware web server process.
Java Development Kit (JDK)
Servlet Chaining
Servlet container
JavaSpaces
18. 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 Chaining
Java Platform
JAR (Java Archive)
Declarations
19. A class that wraps primitives - Integer or Boolean...
private
wrapper class
class
package
20. 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
Declarations
Java virtual machine
JAR (Java Archive)
volatile
21. Introduces an interface which is like a class but less specific.
Java Foundation Classes (JFC)
IIOP (Internet Inter-ORB Protocol)
interface
float
22. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
try
class
assert
JSP Beans
23. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Java Interface Definition Language (IDL)
ORB (Object Request Broker)
enum
native
24. 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.
public
JSP Beans
case
JavaScript
25. 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.
synchronized
Java Compatibility Kit (JCK)
Java Runtime Environment (JRE)
Java Database Connectivity (JDBC)
26. An opensource Java Application Server
Java Foundation Classes (JFC)
JBossn
Java Applet Definition
DTD (Document Type Definition)
27. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
ORB (Object Request Broker)
Declarations
JSP Beans
28. A set of APIs that assists with the interfacing to multiple naming and directory services.
char
Servlet Aliasing
Java Naming and Directory Interface (JNDI)
jsp:forware Action element (with jsp:param)
29. Indicates that a method or constructor may pass the buck when an exception is thrown.
Declarations
OS principal
super
throws
30. 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
extends
implements
Java Applet Definition
new
31. 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
Java Media Framework
implements
Java Native Interface
32. Creates an object from an existing class.
Servlet Aliasing
Servlet workings
new
Servlet container
33. Creates a newly defined type
Java Runtime Environment (JRE)
enum
javax.servlet.http.*
case
34. Indicates that a variable or method belongs to a class rather than to any object created from the class.
switch
const
static
Servlet Chaining
35. Sets attributes and properties specific to the current JSP page
return
POA (Portable Object Adapter)
JavaScript
Page Directive element
36. Used to terminate the execution of the current JSP page and switch control to another resource
implements
DTD (Document Type Definition)
package
jsp:forware Action element (with jsp:param)
37. 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.
this
void
Java Native Interface
OTS (Object Transaction Service)
38. A set of Java APIs that may be incorporated an optional package for any Java 2 Platform Edition. The Jini APIs enable transparent networking of devices and services and eliminates the need for system or network administration intervention by a user.
JAR (Java Archive)
for
double precision
Jini Technology
39. A library than enables CORBA objects to locate and communicate with one another.
javax.servlet.http.*
Java Media APIs
ORB (Object Request Broker)
double precision
40. Indicates that a value is a 32-bit whole number.
char
wrapper class
int
const
41. 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.
Java Media Framework
short
Java Applet Definition
javax.servlet.http.*
42. 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.
long
Servlet
Java Native Interface
Java Media APIs
43. Reuses the functionality from a previously defined interface.
default
implements
throws
jsp:forware Action element (with jsp:param)
44. 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.
IIOP (Internet Inter-ORB Protocol)
const
while
Page-centric architecture
45. Includes a file in the page
JDK (Java Development Kit)
jsp:forware Action element (with jsp:param)
package
Include Directive element
46. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
default
if
short
Page-centric architecture
47. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
Java Media Framework
Java Compatibility Kit (JCK)
JDK (Java Development Kit)
48. 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
throws
MVC Architecture
jsp:plugin (uses jsp:params and jsp:fallback)
Java Foundation Classes (JFC)
49. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
void
abstract
enum
jsp:forware Action element (with jsp:param)
50. 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 precision
Java Interface Definition Language (IDL)
OTS (Object Transaction Service)
long