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 method or constructor may pass the buck when an exception is thrown.
throws
JAR (Java Archive)
try
Semaphore
2. Ends execution of a method and possibly returns a value to the calling code.
return
strictfp
Java Database Connectivity (JDBC)
JSP Beans
3. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
float
transient
JavaCheck
volatile
4. 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
Jini Technology
float
Servlet workings
int
5. Puts the code into a package
continue
Java Applet Definition
package
short
6. Indicates that a value is a 16-bit whole number.
short
implements
JSP
JAR (Java Archive)
7. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
try
Servlet container
Java Foundation Classes (JFC)
JSP Beans
8. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
if
extends
JavaScript
float
9. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
char
continue
JavaSpaces
Java Platform
10. 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.
Java Native Interface
finally
JavaScript
Scriptlets
11. Introduces statements that are watched (during runtime) for things that can go wrong.
try
byte
OTS (Object Transaction Service)
char
12. 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.
return
Java Media Framework
double precision
Java virtual machine
13. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
switch
OS principal
instanceof
Java Remote Method Invocation (RMI)
14. 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 Applet Definition
Java Platform
Jini Technology
byte
15. 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
double
Java Compatibility Kit (JCK)
Servlet
16. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
MVC Architecture
Expressions
JavaBeans
new
17. 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 goto variable.
goto
Declarations
jsp:include Action element (with jsp:param)
Java Media APIs
18. Introduces statements that are executed when the condition in an if statement isn't true.
else
catch
break
new
19. Introduces the last will and testament of the statements in a try clause.
finally
wrapper class
double
Java Applet Definition
20. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
import
JSP Beans
Servlet Chaining
Servlet Aliasing
21. Useful only for small sites
JDK (Java Development Kit)
super
Page-centric architecture
Scriptlets
22. Indicates that a variable or method belongs to a class rather than to any object created from the class.
package
enum
DOM (Document Object Model)
static
23. A tool for tracking and managing source file changes - written in Java.
Scriptlets
Page-centric architecture
boolean
JavaSafe
24. Introduces a class
final
class
synchronized
Java Database Connectivity (JDBC)
25. Indicates that a method doesn't return a value.
void
case
continue
Tag Library Directive element
26. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Servlet Aliasing
final
JSP Beans
do
27. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
abstract
finally
default
28. Creates an object from an existing class.
new
Servlet container
jsp:include Action element (with jsp:param)
void
29. 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)
JAR (Java Archive)
break
boolean
30. Introduces an interface which is like a class but less specific.
interface
public
JBossn
continue
31. CRUD: Create - Retrieve - ________ - Delete
while
Update
JAR (Java Archive)
OTS (Object Transaction Service)
32. A protocol used for communication between CORBA object request brokers.
double precision
JSP
abstract
IIOP (Internet Inter-ORB Protocol)
33. Similar to the include Directive but can pass information to the included resource
package
throws
if
jsp:include Action element (with jsp:param)
34. A software development environment for writing applets and application in Java .
Include Directive element
Java Remote Method Invocation (RMI)
volatile
JDK (Java Development Kit)
35. Includes a file in the page
OTS (Object Transaction Service)
catch
Include Directive element
DOM (Document Object Model)
36. 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).
catch
Java Platform
Java Media Framework
abstract
37. 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.
abstract
JavaScript
catch
jsp:plugin (uses jsp:params and jsp:fallback)
38. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
JSP Beans
Servlet Aliasing
JavaSpaces
39. 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
synchronized
JAR (Java Archive)
Java Database Connectivity (JDBC)
boolean
40. 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.
long
Jini Technology
JSP Beans
Page Directive element
41. A class that wraps primitives - Integer or Boolean...
else
Tag Library Directive element
wrapper class
Java Runtime Environment (JRE)
42. 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.
Page-centric architecture
break
Servlet
Java Remote Method Invocation (RMI)
43. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
Tag Library Directive element
byte
native
interface
44. A description of the structure and properties of a class of XML files.
if
private
DTD (Document Type Definition)
implements
45. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
IIOP (Internet Inter-ORB Protocol)
JavaCheck
assert
CORBA
46. Indicates that a value is an 8-bit whole number.
byte
long
goto
Java Foundation Classes (JFC)
47. Sets attributes and properties specific to the current JSP page
MVC Architecture
super
Page Directive element
Servlet Aliasing
48. The output of one servlet act as a input to another servlet.
Servlet Chaining
case
DOM (Document Object Model)
JBossn
49. Indicates that a value is either true or false in the Java sense.
Jini Technology
throws
boolean
goto
50. Indicates that a variable or method can be used in subclasses from another package.
Tag Library Directive element
protected
Semaphore
public