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. Combination of data and operations that can be performed on that data; specification of the data members and methods of the object.
short-circuit boolean evaluation
class
POST
$_REQUEST
2. a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. Development Automation Tool.
Statement
CSS selector
ANT
request parameter
3. An API used to send HTTP requests directly to a web server and load the server response data directly back into the script.
XMLHttpRequest
delimiter
CSS selector
W3C
4. In JSP; makes it possible to easily access application data stored in JavaBeans components (by using characters such as {...} - < - >). Used with JSTL to replace all JAVA
this()
$
Expression language
Apache
5. Done by including portions of SQL statements in a web form entry field in an attempt to get the website to pass a newly formed rogue SQL command to the database
5XX status code
SQL injection attack
radio button
doGet()
6. Manages the behavior and data of the application. Logic and data java class
Javadoc
ResultSet
Model
helper class
7. a single instance of that member shared by all instances of this class
RequestDispatcher
Static class member
Tomcat
<jsp:setProperty>
8. Field that uniquely identifies a record in a table
Connection
JavaBean
primary key
constructor chaining
9. a database view that allows the user to see all fields for one record and enter them one at a time.
form
WAR webxml attribute
parent element
fixed positioning
10. 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
session
parameter
expression scriptlet
11. A set of assertion methods useful for writing tests. Only failed assertions are recorded.
request scope
input element
validator
assertEquals method
12. Method that sets value of the attribute for the request which is retrieved later in either the current JSP page or another JSP page
request.setAttribute
Tomcat
Expression Scriptlet
input element
13. Java class specifically created to enable communication with a particular database management product such as MySQL
request parameter
visibility
AJAX
Driver
14. Does nothing if expected value equals actual value but throws error otherwise
assertEquals()
onreadystatechange
URL
redirect
15. 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
onreadystatechange
template-match
className attribute
16. Handles the error if it does not satisfy the "try" statement
library
Asynchronous method
catch
attribute
17. The act of sending onto another destination
forward
ANT target
short-circuit boolean evaluation
View
18. This Java object encapsulates the information that a servlet sends back to the client
relational database
response
setter
<jsp:useBean> tag
19. Runs tests in ANT; just have <formatter> - <test> and <classpath>
junit task
Caching
record
table
20. 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
cookie
method signature
MS Access
<jsp:setProperty> tag
21. The window or viewing area that displays web pages and if smaller than the web page - scroll bars should be available.
JSP
request parameter
viewport
Java Standard Tag Library
22. 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
JavaBean
JSTL
build.xml
library
23. XHTML element - a class name - an id name
Object-Relational Mapping
<jsp:setProperty> tag
CSS selector
$
24. 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
session scope
package
dependency
validator
25. a JAR file used to distribute a collection of JavaServer Pages and servlets and Java classes and XML files and tag libraries and static Web pages (HTML and related files) that together constitute a Web application.
event bubbling
scriptlet
session scope
WAR file
26. a piece of Java-code embedded in the HTML-like JSP code
PreparedStatement
Static class member
NodeList
scriptlet
27. API for valid HTML and well-formed XML documents. defines logical structure of documents and the way a document is accessed & manipulated
W3C DOM
selector
XMLHttpRequest
private
28. Bean that only survives for current request
constructor
JAR file
foreign key
request Bean scope
29. attributes that are bound to a session as a mean to provide state to a set of related HTTP requests
Controller
session attribute
JUnit test
table
30. Represents a table in a relational database; each instance corresponds to a row in that table
entity
POST
block display
application scope
31. Scope of variables that would be stored in a database
foreign key constraint
session scope
getElementsByTagName
application scope
32. Extension of JAR task with special treatment for files that should end up in WEB-INF directories of the Web Application Archive
war task
rs.next()
classpath element
Tomcat
33. Used for an origin website to send state information to a user's browser and for the browser to return the state information to the origin site.
$_REQUEST
JSTL (JavaServer Pages Standard Tag Library)
assertEquals method
cookie
34. 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.
Driver
record
Caching
relative positioning
35. An XML document whose content describes the structure of other XML documents.
5XX status code
jQuery
XML Schema
Transitional
36. A collection of standard programs and subroutines that are stored and available for immediate use
library
JUnit
scriptlet
visibility
37. A style sheet containing format and layout settings that is stored in a separate file.
request scope
helper class
parent element
external style sheet
38. After a database query is performed - this Java class provides access to the records extracted from the database
URL
W3C DOM
POST
ResultSet
39. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean
JUnit
CSS Property
JSP Expression Language
subclass
40. One or more complete Java statements grouped together logically - <% %>
foreign key
JSP
scriptlet
TCP (Transport Layer Protocol)
41. Sets values for parameters in JDBC
setXXX method
GET
request scope
Expression Scriptlet
42. Channel into a new direction (to a different page)
redirect
assertEquals()
dynamic content
JSP tag
43. jQuery provides a single object with the most important properties.
Event object
primary key
validator
table
44. The character that seperates one field from another in a plain text file.
ResultSet
PreparedStatement
delimiter
classes nested element
45. Clears an area around the content which is inside of the border of an element (length-%)
PreparedStatement
padding
Extreme programming
session
46. This component of the MVC architecture directs client requests to the appropriate resource
event bubbling
Controller
input element
$
47. In JSP; makes it possible to easily access application data stored in JavaBeans components (by using characters such as {...} - < - >). Used with JSTL to replace all JAVA
record
Expression language
MySQL
visibility
48. Method that may involve anything - like storing or updating data or ordering a product or sending E-mail.
relational database
response
document.getElementById()
POST
49. An open source software implementation of the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed under the Java Community Process.
PreparedStatement
document.getElementById()
Tomcat
request
50. Name which includes a directive to a particular class or object in its reference (ex. System.in); use the .(dot) operator
Entity class
javac task
attribute
qualified name