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. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
MVC Architecture
JavaBeans
throw
2. Creates a newly defined type
class
finally
enum
JBossn
3. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JAR (Java Archive)
boolean
JavaBeans
JavaSpaces
4. Tests to see whether a certain object comes from a certain class.
Java virtual machine
abstract
break
instanceof
5. Useful only for small sites
Page-centric architecture
synchronized
switch
throws
6. 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 Remote Method Invocation (RMI)
Java Development Kit (JDK)
Tag Library Directive element
DOM (Document Object Model)
7. CRUD: Create - Retrieve - ________ - Delete
implements
MVC Architecture
long
Update
8. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
void
native
throw
static
9. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
byte
for
JavaCheck
Expressions
10. A description of the structure and properties of a class of XML files.
DTD (Document Type Definition)
do
double precision
ORB (Object Request Broker)
11. Refers to the superclass of the code in which the word super appears.
super
Semaphore
case
JDK (Java Development Kit)
12. ______ 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
Scriptlets
JSP
Java Database Connectivity (JDBC)
OS principal
13. 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.
synchronized
Expressions
if
Java Runtime Environment (JRE)
14. Keeps two threads from interfering with one another.
long
int
synchronized
try
15. Indicates that a variable or class or method can be used by any other Java code.
throws
float
default
public
16. A definition of the interfaces that permit CORBA objects to participate in transactions.
Java Foundation Classes (JFC)
char
DOM (Document Object Model)
OTS (Object Transaction Service)
17. Creates an object from an existing class.
Expressions
OTS (Object Transaction Service)
new
class
18. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
instanceof
throws
char
JAR (Java Archive)
19. Introduces statements that are executed when the condition in an if statement isn't true.
throws
Java Database Connectivity (JDBC)
else
Servlet workings
20. Enables the programmer to abbreviate the names of classes defined in a package.
POA (Portable Object Adapter)
import
ORB (Object Request Broker)
JSP
21. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
double
JavaSafe
JavaBeans
for
22. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
POA (Portable Object Adapter)
do
return
long
23. 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
try
double
Servlet container
24. 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
const
goto
JavaCheck
25. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
Java Media APIs
jsp:forware Action element (with jsp:param)
while
26. 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.
DOM (Document Object Model)
byte
goto
jsp:forware Action element (with jsp:param)
27. Repeats some statements over and over again (as long as a condition is still true).
while
break
Update
do
28. Introduces one of several possible paths of execution in a switch statement.
DTD (Document Type Definition)
case
wrapper class
package
29. 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:include Action element (with jsp:param)
JavaSafe
Java Development Kit (JDK)
Servlet
30. Tests the truth of a condition that the programmer believes is true.
assert
short
this
Declarations
31. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Java Compatibility Kit (JCK)
POA (Portable Object Adapter)
ORB (Object Request Broker)
throw
32. Includes a file in the page
Include Directive element
Java Development Kit (JDK)
for
ORB (Object Request Broker)
33. 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
Java virtual machine
static
goto
Servlet workings
34. Includes a new tag library into page - allows use of tags in page
MVC Architecture
strictfp
Tag Library Directive element
this
35. Introduces a path of execution to take when no case is a match in a switch statement.
Update
default
JDK (Java Development Kit)
private
36. 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).
const
ORB (Object Request Broker)
Java virtual machine
DOM (Document Object Model)
37. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
enum
finally
DOM (Document Object Model)
jsp:forware Action element (with jsp:param)
38. 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
Java Interface Definition Language (IDL)
break
Jini Technology
public
39. Indicates that a method or constructor may pass the buck when an exception is thrown.
void
throws
do
package
40. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
static
while
catch
41. Similar to the include Directive but can pass information to the included resource
int
ORB (Object Request Broker)
jsp:include Action element (with jsp:param)
Java Media Framework
42. A class that wraps primitives - Integer or Boolean...
wrapper class
DOM (Document Object Model)
Servlet Aliasing
Page-centric architecture
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 Platform
Java Compatibility Kit (JCK)
Page Directive element
static
44. Puts the code into a package
package
Scriptlets
super
JavaSafe
45. 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
transient
JAR (Java Archive)
jsp:include Action element (with jsp:param)
native
46. A tool for checking compliance of applications and applets to a specification.
Semaphore
static
JavaCheck
const
47. 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.
JavaCheck
JavaScript
enum
import
48. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
javax.servlet.http.*
native
JavaBeans
instanceof
49. An opensource Java Application Server
case
JBossn
interface
long
50. Creates a subclass
void
extends
public
catch