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. Enables the programmer to abbreviate the names of classes defined in a package.
import
throw
while
Java Platform
2. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
synchronized
Java Development Kit (JDK)
Servlet
3. 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
Semaphore
char
Java Media Framework
MVC Architecture
4. A tool for checking compliance of applications and applets to a specification.
Java Development Kit (JDK)
instanceof
JavaCheck
OS principal
5. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
JavaSafe
Java Interface Definition Language (IDL)
double
float
6. 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).
short
Servlet Chaining
char
Java virtual machine
7. Puts the code into a package
char
package
break
JSP Beans
8. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Applet Definition
char
JavaSafe
Java Naming and Directory Interface (JNDI)
9. Jumps out of a loop or switch.
Servlet container
Jini Technology
break
jsp:include Action element (with jsp:param)
10. A principal native to the operating system on which the Java platform is executing.
OS principal
throws
boolean
double
11. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Java Naming and Directory Interface (JNDI)
jsp:forware Action element (with jsp:param)
for
DTD (Document Type Definition)
12. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
Java Remote Method Invocation (RMI)
Java Compatibility Kit (JCK)
class
13. Creates a newly defined type
DOM (Document Object Model)
JAR (Java Archive)
enum
void
14. Useful only for small sites
IIOP (Internet Inter-ORB Protocol)
case
OTS (Object Transaction Service)
Page-centric architecture
15. Introduces an interface which is like a class but less specific.
transient
JDK (Java Development Kit)
interface
synchronized
16. A tool for tracking and managing source file changes - written in Java.
Java Database Connectivity (JDBC)
JavaSafe
instanceof
JavaScript
17. 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.
Java virtual machine
OTS (Object Transaction Service)
Java Database Connectivity (JDBC)
extends
18. ______ 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
case
Servlet
enum
19. A special Java servlet-aware web server process.
int
double
assert
Servlet container
20. Imposes strict rules on the use of a variable by more than one thread at a time.
OTS (Object Transaction Service)
JSP
volatile
implements
21. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
extends
Servlet container
switch
JAR (Java Archive)
22. Used to generate HTML
javax.servlet.http.*
jsp:plugin (uses jsp:params and jsp:fallback)
JSP
byte
23. Keeps two threads from interfering with one another.
const
strictfp
Servlet workings
synchronized
24. Tests to see whether a certain object comes from a certain class.
Java Native Interface
throws
instanceof
throw
25. Tests the truth of a condition that the programmer believes is true.
double
assert
JAR (Java Archive)
switch
26. Refers to the superclass of the code in which the word super appears.
catch
super
JSP Beans
import
27. 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.
assert
private
goto
JDK (Java Development Kit)
28. 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.
JavaSpaces
try
Java Media APIs
IIOP (Internet Inter-ORB Protocol)
29. Similar to the include Directive but can pass information to the included resource
continue
jsp:include Action element (with jsp:param)
Jini Technology
do
30. 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
Servlet workings
Java Applet Definition
jsp:plugin (uses jsp:params and jsp:fallback)
JavaScript
31. Introduces statements that are executed when the condition in an if statement isn't true.
else
package
Declarations
CORBA
32. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
void
goto
default
JSP Beans
33. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
JSP
Servlet workings
assert
Java Foundation Classes (JFC)
34. Sets attributes and properties specific to the current JSP page
Page Directive element
byte
do
import
35. 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.
break
const
strictfp
transient
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.
private
Java Development Kit (JDK)
static
instanceof
37. Introduces one of several possible paths of execution in a switch statement.
case
char
Update
Servlet container
38. 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.
do
final
JavaScript
Page-centric architecture
39. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
wrapper class
abstract
finally
JDK (Java Development Kit)
40. 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
import
while
41. Introduces the last will and testament of the statements in a try clause.
JDK (Java Development Kit)
finally
strictfp
package
42. 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.
float
double
Java Compatibility Kit (JCK)
javax.servlet.http.*
43. 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)
default
for
Servlet Chaining
44. 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
interface
Java Foundation Classes (JFC)
throws
45. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Tag Library Directive element
DOM (Document Object Model)
Java Database Connectivity (JDBC)
this
46. 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
Page Directive element
DTD (Document Type Definition)
Java Interface Definition Language (IDL)
Include Directive element
47. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Java Interface Definition Language (IDL)
int
CORBA
if
48. Indicates that a variable or method can be used in subclasses from another package.
JBossn
Tag Library Directive element
CORBA
protected
49. A self-reference
catch
strictfp
this
private
50. A software development environment for writing applets and application in Java .
JSP Beans
abstract
JDK (Java Development Kit)
JBossn