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 variable or class or method can be used by any other Java code.
Java Compatibility Kit (JCK)
Tag Library Directive element
extends
public
2. Indicates that a value is a 32-bit whole number.
Java Runtime Environment (JRE)
extends
Java Development Kit (JDK)
int
3. A principal native to the operating system on which the Java platform is executing.
OS principal
package
Java Applet Definition
ORB (Object Request Broker)
4. Two Servlet API packages: javax.servlet.* ___________
CORBA
JBossn
Servlet
javax.servlet.http.*
5. Introduces a class
class
boolean
throw
default
6. 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.
abstract
catch
Java Runtime Environment (JRE)
JSP
7. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
throws
default
JavaBeans
8. Introduces statements that are watched (during runtime) for things that can go wrong.
Declarations
try
Java Native Interface
Page Directive element
9. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
void
Java Platform
finally
char
10. A description of the structure and properties of a class of XML files.
default
DTD (Document Type Definition)
CORBA
try
11. Includes a file in the page
Include Directive element
strictfp
while
Semaphore
12. Indicates that a value is an 8-bit whole number.
IIOP (Internet Inter-ORB Protocol)
javax.servlet.http.*
Jini Technology
byte
13. Enables the programmer to abbreviate the names of classes defined in a package.
package
MVC Architecture
IIOP (Internet Inter-ORB Protocol)
import
14. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
double precision
throw
JavaBeans
long
15. Indicates that a method doesn't return a value.
Servlet container
JavaScript
JavaCheck
void
16. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
JDK (Java Development Kit)
abstract
JavaSpaces
do
17. An opensource Java Application Server
DOM (Document Object Model)
extends
JBossn
strictfp
18. A tool for checking compliance of applications and applets to a specification.
this
JSP
public
JavaCheck
19. 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.
JDK (Java Development Kit)
jsp:include Action element (with jsp:param)
Page Directive element
Java Native Interface
20. Creates an object from an existing class.
static
assert
new
super
21. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
instanceof
Java Media APIs
private
Servlet Aliasing
22. Puts the code into a package
Jini Technology
enum
package
int
23. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
char
Java Foundation Classes (JFC)
private
Tag Library Directive element
24. 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.
Page-centric architecture
void
JSP
Java Compatibility Kit (JCK)
25. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
final
Java virtual machine
continue
26. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
implements
short
Semaphore
Java Platform
27. 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.
if
jsp:plugin (uses jsp:params and jsp:fallback)
Java Database Connectivity (JDBC)
JavaBeans
28. 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.
JavaSpaces
Java Remote Method Invocation (RMI)
extends
Java Database Connectivity (JDBC)
29. 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
javax.servlet.http.*
Java Interface Definition Language (IDL)
Servlet
Include Directive element
30. Refers to the superclass of the code in which the word super appears.
super
switch
jsp:plugin (uses jsp:params and jsp:fallback)
default
31. Jumps out of a loop or switch.
javax.servlet.http.*
else
goto
break
32. Similar to the include Directive but can pass information to the included resource
throw
jsp:include Action element (with jsp:param)
JSP
Include Directive element
33. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
JavaBeans
private
Java Compatibility Kit (JCK)
final
34. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
Java Development Kit (JDK)
JSP Beans
break
35. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
JavaCheck
Java Native Interface
MVC Architecture
for
36. Reuses the functionality from a previously defined interface.
instanceof
DOM (Document Object Model)
implements
Java Applet Definition
37. Introduces the last will and testament of the statements in a try clause.
package
synchronized
finally
Java Naming and Directory Interface (JNDI)
38. Basic code block of a JSP page
interface
Scriptlets
Page-centric architecture
Expressions
39. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
CORBA
switch
JSP Beans
Servlet
40. Indicates that a value is a 64-bit whole number.
Jini Technology
Semaphore
jsp:forware Action element (with jsp:param)
long
41. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
void
default
double precision
throw
42. Imposes strict rules on the use of a variable by more than one thread at a time.
MVC Architecture
const
volatile
private
43. Indicates that a variable or method can be used only within a certain class.
for
import
private
Java Remote Method Invocation (RMI)
44. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
long
default
byte
transient
45. Includes a new tag library into page - allows use of tags in page
Tag Library Directive element
strictfp
javax.servlet.http.*
JBossn
46. A tool for tracking and managing source file changes - written in Java.
break
CORBA
JBossn
JavaSafe
47. Indicates that a variable or method can be used in subclasses from another package.
JBossn
protected
long
catch
48. 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
finally
abstract
Java Interface Definition Language (IDL)
49. Tests to see whether a certain object comes from a certain class.
instanceof
DTD (Document Type Definition)
JDK (Java Development Kit)
abstract
50. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Servlet container
else
Expressions
throw