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. This Java class is used in JDBC pages to execute SQL statements and and provides protection against SQL scripting attacks
JavaScript
PreparedStatement
getter method
getter
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).
foreign key constraint
CSS selector
private
request
3. Specifies that the child elements must appear in an order
Element
Transitional
sequence
WAR file
4. The exclusive address of a web page. The official term is Uniform Resource Locator.
URL
MS Access
assignment statement
event handler
5. JavaScript library that emphasizes interaction between JavaScript and HTML.
request Bean scope
jQuery
static content
javac task
6. 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()
XML Schema
JUnit
cookie
7. This component of the MVC architecture directs client requests to the appropriate resource
relative positioning
Exception
Controller
PreparedStatement
8. Prints a message and exits the current script
setter
throws
tag
die()
9. 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
event bubbling
JavaBean
onreadystatechange
try
10. Single piece of info; record is one complete set of these
test method
field
forward
ResultSet
11. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
JSP tag
Class.forName()
<c:if>
HttpSession
12. A set of assertion methods useful for writing tests. Only failed assertions are recorded.
W3C DOM
fixed positioning
tag
assertEquals method
13. Tells a Browser how and where to display text and images on a web page.
tag
session
session Bean scope
viewport
14. Marks successful completion of one or more tasks - what you are trying to get to.
element
jQuery
foreign key constraint
ANT target
15. Relational database driver used in PHP programming language to provide an interface with MYSQL databases
mysqli
template-match
request.getAttribute
auto_increment
16. Enables a subclass to call the methods and fields of its superclass
viewport
request attribute
form method
super()
17. Servlet configuration descriptor to use WEB-INF/web.xml; required most of the time in WAR task
margins
View
XHTML (Extensible Hypertext Mark-up Language)
WAR webxml attribute
18. 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
Expression language
Apache PHP module
RequestDispatcher
19. The GET and HEAD are ____ methods and SHOULD NOT have the significance of taking an action other than retrieval.
safe
JSP tag
Apache PHP module
PreparedStatement
20. 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
<jsp:setProperty>
super()
session scope
JavaScript
21. Objects of any type that are explicitly placed on the request object via a call to the setAttribute() method
getXXX method
request attribute
inline display
string interpolation
22. allows client software to communicate with database server software
field
Connection
request attribute
response
23. Object associated with a visitor; similar to a Hashtable; different set of data kept for each visitor to the site
className attribute
Servlet
Session
superclass
24. an object that provides an abstract interface to some type of database
Element
visibility
Data Access Object
Expression Language
25. 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.
className attribute
agile programming
assignment statement
block display
26. In the relational database model is a collection of similar entities. An entity is represented by
try
Entity class
HTML DOM
<jsp:getProperty>
27. Java classes inside a package that have already been compiled into byte code.
form
onreadystatechange
JAR file
refractor
28. Insert a string or replace a variable with its value; makes string formatting and specifying contents more intuitive
validator
dynamic content
JSP tag
string interpolation
29. A software program that checks an HTML document for syntactical errors.
TCP (Transport Layer Protocol)
session scope
Extreme programming
validator
30. What to attempt to do; requires a "catch" statement
try
form
redirect
id attribute
31. Java Server Page - web page coding standard that allows developers to dynamically generate web pages in response to user request
ResultSet
event handler
JSP
<jsp:setProperty> tag
32. Set of data elements (values) that is organized using a model of vertical columns (identified by their name) and horizantal rows
private
static content
getter method
table
33. Name of the tag to which the style declarations have been assigned
object
selector
class library
request scope
34. Primary key of one table that appears as an attribute in another table and acts to provide a logical relationship between the two tables
JSTL
foreign key
Statement
cookie
35. a single instance of that member shared by all instances of this class
simple type
Tomcat
foreign key
Static class member
36. associative array containing session variables available to the current script
$_SESSION
foreign key
refractor
Class.forName()
37. Scope of variables that would be stored in a database
constructor chaining
ANT target
application scope
agile programming
38. 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.
TCP (Transport Layer Protocol)
JavaScript
relational database
relative positioning
39. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
JSP tag
class
document.getElementById()
WAR file
40. Class that extends the attributes and methods of a superclass
subclass
ANT dependency
HTML strict
ServletContext
41. Primary key of one table that appears as an attribute in another table and acts to provide a logical relationship between the two tables
subclass
static content
foreign key
input element
42. 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.
JSTL
ANT target
cookie
<jsp:useBean>
43. In the XML fragment <node id="7" x_pos="330" ypos="450">Smallville</node> - node fills this role
Expression language
parameter
className attribute
WAR webxml attribute
44. In this handler use event object to determine event target
servlet
CGI variable
entity
Dynamically installed event handler
45. A special type of button in your forms that will perform the form's set action.
submit element
ANT task
session scope
cookie
46. This term describes an action for which performing the action twice has the same effect as performing it once
GET
POST
method signature
idempotent
47. 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
SQL injection attack
AJAX
dynamic content
jQuery theme
48. A notation that shows all of the information needed to invoke (or call) the method
table
form
method signature
W3C
49. 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.
HTTP
form action
cookie
Model
50. XHTML element - a class name - an id name
ResultSet
tag
CSS selector
GET