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 POST request results from an HTML form that specifically lists POST as the METHOD and it should be handled by this method.
attribute
doPost()
TextNode
table
2. 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
CSS
abstract class
SQL injection attack
input element
3. 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
setter method
W3C DOM
JavaScript
<jsp:setProperty> tag
4. Marks successful completion of one or more tasks - what you are trying to get to.
JSP tag
entity
ANT target
HTML DOM
5. Method for just getting (retrieving) data.
where clause
request attribute
GET
TextNode
6. The function for the browser to run when the server responds to your request
inline display
4XX status code
onreadystatechange
assertEquals method
7. Well-formed XML document which also conforms to rules of a Document Type Definition (DTD) or an XML Schema (XSD)
Transitional
session object
valid
mysqli
8. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT
Class.forName()
dynamic content
request
build.xml
9. an object that provides an abstract interface to some type of database
radio button
request object
expression scriptlet
Data Access Object
10. A style sheet containing format and layout settings that is stored in a separate file.
setter
Expression Scriptlet
cookie
external style sheet
11. 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
NodeList
filtering
POST
5XX status code
12. Protocol layering is a common technique to simplify designs by dividing them into functional layers each concerned primarily with one task.
Transitional
forwarding
getElementsByTagName
protocol layering principle
13. A collection of standard programs and subroutines that are stored and available for immediate use
status code
jQuery
library
<jsp:useBean> tag
14. XML element that contains other elements and/or attributes
setter method
classes nested element
complex type
event handler
15. Elements that are rendered (displayed) directly in line with the text
inline display
valid
CSS selector
Apache
16. HTTP request method. Parameters are passed to the server through a separate input channel. used for non-dempotent requests.
POST
public
superclass
Connection
17. The exclusive address of a web page. The official term is Uniform Resource Locator.
request
relative positioning
URL
Tomcat
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
filtering
Caching
viewport
parameter
19. This Java object is used by a controller servlet to send the request to the appropriate JSP page
status code
RequestDispatcher
Element
event handler
20. Describes the styles of the page elements - such as their colors and font sizes and background colors.
CSS
class
rs.next()
event handler
21. String that is the result of submitting an HTTP request/form with query that specifies the name/value pairs
POST
submit element
radio button
request parameter
22. Part of class definition that tells control what to do in response to event
Spec comment
PreparedStatement
session attribute
event handler
23. A popular persistence provider used with Java Web servers
margins
Hibernate
Javadoc
JSP
24. If you want to use the same path-like structure for several tasks - you can define them with this
jQuery theme
pathelement element
redirect
Java Standard Tag Library
25. Java Server Page - web page coding standard that allows developers to dynamically generate web pages in response to user request
scriptlet
junit task
JSP
entity
26. This component of JSP pages replaces the above tag and allows more sophisticated manipulation of values from the bean
doPost()
Structured Query Language
Java Standard Tag Library
document.getElementById()
27. Keyword that can be used inside any method to refer to the current object
this()
request object
delimiter
AJAX
28. One or more complete Java statements grouped together logically - <% %>
request Bean scope
scriptlet
abstract class
JSP Expression Language
29. Bean that only survives for current request
request scope
dependency
forward
session scope
30. Renders the model into a form suitable for interaction - typically a user interface element. HTML and CSS
primary key
$
View
JUnit
31. ${myBean.name}... Java code that evaluates to a value
dynamic content
Expression Scriptlet
Controller
foreign key
32. a piece of Java-code embedded in the HTML-like JSP code
<jsp:useBean>
scriptlet
session object
doPost()
33. Programming language designed for managing data in relational database management systems
JSP tag
Structured Query Language
assertEquals method
DriverManager
34. 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.
HttpSession
hidden input element
parameter
W3C
35. 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
persistence
<jsp:getProperty>
<jsp:getProperty>
package
36. Enables a subclass to call the methods and fields of its superclass
super()
test method
absolute positioning
URL
37. Layer below HTTP. HTTP accesses this. Reliable data stream service. The Internet's primary transport protocol; provides a point-to-point channel for applications that require reliable communications
padding
JavaBean
external style sheet
TCP (Transport Layer Protocol)
38. Set of data elements (values) that is organized using a model of vertical columns (identified by their name) and horizantal rows
JSP tag
XMLHttpRequest
table
relative positioning
39. In the XML fragment <node id="7" x_pos="330" ypos="450">BasicVersity</node> - id and x_pos and y_pos fill this role
selector
W3C
Attribute
class library
40. Used to insert Java values directly into the output. It has the following form: <%= Java expression %>
<c:forEach> tag
expression scriptlet
super()
NodeList
41. a single instance of that member shared by all instances of this class
request parameter
Element
block display
Static class member
42. Specifies what aspect of the element you are choosing to style.(width - color - bg-color)
padding
getter method
CSS property
radio button
43. This component of JSP pages replaces the above tag and allows more sophisticated manipulation of values from the bean
field
W3C DOM
JSTL
ResultSet
44. Can't attempt one task until the previous task is successful
Servlet
javac task
jQuery theme
dependency
45. This is used to select user information.
W3C DOM
input element
JSP Expression Language
session scope
46. Something that is not included in a rule or group or list or that does not behave in the expected way
CSS selector
form action
Exception
ANT target
47. These auto-generated methods allow us to change data members of a Java class
GET
constructor
tag
setter method
48. Ascripting language used to make HTML pages interactive
expression scriptlet
JavaScript
external style sheet
SQL injection attack
49. Returns a list of elements with the given tag name.
getElementsByTagName
JAR file
session scope
foreign key
50. Field that uniquely identifies a record in a table
request object
JUnit
primary key
template