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. The data transfer protocol used on the World Wide Web. About requests and responses. Uses TCP.
HTTP
relative positioning
session
auto_increment
2. 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
Tomcat
HttpSession
ANT
3. In the XML fragment <node id="7" x_pos="330" ypos="450">Smallville</node> - node fills this role
TextNode
session attribute
className attribute
Event object
4. 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.
ANT target
HttpSession
constructor
PreparedStatement
5. A POST request results from an HTML form that specifically lists POST as the METHOD and it should be handled by this method.
doPost()
POST
foreign key constraint
restricted type
6. Content- Padding - Border- Margin
<c:forEach> tag
complex type
Data Access Object
box model
7. 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.
Extreme programming
getter method
assignment statement
W3C DOM
8. A project that contains resources for a Web application with dynamic content such as servlets or JavaServer Pages (JSP) files
foreign key
assertEquals method
refractor
Dynamic web project
9. Element that will be completed as part of a parent element/task
form
Event object
request attribute
classes nested element
10. 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
stateless
event bubbling
11. Class that extends the attributes and methods of a superclass
subclass
constructor
session scope
attribute
12. A pseudo-method that creates an object. Instance methods with the same name as their class. are invoked using the new keyword.
Model
where clause
constructor
viewport
13. In this handler use event object to determine event target
document.getElementById()
Dynamically installed event handler
qualified name
HTTP
14. In the XML fragment <node id="7" x_pos="330" ypos="450">Smallville</node> - id fills this role
persistence
$_SESSION
id attribute
POST
15. A special kind of variable used in a subroutine to refer to one of the pieces of data provided as input to the subroutine
parameter
element
foreign key
this()
16. Something that is not included in a rule or group or list or that does not behave in the expected way
<jsp:setProperty>
Exception
<jsp:setProperty> tag
<c:if>
17. 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
5XX status code
session scope
request Bean scope
HTML DOM
18. Used to affect a certain portion of your material. They utilize the on/off approach.
container
2xx status code
WAR file
getElementsByTagName
19. 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
<c:forEach> tag
Element
abstract class
die()
20. Bean that only survives for current request
request scope
Expression Scriptlet
Connection
import statement
21. Gets the value of a Bean property so that you can display it in a result page.
JavaScript
attribute
entity
<jsp:getProperty>
22. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
classes nested element
JSP tag
CSS Property
HTML strict
23. The data transfer protocol used on the World Wide Web. About requests and responses. Uses TCP.
rs.next()
HTTP
Controller
entity
24. Test class used to test your code automatically
JUnit test
setXXX method
request object
static content
25. Field that uniquely identifies a record in a table
JAR file
namespace
primary key
XMLHttpRequest
26. Object reference
$
viewport
refractor
request.setAttribute
27. Database that represents data as a collection of tables in which all data relationships are represented by common values in related tables
request attribute
JSP tag
relational database
CSS selector
28. 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.
safe
complex type
HttpSession
JSTL (JavaServer Pages Standard Tag Library)
29. Returns a list of elements with the given tag name.
getElementsByTagName
W3C
submit element
Content negotiation
30. 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.
request.getAttribute
ANT
block display
where clause
31. A software program that checks an HTML document for syntactical errors.
class
validator
session scope
WAR file
32. Single piece of info; record is one complete set of these
method signature
field
JavaScript
block display
33. A class that provides its attributes and methods to a subclass.
test method
relational database
superclass
refractor
34. Method that sets value of the attribute for the request which is retrieved later in either the current JSP page or another JSP page
<c:if>
RequestDispatcher
<jsp:getProperty>
request.setAttribute
35. Gets the value of a Bean property so that you can display it in a result page.
session
Java class
delimiter
<jsp:getProperty>
36. Spaces at the top and bottom and left and right of the document between the edges of the text; the absolute boundary of text and graphics on a page
block display
getter
element
margins
37. A module of Java code that is hosted on a web server
CSS property
Servlet
CSS Property
idempotent
38. Server error
request parameter
where clause
dynamic content
5XX status code
39. Any item that can be manipulated such as picture and data file or text.
persistence
session scope
form
object
40. This component of JSP pages replaces the above tag and allows more sophisticated manipulation of values from the bean
TCP (Transport Layer Protocol)
MySQL
HTML DOM
Java Standard Tag Library
41. Generic name for a Java class that manages data on behalf of a JSP page
JavaBean
View
DriverManager
URL
42. One or more complete Java statements grouped together logically - <% %>
selector
input element
scriptlet
onreadystatechange
43. Object used for executing a static SQL statement and returning the result it produces
Statement
Expression language
form method
URL
44. Sets values for parameters in JDBC
setXXX method
assertEquals method
validator
Javadoc
45. Manages the behavior and data of the application. Logic and data java class
dynamic content
mysqli
Model
SQL injection attack
46. This component of JSP pages replaces the above tag and allows more sophisticated manipulation of values from the bean
input element
request scope
Static class member
JSTL
47. Language that support either implicit type conversion (nearly all languages support at least one implicit type conversion) and ad-hoc polymorphism (also known as overloading) or both (ex. PHP)
container
assertEquals method
package
weakly typed language
48. Identifies the document as a web page.
JSP tag
request Bean scope
DTD
Object-Relational Mapping
49. Tells a Browser how and where to display text and images on a web page.
helper class
tag
request parameter
session Bean scope
50. The character that seperates one field from another in a plain text file.
Apache
W3C DOM
scriptlet
delimiter