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. 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).
JBossn
IIOP (Internet Inter-ORB Protocol)
Java Platform
throw
2. A tool for tracking and managing source file changes - written in Java.
char
JDK (Java Development Kit)
case
JavaSafe
3. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
for
this
JavaSpaces
static
4. Jumps out of a loop or switch.
break
double precision
JSP
strictfp
5. Includes a new tag library into page - allows use of tags in page
Expressions
Java Runtime Environment (JRE)
try
Tag Library Directive element
6. 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.
const
Java Database Connectivity (JDBC)
private
protected
7. Creates a newly defined type
boolean
class
enum
Servlet Chaining
8. Repeats some statements over and over again (as long as a condition is still true).
CORBA
while
const
switch
9. 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
int
try
Java virtual machine
JAR (Java Archive)
10. Introduces an interface which is like a class but less specific.
while
switch
interface
double
11. Includes a file in the page
Include Directive element
package
wrapper class
assert
12. Sets attributes and properties specific to the current JSP page
Page Directive element
return
throw
this
13. Indicates that a value is a 64-bit whole number.
catch
Java virtual machine
jsp:include Action element (with jsp:param)
long
14. 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
Servlet container
OS principal
Java virtual machine
15. Refers to the superclass of the code in which the word super appears.
return
default
while
super
16. Introduces statements that are watched (during runtime) for things that can go wrong.
try
JSP Beans
wrapper class
interface
17. Useful only for small sites
protected
Page-centric architecture
byte
ORB (Object Request Broker)
18. Puts the code into a package
package
Declarations
throw
return
19. A definition of the interfaces that permit CORBA objects to participate in transactions.
for
OTS (Object Transaction Service)
JavaSpaces
catch
20. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
OS principal
return
implements
21. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Java Development Kit (JDK)
class
JSP Beans
this
22. Introduces a class
int
Jini Technology
class
long
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.
JBossn
Semaphore
package
switch
24. A class that wraps primitives - Integer or Boolean...
Java Development Kit (JDK)
JavaBeans
wrapper class
short
25. 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
MVC Architecture
assert
DOM (Document Object Model)
ORB (Object Request Broker)
26. 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.
Java virtual machine
Servlet
if
boolean
27. 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 Framework
default
Servlet Aliasing
28. Indicates that a method doesn't return a value.
void
class
Servlet
JavaSpaces
29. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
assert
new
Servlet workings
native
30. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
instanceof
Include Directive element
enum
31. Ends execution of a method and possibly returns a value to the calling code.
enum
OS principal
JSP
return
32. 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 Native Interface
Java Applet Definition
double
Java Compatibility Kit (JCK)
33. Tests to see whether a certain object comes from a certain class.
double precision
instanceof
long
continue
34. A principal native to the operating system on which the Java platform is executing.
Servlet container
OS principal
import
javax.servlet.http.*
35. Introduces a path of execution to take when no case is a match in a switch statement.
default
Java Database Connectivity (JDBC)
break
final
36. 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)
private
static
Java Native Interface
37. 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.
Include Directive element
Java Runtime Environment (JRE)
throw
transient
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).
goto
Java virtual machine
Semaphore
class
39. Tests the truth of a condition that the programmer believes is true.
assert
Java Media APIs
char
JSP
40. ______ 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
class
new
JSP
synchronized
41. 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 Framework
Java Compatibility Kit (JCK)
throws
JSP
42. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
switch
IIOP (Internet Inter-ORB Protocol)
long
43. 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
JavaBeans
goto
Semaphore
Servlet workings
44. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Include Directive element
for
CORBA
JavaSafe
45. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
private
ORB (Object Request Broker)
const
strictfp
46. The output of one servlet act as a input to another servlet.
DTD (Document Type Definition)
Servlet Chaining
private
transient
47. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
enum
case
public
48. 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
protected
IIOP (Internet Inter-ORB Protocol)
Java Remote Method Invocation (RMI)
49. Similar to the include Directive but can pass information to the included resource
new
int
Java Development Kit (JDK)
jsp:include Action element (with jsp:param)
50. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
Java virtual machine
Java Media Framework
Java Foundation Classes (JFC)