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. Does nothing if expected value equals actual value but throws error otherwise
assertEquals()
Model
session scope
JSP
2. Process the tag contents if a test condition is satisfied
<c:if>
this()
classes nested element
JavaBean
3. Bean that only survives for current request
rs.next()
request scope
WAR file
JAR file
4. Specifies constraints and information about the values of attributes or text-only elements
JSTL (JavaServer Pages Standard Tag Library)
auto_increment
library
simple type
5. Bean that only survives for current request
RequestDispatcher
setXXX method
request scope
XHTML (Extensible Hypertext Mark-up Language)
6. reduces the amount of redundancy in code that may connect to the database (assists in some functionality)
helper class
HTTP
classpath element
import statement
7. associative array containing session variables available to the current script
Data Access Object
unit test
$_SESSION
jQuery theme
8. 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).
Caching
rs.next()
package
response
9. Web page content that changes or is changed automatically based on database content or user information.
Node
try
dynamic content
inline display
10. Objects of any type that are explicitly placed on the request object via a call to the setAttribute() method
template
getter
event handler
request attribute
11. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
test method
JSP tag
$_REQUEST
javac task
12. XHTML element - a class name - an id name
CSS selector
$
ResultSet
package
13. A program that extracts comments from Java Source files and produces documentation files in HTML.
Java Standard Tag Library
protocol layering principle
try
Javadoc
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
setter method
session attribute
Expression language
<jsp:getProperty>
15. Attribute that can be used to generate a unique identity for new rows
HTML DOM
library
auto_increment
template
16. Text boxes and radio buttons and check boxes in a Web page are instances of this more general type of element
input element
selector
parent element
block display
17. Attribute used to associate a template with an XML element; also used to define a template for the entire XML document
Dynamically installed event handler
inline display
Element
template-match
18. Specifies whether or not an element is visible
visibility
restricted type
class library
HTTP
19. Channel into a new direction (to a different page)
redirect
Entity class
W3C DOM
CSS property
20. An action that ANT will attempt to do
ANT task
DTD
session scope
superclass
21. A web server software notable for playing a key role in the initial growth of the World Wide Web.
string interpolation
Apache
<jsp:useBean> tag
Java class
22. Manages the behavior and data of the application. Logic and data java class
JUnit
JSP
Model
request scope
23. This component of the MVC architecture directs client requests to the appropriate resource
Controller
protocol layering principle
<jsp:getProperty>
Asynchronous method
24. a set of classes that supports the development of programs
session object
class library
getElementsByTagName
JavaScript
25. Tag that gives you the option to iterate over arrays and collections
event handler
margins
JSP tag
<c:forEach> tag
26. 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.
constructor
assignment statement
helper class
<c:forEach> tag
27. a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. Development Automation Tool.
JSP tag
assignment statement
ANT
Structured Query Language
28. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean
JavaBean
Expression Language
View
foreign key constraint
29. The element containing the current element with no intervening container elements.
parent element
id attribute
application scope
inline display
30. A project that contains resources for a Web application with dynamic content such as servlets or JavaServer Pages (JSP) files
Dynamic web project
TextNode
delimiter
unit test
31. Marks successful completion of one or more tasks - what you are trying to get to.
ANT target
relative positioning
POST
private
32. Type of method that returns the state of one field in an object.
getter
relative positioning
W3C
scriptlet
33. Not intended to be depended on by external code and thus are not part of the interface.
refractor
ANT
RequestDispatcher
private
34. Controlling the exact location of text and pictures on a web page by specifying coordinates on the page.
Controller
id attribute
table
absolute positioning
35. Method that retrieves the values corresponding to the given attribute name that is set through setAttribute()
Node
scriptlet
request.getAttribute
URL
36. Object used for executing a static SQL statement and returning the result it produces
<c:forEach>
Statement
Exception
Dynamically installed event handler
37. This is used to select user information.
build.xml
input element
library
rs.next()
38. Ascripting language used to make HTML pages interactive
JavaScript
className attribute
JAR file
superclass
39. A collection of standard programs and subroutines that are stored and available for immediate use
table
library
catch
well-formed
40. 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
scriptlet
HTML strict
box model
41. a constructor calls another constructor in its class using the ": this()" designation
POST
field
constructor chaining
Node
42. This DTD contains all HTML elements and attributes but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed.
JUnit test
HTML strict
throws
CSS selector
43. Sets a property value or values in a Bean.
constructor chaining
5XX status code
request
<jsp:setProperty>
44. Java Server Page - web page coding standard that allows developers to dynamically generate web pages in response to user request
Dynamic web project
JSP
jQuery theme
abstract class
45. Open-source SQL (Structured Query Language) database implementation. persistence provider.
CSS property
abstract class
session object
MySQL
46. Technology specifically designed for automated logic testing of Web applications
JUnit
Tomcat
expression scriptlet
View
47. In the XML fragment <node id="7" x_pos="330" ypos="450">BasicVersity</node> - id and x_pos and y_pos fill this role
Expression Scriptlet
package
Attribute
relational database
48. a class whose primary purpose is to define an interface deferring some or all of its implementations to subclasses. Cannot be instantiated
response
POST
request.getAttribute
abstract class
49. 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
primary key
SQL injection attack
form
TCP (Transport Layer Protocol)
50. allows client software to communicate with database server software
Connection
primary key
session object
JSTL