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. A set of APIs that assists with the interfacing to multiple naming and directory services.
super
Java Naming and Directory Interface (JNDI)
Include Directive element
goto
2. A self-reference
this
goto
javax.servlet.http.*
Servlet Aliasing
3. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
instanceof
POA (Portable Object Adapter)
package
Semaphore
4. An opensource Java Application Server
JBossn
native
Declarations
JSP
5. 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 Database Connectivity (JDBC)
JSP
Page-centric architecture
throw
6. Tests the truth of a condition that the programmer believes is true.
Java Media Framework
assert
private
goto
7. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Java Native Interface
CORBA
abstract
transient
8. Introduces statements that are watched (during runtime) for things that can go wrong.
DOM (Document Object Model)
Java Development Kit (JDK)
public
try
9. Indicates that a variable or class or method can be used by any other Java code.
JAR (Java Archive)
Java Runtime Environment (JRE)
Java Media Framework
public
10. Indicates that a method or constructor may pass the buck when an exception is thrown.
JavaSpaces
throws
Scriptlets
JSP Beans
11. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Servlet workings
float
jsp:include Action element (with jsp:param)
package
12. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
Java Interface Definition Language (IDL)
Update
case
char
13. A definition of the interfaces that permit CORBA objects to participate in transactions.
Java Platform
Update
OTS (Object Transaction Service)
while
14. Enables the programmer to abbreviate the names of classes defined in a package.
import
goto
ORB (Object Request Broker)
package
15. 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.
OS principal
for
Java Compatibility Kit (JCK)
void
16. 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
JAR (Java Archive)
OTS (Object Transaction Service)
for
short
17. Two Servlet API packages: javax.servlet.* ___________
switch
Java Platform
int
javax.servlet.http.*
18. 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
javax.servlet.http.*
Java Remote Method Invocation (RMI)
Java Applet Definition
private
19. Indicates that a value is a 32-bit whole number.
throw
goto
POA (Portable Object Adapter)
int
20. Consists of class libraries - a Java virtual machine (JVM) and class loader (which comprise the runtime environment) and a compiler - debugger and other tools (which comprise the development kit).
return
Java Platform
Update
import
21. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
volatile
Expressions
jsp:include Action element (with jsp:param)
IIOP (Internet Inter-ORB Protocol)
22. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
else
throw
JavaBeans
Tag Library Directive element
23. Indicates that a value is an 8-bit whole number.
Java Runtime Environment (JRE)
JavaSafe
JavaCheck
byte
24. 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.
JavaSafe
try
goto
Java Media APIs
25. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
abstract
implements
strictfp
Java Native Interface
26. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
ORB (Object Request Broker)
do
class
double precision
27. Used to terminate the execution of the current JSP page and switch control to another resource
assert
Java Platform
jsp:forware Action element (with jsp:param)
Include Directive element
28. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
OS principal
catch
Servlet Chaining
protected
29. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
JavaSpaces
case
JavaScript
switch
30. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
package
DTD (Document Type Definition)
private
31. 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).
switch
Java virtual machine
ORB (Object Request Broker)
interface
32. Indicates that a value is a 64-bit whole number.
implements
abstract
long
boolean
33. Tests to see whether a certain object comes from a certain class.
instanceof
wrapper class
Java Remote Method Invocation (RMI)
javax.servlet.http.*
34. Indicates that a method doesn't return a value.
byte
void
Java Foundation Classes (JFC)
ORB (Object Request Broker)
35. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
class
public
final
switch
36. Introduces statements that are executed when the condition in an if statement isn't true.
throw
else
Java Interface Definition Language (IDL)
interface
37. A special Java servlet-aware web server process.
switch
Servlet container
volatile
native
38. Indicates that a variable or method belongs to a class rather than to any object created from the class.
synchronized
static
Java Naming and Directory Interface (JNDI)
JavaSpaces
39. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
break
class
JavaBeans
instanceof
40. Imposes strict rules on the use of a variable by more than one thread at a time.
Include Directive element
volatile
Servlet Chaining
int
41. Basic code block of a JSP page
Scriptlets
Java Remote Method Invocation (RMI)
ORB (Object Request Broker)
Servlet container
42. Introduces one of several possible paths of execution in a switch statement.
catch
case
short
synchronized
43. 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.
protected
jsp:include Action element (with jsp:param)
Servlet workings
Servlet
44. The output of one servlet act as a input to another servlet.
DOM (Document Object Model)
Servlet Chaining
OTS (Object Transaction Service)
DTD (Document Type Definition)
45. Sets attributes and properties specific to the current JSP page
Include Directive element
Page Directive element
interface
Servlet Chaining
46. A class that wraps primitives - Integer or Boolean...
strictfp
Semaphore
goto
wrapper class
47. 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
const
jsp:forware Action element (with jsp:param)
jsp:plugin (uses jsp:params and jsp:fallback)
48. 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.
int
JavaSafe
Java Media APIs
interface
49. Introduces a path of execution to take when no case is a match in a switch statement.
default
int
jsp:include Action element (with jsp:param)
Expressions
50. Indicates that a variable or method can be used only within a certain class.
MVC Architecture
new
DOM (Document Object Model)
private
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