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. Creates an object from an existing class.
private
new
Expressions
throws
2. 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.
Servlet container
static
Jini Technology
const
3. A description of the structure and properties of a class of XML files.
throws
Java Remote Method Invocation (RMI)
throw
DTD (Document Type Definition)
4. Indicates that a value is a 64-bit whole number.
Java Platform
double
MVC Architecture
long
5. Indicates that a method or constructor may pass the buck when an exception is thrown.
public
goto
Servlet container
throws
6. Jumps out of a loop or switch.
break
Java virtual machine
if
class
7. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
static
interface
Java Development Kit (JDK)
switch
8. Includes a new tag library into page - allows use of tags in page
super
jsp:include Action element (with jsp:param)
Tag Library Directive element
Java Applet Definition
9. ______ 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
Servlet Aliasing
private
JSP
do
10. 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
double
const
try
Java Applet Definition
11. A software development environment for writing applets and application in Java .
float
Java Native Interface
implements
JDK (Java Development Kit)
12. Indicates that a value is a 16-bit whole number.
char
Java Database Connectivity (JDBC)
transient
short
13. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
enum
for
this
final
14. The output of one servlet act as a input to another servlet.
double
Java Media Framework
Servlet Chaining
new
15. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
static
OTS (Object Transaction Service)
boolean
16. A tool for checking compliance of applications and applets to a specification.
JSP Beans
JavaSpaces
class
JavaCheck
17. 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()
Semaphore
Declarations
Servlet Chaining
do
18. A tool for tracking and managing source file changes - written in Java.
char
JavaSafe
abstract
float
19. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
boolean
Servlet
do
if
20. Forces the abrupt end of the current loop iteration and begins another iteration.
void
Jini Technology
try
continue
21. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
Tag Library Directive element
JDK (Java Development Kit)
jsp:include Action element (with jsp:param)
22. Two Servlet API packages: javax.servlet.* ___________
Java Remote Method Invocation (RMI)
Scriptlets
Jini Technology
javax.servlet.http.*
23. Introduces statements that are executed when the condition in an if statement isn't true.
jsp:forware Action element (with jsp:param)
this
instanceof
else
24. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
short
else
abstract
25. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Include Directive element
JavaScript
int
strictfp
26. Indicates that a value is either true or false in the Java sense.
boolean
Java Remote Method Invocation (RMI)
Servlet Aliasing
protected
27. 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).
OS principal
protected
Java virtual machine
static
28. 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.
Java Development Kit (JDK)
assert
jsp:include Action element (with jsp:param)
byte
29. Introduces an interface which is like a class but less specific.
MVC Architecture
jsp:forware Action element (with jsp:param)
interface
int
30. A principal native to the operating system on which the Java platform is executing.
for
Include Directive element
OS principal
JAR (Java Archive)
31. 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.
Java Compatibility Kit (JCK)
assert
JavaScript
volatile
32. 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.
JavaScript
protected
Java Compatibility Kit (JCK)
JBossn
33. 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
POA (Portable Object Adapter)
OTS (Object Transaction Service)
native
34. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
int
Java Native Interface
implements
if
35. Creates a subclass
extends
Servlet container
IIOP (Internet Inter-ORB Protocol)
int
36. Used to generate HTML
Jini Technology
this
jsp:plugin (uses jsp:params and jsp:fallback)
byte
37. Used to terminate the execution of the current JSP page and switch control to another resource
jsp:forware Action element (with jsp:param)
do
double
jsp:plugin (uses jsp:params and jsp:fallback)
38. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
JBossn
new
Declarations
Java Foundation Classes (JFC)
39. Reuses the functionality from a previously defined interface.
implements
catch
jsp:include Action element (with jsp:param)
return
40. A class that wraps primitives - Integer or Boolean...
Java Development Kit (JDK)
wrapper class
Servlet
static
41. A special Java servlet-aware web server process.
Page-centric architecture
Servlet container
JDK (Java Development Kit)
try
42. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
JavaSafe
strictfp
POA (Portable Object Adapter)
43. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
jsp:plugin (uses jsp:params and jsp:fallback)
super
JBossn
final
44. Creates a newly defined type
const
extends
for
enum
45. 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.
abstract
jsp:forware Action element (with jsp:param)
Servlet
Servlet Chaining
46. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
JSP
DOM (Document Object Model)
Scriptlets
for
47. Imposes strict rules on the use of a variable by more than one thread at a time.
Java Development Kit (JDK)
Java Database Connectivity (JDBC)
volatile
abstract
48. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
JAR (Java Archive)
JSP Beans
class
49. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Java Applet Definition
byte
throw
Semaphore
50. A set of Java APIs that may be incorporated an optional package for any Java 2 Platform Edition. The Jini APIs enable transparent networking of devices and services and eliminates the need for system or network administration intervention by a user.
double
continue
goto
Jini Technology
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