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. Technology specifically designed for automated logic testing of Web applications
session attribute
cookie
JUnit
ANT dependency
2. a set of classes that supports the development of programs
request
HTML strict
class library
DTD
3. Certain look for a jquery element
HttpSession
entity
jQuery theme
XML Schema
4. Specific style elements such as background-color and font-size fill this role in CSS
status code
hidden input element
CSS Property
build.xml
5. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute
Servlet
Session
<jsp:useBean>
URL
6. reduces the amount of redundancy in code that may connect to the database (assists in some functionality)
Tomcat
<jsp:useBean>
entity
helper class
7. Requires every value of one attribute of a table to exist as a value of another attribute in a different relation (table)
session scope
ANT target
hidden input element
foreign key constraint
8. Attribute used to associate a template with an XML element; also used to define a template for the entire XML document
Cascade delete
SQL injection attack
session Bean scope
template-match
9. Scope of variables that would be stored in a database
valid
application scope
<jsp:getProperty>
getElementsByTagName
10. This component of the MVC architecture holds business data that will be displayed in the JSP page
ANT
ResultSet
Model
doGet()
11. Elements of the programming language which have essentially evolved out of use/style. Example of this is the java.awt package and its replacement javax.swing
deprecated
HTML DOM
URL
Java class
12. 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
JSTL
TCP (Transport Layer Protocol)
Dynamic web project
package
13. This DTD contains all HTML elements and attributes but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed.
HTML strict
response
deprecated
table
14. 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
JSTL (JavaServer Pages Standard Tag Library)
stateless
setter method
attribute
15. Attribute that can be used to generate a unique identity for new rows
session scope
persistence
auto_increment
<c:if>
16. This modifier on a Java class member directs that the member should have a single value that is shared by all instances of this class
Class.forName()
static content
request attribute
parent element
17. a constructor calls another constructor in its class using the ": this()" designation
constructor chaining
margins
parameter
tag
18. Process the tag contents if a test condition is satisfied
4XX status code
where clause
<c:if>
request parameter
19. These auto-generated methods allow us to change data members of a Java class
request scope
WAR webxml attribute
POST
setter method
20. Contain data about transaction between browser and server (IP address etc.)
CGI variable
<jsp:useBean> tag
session object
relative positioning
21. Requires every value of one attribute of a table to exist as a value of another attribute in a different relation (table)
JUnit test
foreign key constraint
method signature
complex type
22. A deletion that triggers another deletion. A cascade delete can be specified for an entity bean that has container-managed persistence.
method signature
Cascade delete
Statement
4XX status code
23. Does nothing if expected value equals actual value but throws error otherwise
session scope
assertEquals()
Statement
<jsp:getProperty>
24. 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
table
session object
Element
event handler
25. An XML document whose content describes the structure of other XML documents.
XML Schema
document.getElementById()
throws
event handler
26. Bean that only survives for current request
request scope
restricted type
foreign key constraint
visibility
27. A blueprint for creating objects of a certain kind; defines data and methods.
Object-Relational Mapping
valid
Spec comment
Java class
28. The act of sending onto another destination
CSS selector
form method
qualified name
forward
29. Controlling the exact location of text and pictures on a web page by specifying coordinates on the page.
cookie
XHTML (Extensible Hypertext Mark-up Language)
absolute positioning
<jsp:getProperty>
30. Describes the styles of the page elements - such as their colors and font sizes and background colors.
private
Apache PHP module
CSS
Servlet
31. Text boxes and radio buttons and check boxes in a Web page are instances of this more general type of element
JSP
Cascade delete
input element
Model
32. Entries in a database
record
<c:forEach> tag
Entity class
setXXX method
33. Accessor whose purpose is to return the value stored in an instance variable.
POST
CSS
getter method
<jsp:useBean> tag
34. Defines objects which can connect Java applications to a JDBC Driver
JSTL
W3C DOM
class library
DriverManager
35. Type of method that changes the state of one field in an object.
Structured Query Language
HTML DOM
setter
scriptlet
36. Short for World Wide Web Consortium. It is the international governing body for the development of platform independent web standards and specifications.
W3C
subclass
session Bean scope
setter
37. These auto-generated methods allow us to change data members of a Java class
Model
JSTL (JavaServer Pages Standard Tag Library)
W3C DOM
setter method
38. One or more complete Java statements grouped together logically - <% %>
scriptlet
try
Caching
Spec comment
39. an object that provides an abstract interface to some type of database
parameter
Data Access Object
scriptlet
Driver
40. Specification about a tag (first ordered list: 1-2-3 or A-B-C)
attribute
JavaScript
Controller
getter method
41. This part of a CSS rule specifies the set of HTML elements to which a defined style should apply
HTML strict
setter method
PreparedStatement
CSS selector
42. jQuery provides a single object with the most important properties.
Event object
form
SQL injection attack
DriverManager
43. Enables a subclass to call the methods and fields of its superclass
NodeList
idempotent
superclass
super()
44. String that is the result of submitting an HTTP request/form with query that specifies the name/value pairs
request parameter
session object
element
public
45. Insert a string or replace a variable with its value; makes string formatting and specifying contents more intuitive
margins
$
string interpolation
library
46. A pseudo-method that creates an object. Instance methods with the same name as their class. are invoked using the new keyword.
View
doGet()
2xx status code
constructor
47. Clears an area around the content which is inside of the border of an element (length-%)
Java Standard Tag Library
<jsp:useBean>
padding
static content
48. Extension of JAR task with special treatment for files that should end up in WEB-INF directories of the Web Application Archive
war task
2xx status code
Spec comment
$
49. A web server software notable for playing a key role in the initial growth of the World Wide Web.
super()
Apache
try
JSP Expression Language
50. This generic technique (not a Java class) associates Java objects with records in a database
getter
request
request.setAttribute
Object-Relational Mapping