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 mechanism defined in the HTTP specification that makes it possible to serve different versions of a document (a resource representation) at the same URI so that user agents can specify which version fit their capabilities the best.
HttpSession
JavaScript
Content negotiation
parameter
2. Your computer sends a ______ for some file (e.g. "Get me the file 'home.html'") and the web server sends back a response ("Here's the file" - followed by the file itself).
attribute
onreadystatechange
request
inline display
3. This Java object is used by a controller servlet to send the request to the appropriate JSP page
form method
PreparedStatement
RequestDispatcher
Spec comment
4. Associative array that by default contains contents of $_GET and $_POST and $_COOKIE
ServletContext
Node
ANT dependency
$_REQUEST
5. A popular persistence provider used with Java Web servers
unit test
parameter
throws
Hibernate
6. Does nothing if expected value equals actual value but throws error otherwise
parameter
form method
W3C DOM
assertEquals()
7. This provides methods that allow you to retrieve header information as well as information about the client and server.
View
Dynamic web project
request object
ANT target
8. Open-source SQL (Structured Query Language) database implementation. persistence provider.
ANT
where clause
Model
MySQL
9. This part of a CSS rule specifies the set of HTML elements to which a defined style should apply
status code
CSS selector
scriptlet
session
10. 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()
assertEquals()
form
Class.forName()
11. Prints a message and exits the current script
die()
setXXX method
Apache PHP module
Static class member
12. Document that conforms to SML syntax rules (ex. start tag without end tag)
scriptlet
persistence
stateless
well-formed
13. HTTP request method. Parameters are passed to the server through a separate input channel. used for non-dempotent requests.
POST
response
GET
Data Access Object
14. This DTD contains all HTML elements and attributes but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed.
stateless
HTML strict
response
Content negotiation
15. Not intended to be depended on by external code and thus are not part of the interface.
parent element
private
Javadoc
entity
16. If the XML file containing the fragment above were parsed with a W3C DOM parser (as in our programming assignment) the contents of the fragment above would appear as an object satisfying this interface
Element
ANT
refractor
View
17. Rreduces the amount of redundancy in code that may connect to the database (assists in some functionality)
helper class
Content negotiation
assertEquals()
session object
18. Returns a reference to the element by its ID where element is a reference to an Element object or null if an element with the specified ID is not in the document.
session scope
session scope
template-match
document.getElementById()
19. A notation that shows all of the information needed to invoke (or call) the method
application scope
method signature
request.getAttribute
margins
20. String that is the result of submitting an HTTP request/form with query that specifies the name/value pairs
$_SESSION
selector
request parameter
5XX status code
21. Object used for executing a static SQL statement and returning the result it produces
Javadoc
package
5XX status code
Statement
22. Gets the value of a Bean property so that you can display it in a result page.
TextNode
<jsp:getProperty>
package
CSS
23. Web page content that changes or is changed automatically based on database content or user information.
request parameter
dynamic content
foreign key
Controller
24. an object associated with a visitor. Data can be put in this and retrieved from it - much like a Hashtable. A different set of data is kept for each visitor to the site.
PreparedStatement
$
padding
session
25. what an MVC is given by a database
persistence
request Bean scope
request attribute
assertEquals method
26. Technology specifically designed for automated logic testing of Web applications
Model
JUnit
request Bean scope
namespace
27. a set of classes that supports the development of programs
table
class library
WAR file
session Bean scope
28. The element containing the current element with no intervening container elements.
Transitional
session attribute
Model
parent element
29. a database view that allows the user to see all fields for one record and enter them one at a time.
external style sheet
W3C
form
CSS Property
30. Code indicating status that server sends back to you.
session attribute
status code
session scope
AJAX
31. Objects of any type that are explicitly placed on the request object via a call to the setAttribute() method
build.xml
method signature
JavaScript
request attribute
32. Database that represents data as a collection of tables in which all data relationships are represented by common values in related tables
WAR file
assertEquals()
relational database
table
33. Entries in a database
TCP (Transport Layer Protocol)
restricted type
redirect
record
34. Keyword that can be used inside any method to refer to the current object
relational database
protocol layering principle
JSTL (JavaServer Pages Standard Tag Library)
this()
35. Methodology that anticipates need for flexibility. focuses on keeping code simple and testing often and delivering functional bits of application as soon as they're ready. goal is to build upon small client-approved parts as the project progresses as
valid
object
agile programming
foreign key constraint
36. a piece of Java-code embedded in the HTML-like JSP code
JSP
scriptlet
assignment statement
session object
37. Method that may involve anything - like storing or updating data or ordering a product or sending E-mail.
POST
servlet
Controller
padding
38. The act of intercepting requests and responses to transform or use info contained in the requests or responses; can transform response from a servlet or JSP page
auto_increment
RequestDispatcher
POST
filtering
39. After a database query is performed - this Java class provides access to the records extracted from the database
ResultSet
hidden input element
constructor chaining
deprecated
40. Servlet configuration descriptor to use WEB-INF/web.xml; required most of the time in WAR task
<c:forEach> tag
WAR webxml attribute
Asynchronous method
request parameter
41. Design pattern for asynchronous invocation of potentially long-running methods of an object
package
Event object
Entity class
Asynchronous method
42. What to attempt to do; requires a "catch" statement
$
JavaScript
<jsp:getProperty>
try
43. Test class used to test your code automatically
JUnit test
WAR file
getter method
form method
44. This component of the MVC architecture holds business data that will be displayed in the JSP page
View
request attribute
method signature
Model
45. Tells the compiler where to access certain classes
tag
import statement
request attribute
public
46. Gets the value of a Bean property so that you can display it in a result page.
MS Access
short-circuit boolean evaluation
<jsp:getProperty>
classpath element
47. Object reference
$
request parameter
radio button
<c:forEach> tag
48. 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.
padding
Node
session object
HTTP
49. Your computer sends a ______ for some file (e.g. "Get me the file 'home.html'") and the web server sends back a response ("Here's the file" - followed by the file itself).
request
2xx status code
form
getElementsByTagName
50. an individual component of a document
element
Transitional
application scope
XMLHttpRequest