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 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.
JSP
Java Remote Method Invocation (RMI)
jsp:plugin (uses jsp:params and jsp:fallback)
Java Foundation Classes (JFC)
2. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
JBossn
case
import
3. A principal native to the operating system on which the Java platform is executing.
Java Development Kit (JDK)
JAR (Java Archive)
OS principal
Expressions
4. Jumps out of a loop or switch.
import
Java Foundation Classes (JFC)
break
Update
5. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
POA (Portable Object Adapter)
CORBA
JavaBeans
static
6. A set of APIs that assists with the interfacing to multiple naming and directory services.
POA (Portable Object Adapter)
Java Naming and Directory Interface (JNDI)
return
implements
7. Introduces an interface which is like a class but less specific.
new
javax.servlet.http.*
interface
Java Runtime Environment (JRE)
8. Creates a newly defined type
enum
assert
case
short
9. Sets attributes and properties specific to the current JSP page
for
Java Media APIs
Page-centric architecture
Page Directive element
10. Imposes strict rules on the use of a variable by more than one thread at a time.
JSP Beans
Tag Library Directive element
do
volatile
11. Introduces a path of execution to take when no case is a match in a switch statement.
JSP Beans
Servlet Chaining
default
throw
12. Refers to the superclass of the code in which the word super appears.
super
else
goto
Java Media Framework
13. Similar to the include Directive but can pass information to the included resource
short
Java Runtime Environment (JRE)
Java Media APIs
jsp:include Action element (with jsp:param)
14. 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.
Java Remote Method Invocation (RMI)
IIOP (Internet Inter-ORB Protocol)
Jini Technology
Java Media APIs
15. Introduces statements that are executed when the condition in an if statement isn't true.
Servlet
Page-centric architecture
double precision
else
16. CRUD: Create - Retrieve - ________ - Delete
Servlet
Update
JavaBeans
this
17. Used to terminate the execution of the current JSP page and switch control to another resource
class
Update
super
jsp:forware Action element (with jsp:param)
18. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
if
abstract
jsp:forware Action element (with jsp:param)
case
19. 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.
JavaScript
Java Media APIs
Scriptlets
Java virtual machine
20. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
char
case
final
JavaSpaces
21. A protocol used for communication between CORBA object request brokers.
Servlet Chaining
double
IIOP (Internet Inter-ORB Protocol)
volatile
22. A class that wraps primitives - Integer or Boolean...
wrapper class
boolean
CORBA
static
23. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
long
switch
JavaSpaces
Java Interface Definition Language (IDL)
24. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
Java Media APIs
transient
double
abstract
25. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Media APIs
switch
Java Foundation Classes (JFC)
volatile
26. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
instanceof
char
protected
27. 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 Development Kit (JDK)
Java Foundation Classes (JFC)
int
Include Directive element
28. Creates an object from an existing class.
new
wrapper class
CORBA
volatile
29. 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
Page-centric architecture
JAR (Java Archive)
this
Java Platform
30. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
case
Semaphore
JavaScript
POA (Portable Object Adapter)
31. 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)
goto
Jini Technology
instanceof
32. 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
Servlet workings
Expressions
do
JAR (Java Archive)
33. 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.
Java Database Connectivity (JDBC)
Jini Technology
extends
catch
34. Tests to see whether a certain object comes from a certain class.
abstract
Java Platform
OS principal
instanceof
35. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
goto
Java Naming and Directory Interface (JNDI)
boolean
Semaphore
36. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
byte
char
JSP Beans
Update
37. Indicates that a value is an 8-bit whole number.
Tag Library Directive element
transient
byte
Java Remote Method Invocation (RMI)
38. Indicates that a variable or class or method can be used by any other Java code.
public
assert
Java Foundation Classes (JFC)
private
39. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Expressions
long
JSP Beans
Servlet Aliasing
40. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
extends
strictfp
double
new
41. Includes a file in the page
if
Include Directive element
CORBA
volatile
42. A tool for tracking and managing source file changes - written in Java.
JavaSafe
this
import
POA (Portable Object Adapter)
43. Introduces the last will and testament of the statements in a try clause.
break
ORB (Object Request Broker)
finally
JavaCheck
44. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
jsp:forware Action element (with jsp:param)
Java Media Framework
IIOP (Internet Inter-ORB Protocol)
45. A definition of the interfaces that permit CORBA objects to participate in transactions.
enum
Java Runtime Environment (JRE)
OTS (Object Transaction Service)
protected
46. Includes a new tag library into page - allows use of tags in page
Tag Library Directive element
Include Directive element
OS principal
CORBA
47. 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.
case
Java Media Framework
JSP Beans
JAR (Java Archive)
48. Introduces a class
Page-centric architecture
protected
abstract
class
49. 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
catch
POA (Portable Object Adapter)
Java virtual machine
Java Interface Definition Language (IDL)
50. 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
switch
MVC Architecture
boolean
JavaCheck