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 value is a 16-bit whole number.
Jini Technology
interface
short
OTS (Object Transaction Service)
2. Keeps two threads from interfering with one another.
static
Servlet Aliasing
synchronized
Scriptlets
3. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
double
Java Remote Method Invocation (RMI)
long
JavaBeans
4. 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
switch
JSP
JavaBeans
Java Interface Definition Language (IDL)
5. 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.
transient
boolean
goto
Java Database Connectivity (JDBC)
6. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
char
strictfp
const
7. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Include Directive element
short
JavaBeans
Semaphore
8. 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 Development Kit (JDK)
CORBA
void
Java virtual machine
9. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
char
wrapper class
JavaSpaces
jsp:plugin (uses jsp:params and jsp:fallback)
10. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
final
Java Platform
while
Java virtual machine
11. Introduces one of several possible paths of execution in a switch statement.
this
Java Development Kit (JDK)
case
super
12. A library than enables CORBA objects to locate and communicate with one another.
protected
Servlet Chaining
continue
ORB (Object Request Broker)
13. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
Java Database Connectivity (JDBC)
else
Java Media Framework
14. A description of the structure and properties of a class of XML files.
IIOP (Internet Inter-ORB Protocol)
goto
DTD (Document Type Definition)
JavaSafe
15. 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
native
byte
MVC Architecture
16. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
private
Java Database Connectivity (JDBC)
JavaCheck
if
17. 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 Media APIs
Java Naming and Directory Interface (JNDI)
break
18. 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.
finally
case
Java Runtime Environment (JRE)
throw
19. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
this
synchronized
do
20. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
float
Java Remote Method Invocation (RMI)
Scriptlets
import
21. Indicates that a value is either true or false in the Java sense.
Java Database Connectivity (JDBC)
boolean
throw
Servlet Chaining
22. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
super
Java Foundation Classes (JFC)
Java Naming and Directory Interface (JNDI)
Servlet
23. Creates an object from an existing class.
interface
new
JavaScript
class
24. Jumps out of a loop or switch.
goto
Java Applet Definition
MVC Architecture
break
25. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Java Development Kit (JDK)
OTS (Object Transaction Service)
double precision
Servlet container
26. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
IIOP (Internet Inter-ORB Protocol)
case
native
import
27. 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.
while
Java Remote Method Invocation (RMI)
native
instanceof
28. Introduces the last will and testament of the statements in a try clause.
JavaScript
goto
finally
Semaphore
29. A self-reference
Page-centric architecture
assert
this
finally
30. Basic code block of a JSP page
throw
Scriptlets
static
JavaSpaces
31. ______ 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
finally
JSP
Servlet
MVC Architecture
32. Two Servlet API packages: javax.servlet.* ___________
Page Directive element
synchronized
javax.servlet.http.*
double
33. A special Java servlet-aware web server process.
switch
JSP Beans
Servlet container
public
34. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
final
do
Servlet container
for
35. Indicates that a value is a 32-bit whole number.
int
strictfp
try
do
36. Creates a subclass
OS principal
extends
abstract
goto
37. 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.
jsp:plugin (uses jsp:params and jsp:fallback)
Java Media APIs
const
JavaBeans
38. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
if
enum
wrapper class
POA (Portable Object Adapter)
39. Indicates that a value is a 64-bit whole number.
Jini Technology
long
case
jsp:forware Action element (with jsp:param)
40. Indicates that a variable or method belongs to a class rather than to any object created from the class.
IIOP (Internet Inter-ORB Protocol)
OS principal
static
try
41. Introduces statements that are executed when the condition in an if statement isn't true.
if
else
JavaSafe
Page-centric architecture
42. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
private
Page Directive element
Expressions
import
43. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
const
Java Interface Definition Language (IDL)
return
throw
44. 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.
Servlet
default
extends
Java Platform
45. 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.
protected
super
double precision
Java Development Kit (JDK)
46. Forces the abrupt end of the current loop iteration and begins another iteration.
final
Java Interface Definition Language (IDL)
Servlet workings
continue
47. 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()
interface
Declarations
do
CORBA
48. Indicates that a variable or method can be used in subclasses from another package.
Servlet
protected
JavaSafe
try
49. 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.
synchronized
do
abstract
Java Compatibility Kit (JCK)
50. Puts the code into a package
Servlet Chaining
jsp:include Action element (with jsp:param)
package
extends
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests