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 library than enables CORBA objects to locate and communicate with one another.
while
ORB (Object Request Broker)
wrapper class
throws
2. A protocol used for communication between CORBA object request brokers.
Java Media Framework
Java Runtime Environment (JRE)
Servlet Aliasing
IIOP (Internet Inter-ORB Protocol)
3. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
Page Directive element
float
long
4. Indicates that a variable or method can be used only within a certain class.
private
Java virtual machine
javax.servlet.http.*
Semaphore
5. Introduces a class
void
native
Page-centric architecture
class
6. Keeps two threads from interfering with one another.
synchronized
boolean
Java Media APIs
return
7. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
Page-centric architecture
for
Servlet Aliasing
float
8. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
POA (Portable Object Adapter)
goto
volatile
Java Development Kit (JDK)
9. 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.
switch
Java Media Framework
JDK (Java Development Kit)
MVC Architecture
10. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
native
Java Media Framework
while
char
11. Indicates that a value is a 64-bit whole number.
long
Java Media Framework
JSP
JSP Beans
12. 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).
JavaSpaces
Java Platform
Java Foundation Classes (JFC)
DOM (Document Object Model)
13. A self-reference
static
long
this
new
14. 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).
float
Java Database Connectivity (JDBC)
Java virtual machine
double
15. Indicates that a value is a 64-bit number with one or more digits after the decimal point.
synchronized
Java Native Interface
double
JavaSafe
16. Introduces one of several possible paths of execution in a switch statement.
JSP
wrapper class
DTD (Document Type Definition)
case
17. A tool for tracking and managing source file changes - written in Java.
finally
JavaSafe
MVC Architecture
JavaScript
18. A special Java servlet-aware web server process.
Servlet container
JavaBeans
interface
abstract
19. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.
Jini Technology
import
if
default
20. 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.
Page-centric architecture
Java Interface Definition Language (IDL)
Expressions
Java Runtime Environment (JRE)
21. 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
Semaphore
boolean
jsp:include Action element (with jsp:param)
22. Useful only for small sites
finally
Page-centric architecture
if
Java Native Interface
23. 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.
enum
POA (Portable Object Adapter)
JavaScript
package
24. Introduces the last will and testament of the statements in a try clause.
Java Development Kit (JDK)
finally
else
boolean
25. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
try
for
Tag Library Directive element
26. Indicates that a method doesn't return a value.
new
DTD (Document Type Definition)
void
package
27. 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
Java Runtime Environment (JRE)
double
MVC Architecture
JavaScript
28. 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.
Servlet
do
class
JSP
29. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans
Java Media Framework
jsp:include Action element (with jsp:param)
double
JSP Beans
30. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Page Directive element
this
Servlet Aliasing
Include Directive element
31. Tests the truth of a condition that the programmer believes is true.
JSP
assert
JavaSafe
byte
32. An opensource Java Application Server
Java virtual machine
DOM (Document Object Model)
Java Foundation Classes (JFC)
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 Compatibility Kit (JCK)
Java Native Interface
int
do
34. 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)
Scriptlets
double precision
do
35. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request
volatile
for
Expressions
JavaCheck
36. 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.
jsp:plugin (uses jsp:params and jsp:fallback)
Java Media APIs
import
jsp:include Action element (with jsp:param)
37. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
CORBA
default
long
extends
38. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Tag Library Directive element
abstract
strictfp
void
39. Includes a file in the page
Include Directive element
new
const
Servlet workings
40. Similar to the include Directive but can pass information to the included resource
Java Development Kit (JDK)
protected
jsp:include Action element (with jsp:param)
Servlet workings
41. 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
enum
goto
private
Java Applet Definition
42. Jumps out of a loop or switch.
break
Update
Page Directive element
super
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.
JDK (Java Development Kit)
MVC Architecture
final
float
44. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
jsp:include Action element (with jsp:param)
double precision
wrapper class
class
45. Introduces statements that are watched (during runtime) for things that can go wrong.
import
super
try
extends
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.
break
jsp:include Action element (with jsp:param)
strictfp
Java Media APIs
47. Basic code block of a JSP page
Scriptlets
Tag Library Directive element
long
CORBA
48. Two Servlet API packages: javax.servlet.* ___________
javax.servlet.http.*
default
instanceof
jsp:include Action element (with jsp:param)
49. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
DOM (Document Object Model)
JavaSpaces
native
POA (Portable Object Adapter)
50. Introduces statements that are executed when the condition in an if statement isn't true.
else
Include Directive element
return
default