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. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean
stateless
Spec comment
dependency
Expression Language
2. One or more complete Java statements grouped together logically - <% %>
scriptlet
4XX status code
request.setAttribute
constructor
3. What to attempt to do; requires a "catch" statement
package
2xx status code
try
static content
4. Used to pass data to a server. can contain input elements like text fields and checkboxes and radio-buttons and submit buttons and more. It can also contain select lists and textarea and fieldset and legend and label elements.
method signature
form
Element
fixed positioning
5. 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
Structured Query Language
DriverManager
doPost()
6. Description of a set of requirements to be satisfied by a method
Spec comment
Static class member
Structured Query Language
request.setAttribute
7. 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
response
stateless
DTD
request parameter
8. Objects of any type that are explicitly placed on the request object via a call to the setAttribute() method
Servlet
request attribute
persistence
Expression Scriptlet
9. Ascripting language used to make HTML pages interactive
weakly typed language
MS Access
JavaScript
private
10. Used to affect a certain portion of your material. They utilize the on/off approach.
Hibernate
short-circuit boolean evaluation
container
validator
11. Generic name for a Java class that manages data on behalf of a JSP page
attribute
JavaBean
box model
getXXX method
12. Scope of variables that would be stored in a database
Exception
application scope
getter method
response
13. Runs tests in ANT; just have <formatter> - <test> and <classpath>
Element
<jsp:useBean>
Entity class
junit task
14. 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
Expression language
ANT task
View
request.setAttribute
15. Part of class definition that tells control what to do in response to event
getElementsByTagName
Tomcat
event handler
inline display
16. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean
JSP Expression Language
agile programming
Node
assertEquals()
17. Computer stops examining comparisons as soon as it determines the final outcome
short-circuit boolean evaluation
PreparedStatement
ANT
MySQL
18. A special kind of variable used in a subroutine to refer to one of the pieces of data provided as input to the subroutine
where clause
parameter
Apache
Java class
19. 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).
Exception
CSS
2xx status code
request
20. Handles the error if it does not satisfy the "try" statement
request attribute
radio button
catch
setter
21. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
JSP tag
ANT target
relational database
validator
22. a database view that allows the user to see all fields for one record and enter them one at a time.
auto_increment
form
forward
<jsp:useBean> tag
23. Record consisting of one or more fields that are links to other nodes and a data field
Node
jQuery
id attribute
public
24. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT
auto_increment
build.xml
JUnit
throws
25. This term describes an action for which performing the action twice has the same effect as performing it once
idempotent
CGI variable
session object
relational database
26. One or more set of rules in an XSL style sheet
template
5XX status code
Controller
MS Access
27. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute
field
RequestDispatcher
helper class
<jsp:useBean>
28. HTTP request method. Parameters are encoded in URL. used for idempotent requests.
CSS
JAR file
GET
SQL injection attack
29. This Java class is used in JDBC pages to execute SQL statements and and provides protection against SQL scripting attacks
PreparedStatement
2xx status code
request Bean scope
Driver
30. 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
hidden input element
helper class
agile programming
request Bean scope
31. Content- Padding - Border- Margin
ResultSet
Entity class
box model
Connection
32. A collection of standard programs and subroutines that are stored and available for immediate use
auto_increment
library
radio button
session scope
33. what an MVC is given by a database
event bubbling
visibility
persistence
JUnit
34. This DTD contains all HTML elements and attributes but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed.
table
JUnit
JavaBean
HTML strict
35. Set of data elements (values) that is organized using a model of vertical columns (identified by their name) and horizantal rows
JAR file
ServletContext
table
JUnit test
36. Name which includes a directive to a particular class or object in its reference (ex. System.in); use the .(dot) operator
Javadoc
qualified name
static content
Expression language
37. 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.
GET
HTTP
constructor
HttpSession
38. The next generation of HTML and is a hybrid between HTML and XML. XML was designed to describe data. HTML was designed to display data.
CSS property
XHTML (Extensible Hypertext Mark-up Language)
POST
TextNode
39. Combination of data and operations that can be performed on that data; specification of the data members and methods of the object.
visibility
setter
class
block display
40. Bean that only survives for current request
5XX status code
persistence
Class.forName()
request Bean scope
41. Field that uniquely identifies a record in a table
primary key
<c:forEach> tag
Java Standard Tag Library
agile programming
42. Tells the compiler where to access certain classes
CSS selector
package
import statement
DriverManager
43. XML element that contains other elements and/or attributes
DriverManager
PreparedStatement
complex type
filtering
44. Causes the chosen class to be dynamically loaded (at runtime)
request attribute
<jsp:useBean> tag
parent element
Class.forName()
45. a test of each individual component (often a program) to ensure that it is as defect-free as possible
agile programming
unit test
View
scriptlet
46. Sets a property value or values in a Bean.
<jsp:setProperty>
forwarding
ServletContext
relational database
47. Represents a table in a relational database; each instance corresponds to a row in that table
Static class member
request Bean scope
entity
View
48. Specific style elements such as background-color and font-size fill this role in CSS
onreadystatechange
CSS Property
session Bean scope
entity
49. Used to amplify tags
attribute
JSTL
W3C DOM
Session
50. 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.
rs.next()
response
static content
document.getElementById()