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. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
JavaSafe
switch
Java virtual machine
goto
2. Creates an object from an existing class.
do
jsp:forware Action element (with jsp:param)
new
import
3. Similar to the include Directive but can pass information to the included resource
byte
jsp:forware Action element (with jsp:param)
JavaBeans
jsp:include Action element (with jsp:param)
4. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
goto
native
synchronized
strictfp
5. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
return
new
extends
6. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
Expressions
Java Interface Definition Language (IDL)
Java Platform
7. 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
Include Directive element
for
jsp:include Action element (with jsp:param)
MVC Architecture
8. Indicates that a variable or method can be used only within a certain class.
private
Tag Library Directive element
int
goto
9. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
DTD (Document Type Definition)
JAR (Java Archive)
OS principal
10. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
this
DTD (Document Type Definition)
jsp:plugin (uses jsp:params and jsp:fallback)
11. 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)
transient
JavaScript
Jini Technology
12. Indicates that a value is either true or false in the Java sense.
JAR (Java Archive)
JSP Beans
boolean
jsp:plugin (uses jsp:params and jsp:fallback)
13. A definition of the interfaces that permit CORBA objects to participate in transactions.
Page Directive element
void
JavaSafe
OTS (Object Transaction Service)
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.
Jini Technology
assert
const
for
15. 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
double
new
JavaBeans
Java Applet Definition
16. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
jsp:forware Action element (with jsp:param)
CORBA
instanceof
JSP
17. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
package
abstract
do
private
18. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
Tag Library Directive element
private
CORBA
19. Creates a subclass
do
extends
if
Java Compatibility Kit (JCK)
20. Ends execution of a method and possibly returns a value to the calling code.
super
return
Tag Library Directive element
Semaphore
21. A special Java servlet-aware web server process.
Page-centric architecture
private
wrapper class
Servlet container
22. 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
default
boolean
this
23. 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
OS principal
Java Applet Definition
JAR (Java Archive)
try
24. 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.
JSP Beans
IIOP (Internet Inter-ORB Protocol)
synchronized
Servlet
25. 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
instanceof
package
Servlet
Java Interface Definition Language (IDL)
26. A protocol used for communication between CORBA object request brokers.
synchronized
Servlet container
Java Naming and Directory Interface (JNDI)
IIOP (Internet Inter-ORB Protocol)
27. 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.
Java Remote Method Invocation (RMI)
javax.servlet.http.*
extends
volatile
28. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Java Development Kit (JDK)
JAR (Java Archive)
transient
int
29. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
char
Jini Technology
float
public
30. 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()
continue
super
Java Applet Definition
Declarations
31. An opensource Java Application Server
finally
abstract
JBossn
Update
32. The output of one servlet act as a input to another servlet.
jsp:forware Action element (with jsp:param)
double precision
IIOP (Internet Inter-ORB Protocol)
Servlet Chaining
33. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
do
implements
const
Java Compatibility Kit (JCK)
34. Jumps out of a loop or switch.
break
jsp:forware Action element (with jsp:param)
Declarations
throws
35. Used to generate HTML
JavaSafe
jsp:plugin (uses jsp:params and jsp:fallback)
case
Java Foundation Classes (JFC)
36. Indicates that a variable or method can be used in subclasses from another package.
Scriptlets
final
Java Compatibility Kit (JCK)
protected
37. A software development environment for writing applets and application in Java .
void
Jini Technology
new
JDK (Java Development Kit)
38. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
return
javax.servlet.http.*
Page-centric architecture
throw
39. Refers to the superclass of the code in which the word super appears.
super
static
JavaBeans
public
40. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
IIOP (Internet Inter-ORB Protocol)
goto
JDK (Java Development Kit)
double precision
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.
for
Java Media Framework
double
throw
42. 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
float
Servlet workings
instanceof
DTD (Document Type Definition)
43. 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.
Java Media APIs
Java Compatibility Kit (JCK)
native
this
44. Used to terminate the execution of the current JSP page and switch control to another resource
float
jsp:forware Action element (with jsp:param)
JSP Beans
implements
45. A tool for checking compliance of applications and applets to a specification.
enum
continue
JavaCheck
Tag Library Directive element
46. Indicates that a value is a 64-bit whole number.
wrapper class
continue
long
Include Directive element
47. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Jini Technology
native
super
Servlet Aliasing
48. Includes a new tag library into page - allows use of tags in page
package
int
Tag Library Directive element
Java virtual machine
49. Enables the programmer to abbreviate the names of classes defined in a package.
throws
volatile
import
OS principal
50. Indicates that a value is a 16-bit whole number.
Update
jsp:plugin (uses jsp:params and jsp:fallback)
short
synchronized