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 32-bit whole number.
case
int
catch
Servlet Aliasing
2. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
while
JBossn
enum
Java Foundation Classes (JFC)
3. 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.
Jini Technology
Servlet
new
CORBA
4. Introduces a path of execution to take when no case is a match in a switch statement.
Update
this
default
Java Runtime Environment (JRE)
5. Introduces one of several possible paths of execution in a switch statement.
goto
IIOP (Internet Inter-ORB Protocol)
case
Java Applet Definition
6. Imposes strict rules on the use of a variable by more than one thread at a time.
synchronized
volatile
Jini Technology
finally
7. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
JDK (Java Development Kit)
short
Java Interface Definition Language (IDL)
Semaphore
8. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Java Interface Definition Language (IDL)
for
DTD (Document Type Definition)
Update
9. A protocol used for communication between CORBA object request brokers.
interface
float
IIOP (Internet Inter-ORB Protocol)
Java Applet Definition
10. 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()
final
Scriptlets
Declarations
DOM (Document Object Model)
11. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
Java virtual machine
Servlet
Servlet container
double precision
12. 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).
instanceof
Servlet container
Java virtual machine
class
13. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Naming and Directory Interface (JNDI)
byte
Include Directive element
Java Applet Definition
14. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
switch
break
Update
interface
15. Sets attributes and properties specific to the current JSP page
Page Directive element
double
for
finally
16. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.
default
Jini Technology
synchronized
Java Media Framework
17. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).
Servlet
strictfp
do
byte
18. 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.
case
float
Java Remote Method Invocation (RMI)
Java Native Interface
19. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.
Servlet Aliasing
Java Media Framework
transient
for
20. Indicates that a value is a 16-bit whole number.
DOM (Document Object Model)
catch
short
Page-centric architecture
21. 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
goto
OS principal
CORBA
22. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
super
strictfp
Jini Technology
Expressions
23. Introduces statements that are watched (during runtime) for things that can go wrong.
JavaScript
try
javax.servlet.http.*
Declarations
24. 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
continue
extends
MVC Architecture
goto
25. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
interface
Page-centric architecture
goto
JavaSpaces
26. Similar to the include Directive but can pass information to the included resource
static
Java Media APIs
float
jsp:include Action element (with jsp:param)
27. Introduces a class
JavaCheck
class
OTS (Object Transaction Service)
while
28. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
Expressions
break
final
JavaBeans
29. Indicates that a variable or class or method can be used by any other Java code.
CORBA
final
JavaSpaces
public
30. 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.
Java Development Kit (JDK)
JavaCheck
Update
Servlet
31. Refers to the superclass of the code in which the word super appears.
native
boolean
synchronized
super
32. 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
Update
instanceof
JAR (Java Archive)
javax.servlet.http.*
33. A definition of the interfaces that permit CORBA objects to participate in transactions.
Java Foundation Classes (JFC)
OTS (Object Transaction Service)
DTD (Document Type Definition)
switch
34. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
Java Compatibility Kit (JCK)
transient
JavaBeans
MVC Architecture
35. A self-reference
return
this
jsp:plugin (uses jsp:params and jsp:fallback)
Java Media Framework
36. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
break
throw
Servlet container
double precision
37. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Expressions
interface
abstract
Java Interface Definition Language (IDL)
38. 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
package
Java Platform
Servlet workings
break
39. Reuses the functionality from a previously defined interface.
DOM (Document Object Model)
JBossn
implements
Declarations
40. 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).
instanceof
Java Platform
synchronized
Tag Library Directive element
41. A special Java servlet-aware web server process.
continue
Servlet container
return
Expressions
42. Used to terminate the execution of the current JSP page and switch control to another resource
boolean
Scriptlets
jsp:forware Action element (with jsp:param)
else
43. Includes a file in the page
super
javax.servlet.http.*
Include Directive element
JSP
44. Useful only for small sites
if
for
Page-centric architecture
finally
45. 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.
if
const
Tag Library Directive element
Servlet workings
46. 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
public
boolean
Java Interface Definition Language (IDL)
enum
47. 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 Runtime Environment (JRE)
boolean
Java Development Kit (JDK)
MVC Architecture
48. Introduces the last will and testament of the statements in a try clause.
JavaBeans
Semaphore
private
finally
49. 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
DOM (Document Object Model)
const
Java Runtime Environment (JRE)
Java Applet Definition
50. 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.
volatile
Java Media APIs
new
instanceof
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