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. CRUD: Create - Retrieve - ________ - Delete
JBossn
assert
Update
int
2. 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)
wrapper class
protected
for
3. Keeps two threads from interfering with one another.
strictfp
synchronized
for
boolean
4. Indicates that a value is a 16-bit whole number.
enum
JDK (Java Development Kit)
OTS (Object Transaction Service)
short
5. A class that wraps primitives - Integer or Boolean...
wrapper class
else
new
Java Runtime Environment (JRE)
6. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
float
throw
char
Semaphore
7. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
jsp:include Action element (with jsp:param)
float
implements
DOM (Document Object Model)
8. Indicates that a method doesn't return a value.
IIOP (Internet Inter-ORB Protocol)
void
jsp:include Action element (with jsp:param)
super
9. Used to terminate the execution of the current JSP page and switch control to another resource
strictfp
jsp:forware Action element (with jsp:param)
Servlet workings
DTD (Document Type Definition)
10. 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
JBossn
default
do
JAR (Java Archive)
11. 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()
Declarations
import
default
ORB (Object Request Broker)
12. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
if
char
Declarations
wrapper class
13. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
assert
volatile
Servlet Aliasing
Java virtual machine
14. A software development environment for writing applets and application in Java .
private
Java Runtime Environment (JRE)
JDK (Java Development Kit)
JAR (Java Archive)
15. Puts the code into a package
package
CORBA
finally
JAR (Java Archive)
16. Introduces an interface which is like a class but less specific.
interface
strictfp
volatile
Page Directive element
17. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
JavaScript
do
long
this
18. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
double precision
Expressions
public
JavaBeans
19. Creates an object from an existing class.
new
ORB (Object Request Broker)
goto
Servlet Chaining
20. Indicates that a variable or method can be used only within a certain class.
private
while
Java Remote Method Invocation (RMI)
Page-centric architecture
21. ______ 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
JSP
do
native
extends
22. Refers to the superclass of the code in which the word super appears.
else
static
super
extends
23. Indicates that a value is a 64-bit whole number.
jsp:forware Action element (with jsp:param)
public
char
long
24. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
else
return
double precision
25. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
new
for
float
26. Indicates that a value is an 8-bit whole number.
native
finally
Java Runtime Environment (JRE)
byte
27. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Java Runtime Environment (JRE)
abstract
char
final
28. Tests the truth of a condition that the programmer believes is true.
final
enum
assert
Servlet Chaining
29. Introduces one of several possible paths of execution in a switch statement.
if
import
case
MVC Architecture
30. 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.
new
native
static
Java Database Connectivity (JDBC)
31. 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 Native Interface
Java Compatibility Kit (JCK)
enum
static
32. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
char
Java Native Interface
try
const
33. Indicates that a method or constructor may pass the buck when an exception is thrown.
char
ORB (Object Request Broker)
volatile
throws
34. Two Servlet API packages: javax.servlet.* ___________
Update
OS principal
int
javax.servlet.http.*
35. A principal native to the operating system on which the Java platform is executing.
class
jsp:forware Action element (with jsp:param)
OS principal
Java Database Connectivity (JDBC)
36. A tool for checking compliance of applications and applets to a specification.
OTS (Object Transaction Service)
JavaCheck
Servlet Chaining
catch
37. Similar to the include Directive but can pass information to the included resource
case
CORBA
jsp:include Action element (with jsp:param)
short
38. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JSP Beans
else
Java Native Interface
try
39. A tool for tracking and managing source file changes - written in Java.
POA (Portable Object Adapter)
Java Foundation Classes (JFC)
finally
JavaSafe
40. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
JavaCheck
for
Servlet Aliasing
double precision
41. Indicates that a variable or method can be used in subclasses from another package.
instanceof
protected
Java Applet Definition
do
42. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
Jini Technology
Tag Library Directive element
Java Runtime Environment (JRE)
43. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
assert
JavaCheck
Page-centric architecture
44. Forces the abrupt end of the current loop iteration and begins another iteration.
Tag Library Directive element
Semaphore
private
continue
45. 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).
Java virtual machine
boolean
protected
double precision
46. 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
wrapper class
void
double precision
47. 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
OTS (Object Transaction Service)
jsp:plugin (uses jsp:params and jsp:fallback)
Java Media Framework
48. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
try
Java Database Connectivity (JDBC)
transient
Java Interface Definition Language (IDL)
49. 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.
do
POA (Portable Object Adapter)
const
JAR (Java Archive)
50. 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
private
if
enum