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. 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
MVC Architecture
assert
JavaSafe
while
2. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.
Servlet container
Java Media APIs
strictfp
jsp:plugin (uses jsp:params and jsp:fallback)
3. Indicates that a variable or method belongs to a class rather than to any object created from the class.
OS principal
static
throws
Servlet
4. Similar to the include Directive but can pass information to the included resource
private
Servlet workings
jsp:include Action element (with jsp:param)
JAR (Java Archive)
5. Indicates that a value is a 32-bit whole number.
instanceof
enum
int
Java Database Connectivity (JDBC)
6. Indicates that a method or constructor may pass the buck when an exception is thrown.
JSP Beans
return
byte
throws
7. Indicates that a variable or method can be used in subclasses from another package.
volatile
switch
javax.servlet.http.*
protected
8. A tool for tracking and managing source file changes - written in Java.
JavaCheck
else
JavaSafe
Servlet container
9. A special Java servlet-aware web server process.
Servlet container
JBossn
const
enum
10. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.
Java Remote Method Invocation (RMI)
interface
Servlet Aliasing
do
11. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).
native
default
continue
super
12. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).
Include Directive element
POA (Portable Object Adapter)
Java Runtime Environment (JRE)
CORBA
13. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.
new
DOM (Document Object Model)
extends
throw
14. Basic code block of a JSP page
import
Java Applet Definition
jsp:include Action element (with jsp:param)
Scriptlets
15. Indicates that a value is an 8-bit whole number.
byte
Servlet
JSP Beans
Java Media Framework
16. 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
JDK (Java Development Kit)
protected
package
17. Indicates that the details of a class or a method or an interface are given elsewhere in the code.
break
abstract
transient
else
18. A description of the structure and properties of a class of XML files.
Page-centric architecture
class
DTD (Document Type Definition)
long
19. Indicates that a value is a 64-bit whole number.
long
package
short
CORBA
20. Ends execution of a method and possibly returns a value to the calling code.
Java Foundation Classes (JFC)
return
JavaSafe
default
21. Repeats some statements over and over again (as long as a condition is still true).
float
protected
while
Java Interface Definition Language (IDL)
22. Includes a new tag library into page - allows use of tags in page
implements
throws
int
Tag Library Directive element
23. CRUD: Create - Retrieve - ________ - Delete
DTD (Document Type Definition)
default
Update
this
24. Used to terminate the execution of the current JSP page and switch control to another resource
default
Servlet
if
jsp:forware Action element (with jsp:param)
25. Indicates that a variable or method can be used only within a certain class.
const
protected
private
package
26. Reuses the functionality from a previously defined interface.
implements
Servlet container
static
jsp:include Action element (with jsp:param)
27. 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).
protected
Java virtual machine
byte
jsp:forware Action element (with jsp:param)
28. Introduces statements that are executed when something interrupts the flow of execution in a try clause.
catch
Java Naming and Directory Interface (JNDI)
Jini Technology
jsp:plugin (uses jsp:params and jsp:fallback)
29. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.
Java Remote Method Invocation (RMI)
ORB (Object Request Broker)
abstract
DOM (Document Object Model)
30. Sets attributes and properties specific to the current JSP page
Page Directive element
jsp:plugin (uses jsp:params and jsp:fallback)
Java Remote Method Invocation (RMI)
Java Platform
31. Tests the truth of a condition that the programmer believes is true.
Java Compatibility Kit (JCK)
assert
public
strictfp
32. Enables the programmer to abbreviate the names of classes defined in a package.
JavaSafe
package
break
import
33. Introduces a class
extends
native
class
public
34. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.
class
extends
JDK (Java Development Kit)
POA (Portable Object Adapter)
35. A class that wraps primitives - Integer or Boolean...
Servlet Aliasing
wrapper class
JavaScript
throws
36. Gets the computer to repeat some statements over and over again (for instance a certain number of times).
ORB (Object Request Broker)
Java Compatibility Kit (JCK)
for
JavaScript
37. Two Servlet API packages: javax.servlet.* ___________
class
javax.servlet.http.*
package
instanceof
38. Creates a newly defined type
default
enum
try
Java Media APIs
39. Forces the abrupt end of the current loop iteration and begins another iteration.
continue
POA (Portable Object Adapter)
const
float
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()
Java Media Framework
Declarations
Page Directive element
this
41. Creates a subclass
catch
extends
implements
Java Media APIs
42. Introduces statements that are watched (during runtime) for things that can go wrong.
final
try
return
throws
43. A set of APIs that assists with the interfacing to multiple naming and directory services.
else
CORBA
Java Naming and Directory Interface (JNDI)
Java Native Interface
44. Indicates that a method doesn't return a value.
native
void
Declarations
double precision
45. 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.
Java Media Framework
short
throw
Java Compatibility Kit (JCK)
46. 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.
JBossn
Java Remote Method Invocation (RMI)
synchronized
protected
47. 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.
javax.servlet.http.*
package
Java Database Connectivity (JDBC)
float
48. A principal native to the operating system on which the Java platform is executing.
OS principal
this
Java Media APIs
Java Remote Method Invocation (RMI)
49. Introduces one of several possible paths of execution in a switch statement.
case
Java Media APIs
super
DOM (Document Object Model)
50. 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.
char
JavaSafe
goto
POA (Portable Object Adapter)