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. This XML processing technology is used to identify sets of elements - such as all the <title> elements that occur as children of <item> elements
XPATH
WAR webxml attribute
hidden input element
Caching
2. Bean that only survives for current request
request Bean scope
external style sheet
relative positioning
getElementsByTagName
3. Controlling the exact location of text and pictures on a web page by specifying coordinates on the page.
absolute positioning
HTML strict
agile programming
package
4. Provides a way to identify a user across more than one page request or visit to a Web site and to store information about that user.
W3C
Java class
HttpSession
public
5. This Java class is used in JDBC pages to execute SQL statements and and provides protection against SQL scripting attacks
PreparedStatement
2xx status code
public
Tomcat
6. 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.
Caching
fail()
delimiter
JSTL (JavaServer Pages Standard Tag Library)
7. Handles the error if it does not satisfy the "try" statement
rs.next()
table
catch
session object
8. Your computer sends a request for some file (e.g. "Get me the file 'home.html'") and the web server sends back a _______ ("Here's the file" - followed by the file itself).
form method
response
assignment statement
JSP Expression Language
9. This modifier on a Java class member directs that the member should have a single value that is shared by all instances of this class
5XX status code
static content
Apache
record
10. The default positioning system used by web pages and browsers for where objects in a web page will be displayed. Objects are placed depending on where they occur in the code sequence.
where clause
relative positioning
import statement
className attribute
11. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
View
JSP tag
Entity class
superclass
12. In the XML fragment <node id="7" x_pos="330" ypos="450">Smallville</node> - id fills this role
input element
<c:forEach> tag
id attribute
super()
13. Gets the value of a Bean property so that you can display it in a result page.
abstract class
<jsp:getProperty>
CSS property
session object
14. Class of agile programming in which "waterfall" loop is compressed into shorter loops. each iteration adds functionality & client is responsible for acceptance testing.
Controller
id attribute
Model
Extreme programming
15. Success
2xx status code
box model
session Bean scope
application scope
16. Web page content that changes or is changed automatically based on database content or user information.
record
dynamic content
tag
W3C
17. Tag that gives you the option to iterate over arrays and collections
external style sheet
<c:forEach> tag
margins
relative positioning
18. The GET and HEAD are ____ methods and SHOULD NOT have the significance of taking an action other than retrieval.
DriverManager
import statement
CSS Property
safe
19. Set of data elements (values) that is organized using a model of vertical columns (identified by their name) and horizantal rows
WAR webxml attribute
session attribute
table
$
20. Elements not displayed by the browser.
hidden input element
JSP tag
Statement
Expression Language
21. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean
HTML strict
JSP Expression Language
submit element
parameter
22. This DTD contains all HTML elements and attributes but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed.
Driver
HTML strict
superclass
stateless
23. An API used to send HTTP requests directly to a web server and load the server response data directly back into the script.
DriverManager
XMLHttpRequest
cookie
request scope
24. Accessor whose purpose is to return the value stored in an instance variable.
<jsp:useBean> tag
getter method
5XX status code
Entity class
25. This Java object is used by a controller servlet to send the request to the appropriate JSP page
CSS property
RequestDispatcher
Dynamically installed event handler
onreadystatechange
26. A set of assertion methods useful for writing tests. Only failed assertions are recorded.
assertEquals method
ANT task
request parameter
CSS selector
27. Uses the equal sign to give the object property on the left of the equal sign the value on the right of the equal sign.
assignment statement
View
Connection
foreign key constraint
28. Represents a table in a relational database; each instance corresponds to a row in that table
Java class
entity
scriptlet
helper class
29. HTTP request method. Parameters are encoded in URL. used for idempotent requests.
Statement
ResultSet
scriptlet
GET
30. Record consisting of one or more fields that are links to other nodes and a data field
Node
scriptlet
getter method
string interpolation
31. allows you to create and bind objects to a session. is often used for managing security credentials and for managing state among multiple pages (such as in a Web-based wizard). Lasts for life of request
session scope
Statement
ANT task
selector
32. Class of agile programming in which "waterfall" loop is compressed into shorter loops. each iteration adds functionality & client is responsible for acceptance testing.
table
session scope
Extreme programming
object
33. Method that sets value of the attribute for the request which is retrieved later in either the current JSP page or another JSP page
SQL injection attack
request.setAttribute
hidden input element
TCP (Transport Layer Protocol)
34. Advances the record cursor by one record. Returns a boolean value indicating success or failure. Failure occurs if the cursor moved past the last record.
table
margins
rs.next()
dynamic content
35. Java classes inside a package that have already been compiled into byte code.
sequence
JAR file
class
superclass
36. Part of class definition that tells control what to do in response to event
form
this()
event handler
Exception
37. Represents a table in a relational database; each instance corresponds to a row in that table
request parameter
NodeList
protocol layering principle
entity
38. A style sheet containing format and layout settings that is stored in a separate file.
external style sheet
ResultSet
JUnit
weakly typed language
39. Object reference
id attribute
Java class
$
viewport
40. Renders the model into a form suitable for interaction - typically a user interface element. HTML and CSS
well-formed
View
subclass
MS Access
41. This component of the MVC architecture holds business data that will be displayed in the JSP page
selector
TCP (Transport Layer Protocol)
doPost()
Model
42. Set of data elements (values) that is organized using a model of vertical columns (identified by their name) and horizantal rows
table
RequestDispatcher
Expression Scriptlet
2xx status code
43. Can't attempt one task until a previous task is successful
jQuery
ANT dependency
document.getElementById()
input element
44. stores information about or change settings for a user session. Variables stored in it hold information about one single user and are available to all pages in one application.
HTTP
Exception
session object
HTML strict
45. jQuery provides a single object with the most important properties.
Node
Event object
ANT task
private
46. Accessor whose purpose is to return the value stored in an instance variable.
getter method
JavaBean
input element
HTML DOM
47. The element containing the current element with no intervening container elements.
setter method
abstract class
parent element
tag
48. Written programs or procedures or rules and associated documentation pertaining to the operation of a computer system and that are stored in read/write memory
Attribute
idempotent
package
W3C DOM
49. Retrieves values in JDBC
session scope
Expression Language
<jsp:useBean> tag
getXXX method
50. 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()
Tomcat
ANT target
parameter