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. Field that uniquely identifies a record in a table
primary key
Asynchronous method
ANT task
abstract class
2. This component of the MVC architecture holds business data that will be displayed in the JSP page
setXXX method
JSP
ServletContext
Model
3. Method that tests the program
Controller
fail()
JUnit
test method
4. Retrieves values in JDBC
JSTL (JavaServer Pages Standard Tag Library)
getXXX method
DTD
JAR file
5. This Java class outputs the HTML content for a dynamically generated Web page
deprecated
W3C DOM
servlet
private
6. allows client software to communicate with database server software
Connection
redirect
Transitional
request scope
7. A set of assertion methods useful for writing tests. Only failed assertions are recorded.
form action
<jsp:useBean>
test method
assertEquals method
8. After a database query is performed this Java class provides access to the records extracted from the database
ResultSet
radio button
GET
<c:forEach> tag
9. a set of classes that supports the development of programs
parent element
HTML DOM
scriptlet
class library
10. what an MVC is given by a database
entity
persistence
stateless
JUnit
11. Something that is not included in a rule or group or list or that does not behave in the expected way
Exception
scriptlet
Cascade delete
URL
12. 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
DriverManager
PreparedStatement
SQL injection attack
DriverManager
13. Advances the record cursor by one record. Returns a boolean value indicating success or failure. Failure occurs if the cursor moved past the last record.
rs.next()
tag
scriptlet
Controller
14. 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
absolute positioning
Content negotiation
Element
Servlet
15. Specifies how to send form-data (the form-data is sent to the page specified in the action attribute). POST or GET
form method
helper class
application scope
Entity class
16. 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.
onreadystatechange
entity
WAR file
HTTP
17. Defines objects which can connect Java applications to a JDBC Driver
Statement
DriverManager
Transitional
abstract class
18. Text boxes and radio buttons and check boxes in a Web page are instances of this more general type of element
test method
input element
string interpolation
form
19. Single piece of info; record is one complete set of these
scriptlet
record
NodeList
field
20. Accessor whose purpose is to return the value stored in an instance variable.
JavaScript
ANT dependency
event bubbling
getter method
21. Specific style elements such as background-color and font-size fill this role in CSS
CSS Property
ResultSet
Driver
Expression language
22. Certain look for a jquery element
jQuery theme
superclass
mysqli
junit task
23. Runs tests in ANT; just have <formatter> - <test> and <classpath>
constructor chaining
junit task
Asynchronous method
XHTML (Extensible Hypertext Mark-up Language)
24. Class of agile programming in which "waterfall" loop is compressed into shorter loops. each iteration adds functionality & client is responsible for acceptance testing.
parameter
JUnit
Extreme programming
id attribute
25. The window or viewing area that displays web pages and if smaller than the web page - scroll bars should be available.
Element
Servlet
viewport
XPATH
26. XHTML element - a class name - an id name
CSS property
where clause
session attribute
CSS selector
27. This is used to select user information.
input element
string interpolation
CSS selector
response
28. Can't attempt one task until the previous task is successful
Entity class
event bubbling
dependency
Tomcat
29. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean
setter method
JSP Expression Language
doPost()
View
30. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT
XMLHttpRequest
build.xml
doPost()
scriptlet
31. String that is the result of submitting an HTTP request/form with query that specifies the name/value pairs
valid
AJAX
request parameter
padding
32. Part of class definition that tells control what to do in response to event
throws
box model
Element
event handler
33. 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).
JSP
protocol layering principle
CSS selector
response
34. API for valid HTML and well-formed XML documents. defines logical structure of documents and the way a document is accessed & manipulated
W3C DOM
public
margins
Servlet
35. What to attempt to do; requires a "catch" statement
try
selector
hidden input element
helper class
36. The window or viewing area that displays web pages and if smaller than the web page - scroll bars should be available.
viewport
JSP Expression Language
jQuery
persistence
37. A mechanism defined in the HTTP specification that makes it possible to serve different versions of a document (a resource representation) at the same URI so that user agents can specify which version fit their capabilities the best.
Attribute
Content negotiation
RequestDispatcher
Caching
38. Attribute that can be used to generate a unique identity for new rows
package
XMLHttpRequest
well-formed
auto_increment
39. A collection of standard programs and subroutines that are stored and available for immediate use
Asynchronous method
relational database
JSTL
library
40. The address of a website. Uniform Resource locator.
assertEquals()
unit test
JSTL (JavaServer Pages Standard Tag Library)
URL
41. a class whose primary purpose is to define an interface deferring some or all of its implementations to subclasses. Cannot be instantiated
record
abstract class
table
application scope
42. Sets a property value or values in a Bean.
<jsp:setProperty>
JAR file
event bubbling
Session
43. 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
classes nested element
persistence
object
44. a database view that allows the user to see all fields for one record and enter them one at a time.
relative positioning
constructor chaining
form
CSS selector
45. 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.
throws
JSP tag
request object
helper class
46. A special kind of variable used in a subroutine to refer to one of the pieces of data provided as input to the subroutine
HTTP
parameter
$
relational database
47. This component of JSP pages replaces the above tag and allows more sophisticated manipulation of values from the bean
View
form
JSTL
Spec comment
48. JavaScript library that emphasizes interaction between JavaScript and HTML.
subclass
jQuery
attribute
Driver
49. Code indicating status that server sends back to you.
HTML DOM
DriverManager
Apache
status code
50. Specifies what aspect of the element you are choosing to style.(width - color - bg-color)
DriverManager
CSS property
Driver
<jsp:useBean>