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. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
for
this
Java Remote Method Invocation (RMI)
boolean
2. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
transient
int
void
this
3. Creates an object from an existing class.
private
new
Java Compatibility Kit (JCK)
Expressions
4. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
finally
instanceof
enum
5. Reuses the functionality from a previously defined interface.
implements
this
for
Jini Technology
6. Introduces a class
class
abstract
JavaCheck
MVC Architecture
7. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
throw
native
break
Page-centric architecture
8. Creates a newly defined type
final
JavaSafe
enum
continue
9. Includes a new tag library into page - allows use of tags in page
class
Tag Library Directive element
extends
short
10. 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
Java Compatibility Kit (JCK)
Servlet workings
Java Native Interface
enum
11. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
static
abstract
Java virtual machine
Include Directive element
12. 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()
CORBA
import
class
Declarations
13. Indicates that a variable or method can be used in subclasses from another package.
Include Directive element
Java Platform
short
protected
14. Introduces a path of execution to take when no case is a match in a switch statement.
throws
for
default
Servlet workings
15. Tests the truth of a condition that the programmer believes is true.
protected
for
assert
public
16. Useful only for small sites
DTD (Document Type Definition)
instanceof
Page-centric architecture
Java Database Connectivity (JDBC)
17. Introduces statements that are executed when the condition in an if statement isn't true.
while
else
Java Compatibility Kit (JCK)
MVC Architecture
18. 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).
for
do
assert
Java virtual machine
19. Similar to the include Directive but can pass information to the included resource
Java Interface Definition Language (IDL)
Java Media APIs
Java Media Framework
jsp:include Action element (with jsp:param)
20. Used to terminate the execution of the current JSP page and switch control to another resource
Java virtual machine
Java Runtime Environment (JRE)
try
jsp:forware Action element (with jsp:param)
21. 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
try
Java Runtime Environment (JRE)
super
22. A set of APIs that assists with the interfacing to multiple naming and directory services.
enum
DTD (Document Type Definition)
Java Naming and Directory Interface (JNDI)
Java Foundation Classes (JFC)
23. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
super
Java Platform
Java Remote Method Invocation (RMI)
24. An opensource Java Application Server
JBossn
throw
wrapper class
DOM (Document Object Model)
25. 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 Foundation Classes (JFC)
break
Java Interface Definition Language (IDL)
26. CRUD: Create - Retrieve - ________ - Delete
assert
DTD (Document Type Definition)
volatile
Update
27. 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.
ORB (Object Request Broker)
class
CORBA
Jini Technology
28. A class that wraps primitives - Integer or Boolean...
wrapper class
Java Compatibility Kit (JCK)
public
Servlet Aliasing
29. Indicates that a variable or method can be used only within a certain class.
private
while
Update
Semaphore
30. 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
boolean
jsp:forware Action element (with jsp:param)
JAR (Java Archive)
Java Naming and Directory Interface (JNDI)
31. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Java Applet Definition
double precision
JSP
case
32. Repeats some statements over and over again (as long as a condition is still true).
JavaCheck
Update
class
while
33. A tool for tracking and managing source file changes - written in Java.
void
break
private
JavaSafe
34. A description of the structure and properties of a class of XML files.
Servlet
JAR (Java Archive)
DTD (Document Type Definition)
super
35. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
Java Development Kit (JDK)
ORB (Object Request Broker)
float
Java Platform
36. Sets attributes and properties specific to the current JSP page
POA (Portable Object Adapter)
Page Directive element
JavaBeans
float
37. Refers to the superclass of the code in which the word super appears.
transient
return
POA (Portable Object Adapter)
super
38. 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).
Java Platform
switch
Page-centric architecture
protected
39. 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)
public
extends
volatile
40. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
JSP Beans
Java Database Connectivity (JDBC)
Java Native Interface
break
41. 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.
Java Remote Method Invocation (RMI)
private
case
for
42. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
Include Directive element
Jini Technology
JavaSpaces
JAR (Java Archive)
43. Indicates that a value is either true or false in the Java sense.
Java virtual machine
switch
DTD (Document Type Definition)
boolean
44. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
JavaScript
javax.servlet.http.*
char
45. A definition of the interfaces that permit CORBA objects to participate in transactions.
assert
ORB (Object Request Broker)
short
OTS (Object Transaction Service)
46. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
const
Java Native Interface
strictfp
continue
47. This separates the content presentation (View) from the underlying business operations/content generation (Model) using infrastructure/controller Servlet (Controller) which exists between the client browser and the JSP/Servlet-generated pages. Contro
catch
static
MVC Architecture
long
48. Puts the code into a package
Java Compatibility Kit (JCK)
JDK (Java Development Kit)
package
else
49. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Servlet Aliasing
JavaSafe
char
switch
50. Introduces an interface which is like a class but less specific.
JSP Beans
interface
Java Media APIs
while
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