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. Imposes strict rules on the use of a variable by more than one thread at a time.
super
volatile
long
Java Media Framework
2. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).
Java Interface Definition Language (IDL)
Java Naming and Directory Interface (JNDI)
try
Java Foundation Classes (JFC)
3. Refers to the superclass of the code in which the word super appears.
DTD (Document Type Definition)
jsp:include Action element (with jsp:param)
class
super
4. A description of the structure and properties of a class of XML files.
Java Remote Method Invocation (RMI)
double precision
MVC Architecture
DTD (Document Type Definition)
5. A set of APIs that assists with the interfacing to multiple naming and directory services.
Java Platform
Java Foundation Classes (JFC)
return
Java Naming and Directory Interface (JNDI)
6. 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.
finally
Java Media Framework
Jini Technology
Semaphore
7. Ends execution of a method and possibly returns a value to the calling code.
return
IIOP (Internet Inter-ORB Protocol)
JDK (Java Development Kit)
Java Native Interface
8. Creates a subclass
Include Directive element
Servlet
Page-centric architecture
extends
9. Indicates that a value is a 16-bit whole number.
finally
private
JavaSafe
short
10. Creates an object from an existing class.
assert
interface
new
double precision
11. Indicates that a method doesn't return a value.
Scriptlets
Java virtual machine
void
break
12. Tests the truth of a condition that the programmer believes is true.
abstract
throw
assert
Java Native Interface
13. A protocol used for communication between CORBA object request brokers.
Java Remote Method Invocation (RMI)
float
finally
IIOP (Internet Inter-ORB Protocol)
14. 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.
final
Servlet workings
DTD (Document Type Definition)
Java Database Connectivity (JDBC)
15. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.
this
switch
throws
extends
16. Introduces an interface which is like a class but less specific.
Java Foundation Classes (JFC)
interface
private
import
17. 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.
Java Runtime Environment (JRE)
JavaBeans
POA (Portable Object Adapter)
throws
18. A special Java servlet-aware web server process.
interface
break
Servlet Chaining
Servlet container
19. Includes a new tag library into page - allows use of tags in page
import
abstract
Scriptlets
Tag Library Directive element
20. 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 Runtime Environment (JRE)
package
Java Native Interface
Java Media APIs
21. A definition of the interfaces that permit CORBA objects to participate in transactions.
DTD (Document Type Definition)
interface
OTS (Object Transaction Service)
Java Foundation Classes (JFC)
22. A principal native to the operating system on which the Java platform is executing.
case
javax.servlet.http.*
JAR (Java Archive)
OS principal
23. 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
strictfp
import
jsp:plugin (uses jsp:params and jsp:fallback)
24. A technology that provides distributed persistence and data exchange mechanisms for code in Java.
CORBA
assert
JavaSpaces
Java virtual machine
25. A lock that can be counted - i.e. how many times a resouce has been accessed and locked
Servlet container
short
Semaphore
Include Directive element
26. Indicates that a method or constructor may pass the buck when an exception is thrown.
throws
Include Directive element
break
boolean
27. Indicates that a variable or method belongs to a class rather than to any object created from the class.
static
Java virtual machine
throws
IIOP (Internet Inter-ORB Protocol)
28. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
package
catch
native
Include Directive element
29. 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.
char
Jini Technology
enum
package
30. 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
DOM (Document Object Model)
static
Page-centric architecture
Servlet workings
31. Enables the programmer to abbreviate the names of classes defined in a package.
final
Java Naming and Directory Interface (JNDI)
import
else
32. Used to generate HTML
jsp:plugin (uses jsp:params and jsp:fallback)
CORBA
JBossn
Scriptlets
33. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
JavaCheck
throw
catch
Java Platform
34. A self-reference
Java Compatibility Kit (JCK)
this
Update
instanceof
35. Indicates that a value is a 32-bit whole number.
ORB (Object Request Broker)
package
int
Java Remote Method Invocation (RMI)
36. Introduces a path of execution to take when no case is a match in a switch statement.
default
break
finally
POA (Portable Object Adapter)
37. 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
wrapper class
IIOP (Internet Inter-ORB Protocol)
MVC Architecture
Servlet container
38. Indicates that a value is either true or false in the Java sense.
continue
boolean
JavaSafe
Servlet workings
39. 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.
goto
Page-centric architecture
switch
double
40. 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()
Expressions
Declarations
package
const
41. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.
byte
final
abstract
else
42. Basic code block of a JSP page
Scriptlets
JSP Beans
JavaBeans
wrapper class
43. The output of one servlet act as a input to another servlet.
enum
Declarations
Java Database Connectivity (JDBC)
Servlet Chaining
44. 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).
Java virtual machine
return
package
transient
45. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
Java Native Interface
POA (Portable Object Adapter)
if
volatile
46. A class that wraps primitives - Integer or Boolean...
Jini Technology
void
wrapper class
jsp:include Action element (with jsp:param)
47. Jumps out of a loop or switch.
if
break
Servlet Aliasing
JSP Beans
48. 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
DOM (Document Object Model)
Java Media Framework
JAR (Java Archive)
throws
49. Indicates that a variable or method can be used in subclasses from another package.
protected
long
OTS (Object Transaction Service)
Java Compatibility Kit (JCK)
50. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.
JavaBeans
final
double precision
ORB (Object Request Broker)