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. Introduces a class
IIOP (Internet Inter-ORB Protocol)
volatile
class
public
2. Indicates that a value is an 8-bit whole number.
char
package
Java Database Connectivity (JDBC)
byte
3. A protocol used for communication between CORBA object request brokers.
class
Java Media APIs
javax.servlet.http.*
IIOP (Internet Inter-ORB Protocol)
4. Creates a subclass
Servlet container
extends
while
IIOP (Internet Inter-ORB Protocol)
5. A software development environment for writing applets and application in Java .
catch
class
JDK (Java Development Kit)
new
6. Ends execution of a method and possibly returns a value to the calling code.
final
Page Directive element
return
char
7. 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.
volatile
import
Java Naming and Directory Interface (JNDI)
Java Remote Method Invocation (RMI)
8. Used to terminate the execution of the current JSP page and switch control to another resource
enum
Java Media APIs
Servlet
jsp:forware Action element (with jsp:param)
9. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
float
Java Foundation Classes (JFC)
JBossn
JSP Beans
10. ______ 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
synchronized
Java Compatibility Kit (JCK)
transient
JSP
11. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
class
if
JBossn
static
12. Indicates that a value is a 32-bit whole number.
return
char
else
int
13. 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
JavaSpaces
static
byte
14. 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()
Java Native Interface
Declarations
Page Directive element
instanceof
15. 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.
int
Java Native Interface
const
IIOP (Internet Inter-ORB Protocol)
16. Indicates that a method doesn't return a value.
for
Page-centric architecture
assert
void
17. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
case
volatile
JSP
18. Indicates that a value is a 64-bit whole number.
long
return
Java Interface Definition Language (IDL)
const
19. Indicates that a variable or class or method can be used by any other Java code.
Java Development Kit (JDK)
Java Applet Definition
public
boolean
20. Indicates that a value is either true or false in the Java sense.
Java Media Framework
boolean
POA (Portable Object Adapter)
DOM (Document Object Model)
21. A set of APIs that assists with the interfacing to multiple naming and directory services.
enum
double precision
Java Naming and Directory Interface (JNDI)
wrapper class
22. Introduces statements that are watched (during runtime) for things that can go wrong.
byte
float
if
try
23. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
DOM (Document Object Model)
import
throws
POA (Portable Object Adapter)
24. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
interface
DOM (Document Object Model)
JBossn
float
25. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Java Platform
POA (Portable Object Adapter)
implements
enum
26. A special Java servlet-aware web server process.
Servlet Aliasing
Servlet container
JavaScript
Declarations
27. Introduces the last will and testament of the statements in a try clause.
DOM (Document Object Model)
JSP
finally
Java Applet Definition
28. Tests the truth of a condition that the programmer believes is true.
Tag Library Directive element
throw
assert
Java Runtime Environment (JRE)
29. A class that wraps primitives - Integer or Boolean...
Java virtual machine
JSP
wrapper class
boolean
30. 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.
DOM (Document Object Model)
Jini Technology
Java Development Kit (JDK)
Java Native Interface
31. 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)
super
case
Servlet Chaining
32. 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 Runtime Environment (JRE)
static
Java Interface Definition Language (IDL)
OS principal
33. Jumps out of a loop or switch.
jsp:forware Action element (with jsp:param)
break
Servlet Aliasing
Java virtual machine
34. Basic code block of a JSP page
return
Scriptlets
const
goto
35. Includes a file in the page
Include Directive element
Java Media Framework
Java Media APIs
Java Naming and Directory Interface (JNDI)
36. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
while
CORBA
long
JavaScript
37. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
const
Semaphore
new
Page Directive element
38. 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.
throw
Servlet
jsp:forware Action element (with jsp:param)
Servlet Chaining
39. Keeps two threads from interfering with one another.
Java Database Connectivity (JDBC)
boolean
if
synchronized
40. Creates an object from an existing class.
native
case
new
assert
41. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
void
native
else
private
42. 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
jsp:include Action element (with jsp:param)
Java Database Connectivity (JDBC)
Java Applet Definition
CORBA
43. Introduces a path of execution to take when no case is a match in a switch statement.
default
if
Servlet container
JavaSafe
44. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
JBossn
switch
Java Interface Definition Language (IDL)
JAR (Java Archive)
45. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
Java Interface Definition Language (IDL)
final
long
JavaCheck
46. An opensource Java Application Server
class
Java Interface Definition Language (IDL)
Java Remote Method Invocation (RMI)
JBossn
47. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Scriptlets
char
strictfp
double precision
48. A description of the structure and properties of a class of XML files.
Scriptlets
DTD (Document Type Definition)
public
super
49. Useful only for small sites
assert
Jini Technology
class
Page-centric architecture
50. Sets attributes and properties specific to the current JSP page
Expressions
return
Page Directive element
ORB (Object Request Broker)
Sorry!:) No result found.
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