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 a subclass
extends
else
JAR (Java Archive)
implements
2. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
jsp:include Action element (with jsp:param)
POA (Portable Object Adapter)
boolean
CORBA
3. Introduces an interface which is like a class but less specific.
double precision
JavaScript
volatile
interface
4. Indicates that a value is an 8-bit whole number.
Semaphore
byte
enum
goto
5. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
Java Development Kit (JDK)
abstract
CORBA
javax.servlet.http.*
6. Reuses the functionality from a previously defined interface.
strictfp
goto
OS principal
implements
7. 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
strictfp
package
Servlet workings
Servlet container
8. Indicates that a value is a 32-bit number with one or more digits after the decimal point.
const
float
continue
for
9. Used to terminate the execution of the current JSP page and switch control to another resource
protected
if
private
jsp:forware Action element (with jsp:param)
10. Jumps out of a loop or switch.
break
DTD (Document Type Definition)
Include Directive element
Servlet Chaining
11. Creates a newly defined type
javax.servlet.http.*
enum
JAR (Java Archive)
Expressions
12. A software development environment for writing applets and application in Java .
JDK (Java Development Kit)
throws
Include Directive element
while
13. Keeps two threads from interfering with one another.
synchronized
JavaBeans
this
assert
14. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
protected
IIOP (Internet Inter-ORB Protocol)
Jini Technology
Servlet Aliasing
15. A special Java servlet-aware web server process.
JDK (Java Development Kit)
Expressions
OTS (Object Transaction Service)
Servlet container
16. 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).
default
DTD (Document Type Definition)
JAR (Java Archive)
Java Platform
17. CRUD: Create - Retrieve - ________ - Delete
short
Update
return
assert
18. A protocol used for communication between CORBA object request brokers.
OS principal
ORB (Object Request Broker)
IIOP (Internet Inter-ORB Protocol)
jsp:include Action element (with jsp:param)
19. Repeats some statements over and over again (as long as a condition is still true).
double precision
while
Jini Technology
interface
20. 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.
IIOP (Internet Inter-ORB Protocol)
return
goto
native
21. 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()
while
try
Java Interface Definition Language (IDL)
Declarations
22. 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
javax.servlet.http.*
JAR (Java Archive)
IIOP (Internet Inter-ORB Protocol)
this
23. Puts the code into a package
Page-centric architecture
transient
CORBA
package
24. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java virtual machine
Java Naming and Directory Interface (JNDI)
JavaBeans
assert
25. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.
double precision
Expressions
native
final
26. Introduces a path of execution to take when no case is a match in a switch statement.
default
try
Java Foundation Classes (JFC)
Java Database Connectivity (JDBC)
27. A tool for checking compliance of applications and applets to a specification.
boolean
goto
JavaCheck
volatile
28. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
switch
super
strictfp
Update
29. Ends execution of a method and possibly returns a value to the calling code.
native
return
break
Servlet Aliasing
30. Refers to the superclass of the code in which the word super appears.
super
char
JavaScript
default
31. Includes a file in the page
MVC Architecture
Page Directive element
new
Include Directive element
32. 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
import
double precision
JavaScript
33. The output of one servlet act as a input to another servlet.
Jini Technology
float
Java Foundation Classes (JFC)
Servlet Chaining
34. Useful only for small sites
Java Native Interface
Page-centric architecture
JDK (Java Development Kit)
Java virtual machine
35. A principal native to the operating system on which the Java platform is executing.
OS principal
double precision
Jini Technology
JavaBeans
36. Indicates that a variable or method can be used in subclasses from another package.
JavaSafe
interface
Java Remote Method Invocation (RMI)
protected
37. Indicates that a variable or method belongs to a class rather than to any object created from the class.
case
synchronized
static
jsp:plugin (uses jsp:params and jsp:fallback)
38. 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.
throws
Servlet Chaining
Java Native Interface
JavaCheck
39. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.
while
final
short
char
40. Basic code block of a JSP page
Scriptlets
instanceof
break
double
41. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
JavaBeans
enum
native
transient
42. A class that wraps primitives - Integer or Boolean...
Java virtual machine
wrapper class
import
static
43. Forces the abrupt end of the current loop iteration and begins another iteration.
short
assert
jsp:forware Action element (with jsp:param)
continue
44. Imposes strict rules on the use of a variable by more than one thread at a time.
volatile
wrapper class
byte
Jini Technology
45. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
JavaSpaces
JSP Beans
throws
Java Foundation Classes (JFC)
46. Creates an object from an existing class.
double
DTD (Document Type Definition)
return
new
47. 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.
Java Compatibility Kit (JCK)
jsp:include Action element (with jsp:param)
throw
Java Media Framework
48. Tests to see whether a certain object comes from a certain class.
return
instanceof
ORB (Object Request Broker)
javax.servlet.http.*
49. Similar to the include Directive but can pass information to the included resource
jsp:include Action element (with jsp:param)
public
Java Native Interface
final
50. Indicates that a value is a 64-bit whole number.
native
class
long
final