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 Web Programming
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 GET request results from a normal request for a URL or from an HTML form that has no METHOD specified and it should be handled by this method.
deprecated
fail()
doGet()
session object
2. The event gets sent to the most specific element and after this element has an opportunity to react - the event bubbles up to more general elements.
object
JUnit
event bubbling
DTD
3. This Java object is used by a controller servlet to send the request to the appropriate JSP page
padding
Dynamically installed event handler
Expression language
RequestDispatcher
4. Object associated with a visitor; similar to a Hashtable; different set of data kept for each visitor to the site
protocol layering principle
URL
Session
Extreme programming
5. Generic name for a Java class that manages data on behalf of a JSP page
Data Access Object
JavaBean
class library
foreign key constraint
6. XHTML element - a class name - an id name
parameter
visibility
CSS selector
TCP (Transport Layer Protocol)
7. Any item that can be manipulated such as picture and data file or text.
onreadystatechange
WAR webxml attribute
Object-Relational Mapping
object
8. Elements of the programming language which have essentially evolved out of use/style. Example of this is the java.awt package and its replacement javax.swing
this()
junit task
deprecated
Connection
9. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
JSP tag
JavaBean
parameter
Cascade delete
10. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT
Element
Event object
build.xml
foreign key constraint
11. Open-source SQL (Structured Query Language) database implementation. persistence provider.
XML Schema
MySQL
Dynamically installed event handler
try
12. This tag in a JSP page directs the associated Bean to receive a property when the user clicks a Submit button in the JSP page
<jsp:setProperty> tag
constructor chaining
CSS selector
block display
13. Spaces at the top and bottom and left and right of the document between the edges of the text; the absolute boundary of text and graphics on a page
margins
MySQL
Apache
Node
14. Elements not displayed by the browser.
hidden input element
2xx status code
entity
getXXX method
15. Represents a table in a relational database; each instance corresponds to a row in that table
assertEquals()
HTML strict
entity
class
16. anyone can use to create and manipulate objects. forms public interface.
POST
public
Expression Language
request attribute
17. All data for a single member (object)
session object
constructor chaining
Expression Scriptlet
XMLHttpRequest
18. Not intended to be depended on by external code and thus are not part of the interface.
private
container
getter
CSS Property
19. Layer below HTTP. HTTP accesses this. Reliable data stream service. The Internet's primary transport protocol; provides a point-to-point channel for applications that require reliable communications
padding
package
TCP (Transport Layer Protocol)
W3C
20. Improving the design of existing software code. doesn't change the observable behavior of the software; it improves its internal structure
refractor
private
package
import statement
21. Used to extract only those records that fulfill a specified criterion.
Spec comment
Java class
MySQL
where clause
22. A notation that shows all of the information needed to invoke (or call) the method
parameter
DTD
method signature
class library
23. A system where Web pages and their associated graphics are stored locally on a client computer to reduce Internet traffic and download wait time the next time the page is viewed.
public
cookie
Caching
onreadystatechange
24. a test of each individual component (often a program) to ensure that it is as defect-free as possible
RequestDispatcher
jQuery theme
constructor chaining
unit test
25. A special type of button in your forms that will perform the form's set action.
submit element
JavaBean
W3C DOM
Class.forName()
26. Client error
valid
JUnit test
4XX status code
viewport
27. Client error
4XX status code
class
redirect
Transitional
28. This term describes an action for which performing the action twice has the same effect as performing it once
idempotent
Element
setter
getXXX method
29. Sets a property value or values in a Bean.
Session
<jsp:setProperty> tag
<jsp:setProperty>
string interpolation
30. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT
primary key
2xx status code
build.xml
table
31. Renders the model into a form suitable for interaction - typically a user interface element. HTML and CSS
<jsp:useBean>
View
URL
Spec comment
32. After a database query is performed this Java class provides access to the records extracted from the database
NodeList
jQuery theme
request parameter
ResultSet
33. The act of sending onto another destination
doPost()
forward
table
getXXX method
34. Language that support either implicit type conversion (nearly all languages support at least one implicit type conversion) and ad-hoc polymorphism (also known as overloading) or both (ex. PHP)
weakly typed language
attribute
where clause
this()
35. The data transfer protocol used on the World Wide Web. About requests and responses. Uses TCP.
HTTP
Exception
stateless
$_SESSION
36. A GET request results from a normal request for a URL or from an HTML form that has no METHOD specified and it should be handled by this method.
doGet()
catch
URL
application scope
37. Java classes inside a package that have already been compiled into byte code.
JAR file
Statement
Controller
relational database
38. Used to insert Java values directly into the output. It has the following form: <%= Java expression %>
Spec comment
idempotent
expression scriptlet
superclass
39. A set of assertion methods useful for writing tests. Only failed assertions are recorded.
JSP Expression Language
assertEquals method
class
constructor chaining
40. Bean that only survives for current request
request Bean scope
session object
JSP tag
DriverManager
41. A Java keyword used in method declarations that specify which exceptions are not handled within the method but rather passed to the next higher level of the program.
static content
throws
scriptlet
DriverManager
42. A communications protocol that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses. Does not require the server to retain sessio
Extreme programming
stateless
JUnit test
idempotent
43. Used to extract only those records that fulfill a specified criterion.
where clause
<jsp:useBean> tag
CSS property
HttpSession
44. Open-source servlet container. popular servlet engine of the apache project
scriptlet
Model
Tomcat
HTTP
45. The GET and HEAD are ____ methods and SHOULD NOT have the significance of taking an action other than retrieval.
dynamic content
safe
persistence
restricted type
46. Something that is not included in a rule or group or list or that does not behave in the expected way
Exception
<jsp:setProperty>
Connection
safe
47. Java Server Page - web page coding standard that allows developers to dynamically generate web pages in response to user request
<jsp:useBean>
radio button
<jsp:getProperty>
JSP
48. A blueprint for creating objects of a certain kind; defines data and methods.
getter method
Transitional
package
Java class
49. attributes that are bound to a session as a mean to provide state to a set of related HTTP requests
session attribute
block display
stateless
input element
50. Class that extends the attributes and methods of a superclass
inline display
Driver
subclass
sequence