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. an object that provides an abstract interface to some type of database
Java class
Data Access Object
refractor
session scope
2. Scope of variables that would be stored in a database
Controller
PreparedStatement
application scope
CSS property
3. Success
request object
id attribute
forward
2xx status code
4. 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
static content
getXXX method
XMLHttpRequest
session scope
5. String that is the result of submitting an HTTP request/form with query that specifies the name/value pairs
GET
request parameter
Object-Relational Mapping
WAR file
6. Specific style elements such as background-color and font-size fill this role in CSS
session attribute
NodeList
CSS Property
Cascade delete
7. Combination of data and operations that can be performed on that data; specification of the data members and methods of the object.
tag
entity
class
JSTL
8. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute
onreadystatechange
DriverManager
container
<jsp:useBean>
9. This is used to select user information.
input element
Attribute
visibility
JUnit test
10. Object used for executing a static SQL statement and returning the result it produces
NodeList
HTTP
die()
Statement
11. The GET and HEAD are ____ methods and SHOULD NOT have the significance of taking an action other than retrieval.
agile programming
Expression language
safe
Content negotiation
12. 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.
TCP (Transport Layer Protocol)
padding
throws
getElementsByTagName
13. API for valid HTML and well-formed XML documents. defines logical structure of documents and the way a document is accessed & manipulated
attribute
W3C DOM
request attribute
box model
14. This Java class is used in JDBC pages to execute SQL statements and provides protection against SQL scripting attacks
CSS property
auto_increment
PreparedStatement
request scope
15. Elements not displayed by the browser.
subclass
Driver
hidden input element
redirect
16. 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.
form
Hibernate
POST
event bubbling
17. Servlet configuration descriptor to use WEB-INF/web.xml; required most of the time in WAR task
WAR webxml attribute
4XX status code
Dynamically installed event handler
unit test
18. a constructor calls another constructor in its class using the ": this()" designation
idempotent
build.xml
constructor chaining
ServletContext
19. Controlling the exact location of text and pictures on a web page by specifying coordinates on the page.
absolute positioning
foreign key
library
validator
20. 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
class
dynamic content
relative positioning
Element
21. Sets a property value or values in a Bean.
container
URL
<jsp:setProperty>
short-circuit boolean evaluation
22. Does nothing if expected value equals actual value but throws error otherwise
Statement
Model
assertEquals()
session Bean scope
23. Channel into a new direction (to a different page)
<jsp:useBean>
ServletContext
getElementsByTagName
redirect
24. 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.
dependency
ANT
assignment statement
delimiter
25. a class with a default constructor that exposes properties through its (get) and (set) methods - Generic name for a Java class that manages data on behalf of a JSP page
XML Schema
Expression Language
JavaBean
<jsp:setProperty>
26. Entries in a database
HTTP
ANT dependency
padding
record
27. Specifies that the Node will contain text elements
TextNode
foreign key constraint
throws
doPost()
28. Short for World Wide Web Consortium. It is the international governing body for the development of platform independent web standards and specifications.
template
agile programming
W3C
GET
29. A POST request results from an HTML form that specifically lists POST as the METHOD and it should be handled by this method.
doPost()
test method
RequestDispatcher
test method
30. The GET and HEAD are ____ methods and SHOULD NOT have the significance of taking an action other than retrieval.
safe
NodeList
foreign key constraint
try
31. Object reference
static content
$
status code
field
32. Object created by servlet container for Servlets to access environment information and provide ability for Servlet to bind object attributes to the invironment scope by name
request
DriverManager
parent element
ServletContext
33. An API used to send HTTP requests directly to a web server and load the server response data directly back into the script.
JSP Expression Language
AJAX
XMLHttpRequest
session object
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)
hidden input element
padding
weakly typed language
HttpSession
35. Bean that survives for the life of the HTTP session
session Bean scope
2xx status code
getXXX method
JavaBean
36. A program that extracts comments from Java Source files and produces documentation files in HTML.
request Bean scope
request scope
filtering
Javadoc
37. Name which includes a directive to a particular class or object in its reference (ex. System.in); use the .(dot) operator
qualified name
setXXX method
parent element
private
38. Marks successful completion of one or more tasks - what you are trying to get to.
CSS
ANT target
JavaBean
Dynamic web project
39. Specifies that the Node will contain text elements
TextNode
primary key
HttpSession
build.xml
40. Generic name for a Java class that manages data on behalf of a JSP page
viewport
HttpSession
$
JavaBean
41. This XML processing technology is used to identify sets of elements - such as all the <title> elements that occur as children of <item> elements
scriptlet
qualified name
setter
XPATH
42. JavaScript library that emphasizes interaction between JavaScript and HTML.
session scope
jQuery
getElementsByTagName
classpath element
43. 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).
MS Access
response
JSTL
DriverManager
44. Method that tests the program
cookie
selector
test method
margins
45. The function for the browser to run when the server responds to your request
jQuery
application scope
onreadystatechange
session object
46. Sets values for parameters in JDBC
JSP tag
setXXX method
response
HttpSession
47. Name of the tag to which the style declarations have been assigned
selector
JSP tag
setter
constructor chaining
48. 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.
rs.next()
agile programming
HttpSession
URL
49. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute
<jsp:useBean>
<c:forEach> tag
relative positioning
POST
50. Type of method that returns the state of one field in an object.
sequence
JUnit test
getter
Tomcat