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. 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
relational database
Object-Relational Mapping
constructor
2. An API used to send HTTP requests directly to a web server and load the server response data directly back into the script.
XMLHttpRequest
Model
4XX status code
validator
3. reduces the amount of redundancy in code that may connect to the database (assists in some functionality)
HTML DOM
helper class
Static class member
RequestDispatcher
4. A special kind of variable used in a subroutine to refer to one of the pieces of data provided as input to the subroutine
SQL injection attack
parameter
MySQL
rs.next()
5. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
JSP tag
request parameter
input element
request scope
6. Accessor whose purpose is to return the value stored in an instance variable.
getter method
Entity class
<jsp:setProperty>
request attribute
7. Description of a set of requirements to be satisfied by a method
subclass
request Bean scope
Spec comment
Session
8. object created by servlet container for Servlets to access environment information and provide ability for Servlet to bind object attributes to the invironment scope by name
ServletContext
<jsp:setProperty>
Object-Relational Mapping
jQuery theme
9. Design pattern for asynchronous invocation of potentially long-running methods of an object
MS Access
session object
field
Asynchronous method
10. 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.
cookie
$_REQUEST
throws
request
11. An open source software implementation of the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed under the Java Community Process.
WAR webxml attribute
Tomcat
parameter
Expression Language
12. Combination of data and operations that can be performed on that data; specification of the data members and methods of the object.
MS Access
Data Access Object
class
field
13. What to attempt to do; requires a "catch" statement
try
request object
PreparedStatement
catch
14. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean
request parameter
request attribute
View
Expression Language
15. Returns a reference to the element by its ID where element is a reference to an Element object or null if an element with the specified ID is not in the document.
constructor
session Bean scope
short-circuit boolean evaluation
document.getElementById()
16. 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.
RequestDispatcher
visibility
JSTL (JavaServer Pages Standard Tag Library)
ANT
17. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute
submit element
<jsp:useBean>
Data Access Object
getter
18. Java classes inside a package that have already been compiled into byte code.
block display
JSTL (JavaServer Pages Standard Tag Library)
constructor chaining
JAR file
19. Used to extract only those records that fulfill a specified criterion.
ANT task
where clause
hidden input element
package
20. Governing body for the development of platform independent web standards
JavaBean
container
W3C
setter method
21. Tells a Browser how and where to display text and images on a web page.
HttpSession
refractor
cookie
tag
22. Can't attempt one task until a previous task is successful
ANT dependency
NodeList
Expression Scriptlet
Entity class
23. Type of method that returns the state of one field in an object.
PreparedStatement
getter
session Bean scope
request parameter
24. allows client software to communicate with database server software
Connection
ServletContext
request parameter
cookie
25. In this handler use event object to determine event target
Expression Language
<jsp:setProperty>
Dynamically installed event handler
4XX status code
26. These auto-generated methods allow us to change data members of a Java class
MySQL
Tomcat
DTD
setter method
27. This component of the MVC architecture directs client requests to the appropriate resource
helper class
Controller
<jsp:setProperty> tag
redirect
28. A project that contains resources for a Web application with dynamic content such as servlets or JavaServer Pages (JSP) files
scriptlet
Dynamic web project
Statement
request object
29. 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.
margins
request
AJAX
HttpSession
30. 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.
class library
Statement
rs.next()
Dynamically installed event handler
31. Open-source servlet container. popular servlet engine of the apache project
session
auto_increment
Tomcat
form method
32. stores information about or change settings for a user session. Variables stored in it hold information about one single user and are available to all pages in one application.
GET
GET
session object
Object-Relational Mapping
33. This term describes an action for which performing the action twice has the same effect as performing it once
session object
RequestDispatcher
filtering
idempotent
34. A deletion that triggers another deletion. A cascade delete can be specified for an entity bean that has container-managed persistence.
delimiter
Cascade delete
selector
Spec comment
35. The exclusive address of a web page. The official term is Uniform Resource Locator.
Static class member
ANT task
URL
object
36. Returns a list of elements with the given tag name.
scriptlet
HTTP
getElementsByTagName
scriptlet
37. 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
Statement
request
Element
event bubbling
38. Database that represents data as a collection of tables in which all data relationships are represented by common values in related tables
XHTML (Extensible Hypertext Mark-up Language)
build.xml
relational database
ServletContext
39. This part of a CSS rule specifies the set of HTML elements to which a defined style should apply
CSS selector
WAR file
W3C
response
40. 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).
table
TCP (Transport Layer Protocol)
response
private
41. Text boxes and radio buttons and check boxes in a Web page are instances of this more general type of element
doPost()
library
input element
relative positioning
42. Element that will be completed as part of a parent element/task
POST
classes nested element
parameter
DTD
43. Well-formed XML document which also conforms to rules of a Document Type Definition (DTD) or an XML Schema (XSD)
<jsp:useBean> tag
valid
event handler
ServletContext
44. HTTP request method. Parameters are passed to the server through a separate input channel. used for non-dempotent requests.
refractor
POST
HttpSession
HTTP
45. The address of a website. Uniform Resource locator.
relative positioning
viewport
import statement
URL
46. An element in a dialog box that allows the user to choose from a set of options
radio button
superclass
session scope
POST
47. Something that is not included in a rule or group or list or that does not behave in the expected way
Exception
getXXX method
submit element
forwarding
48. What to attempt to do; requires a "catch" statement
try
mysqli
input element
parameter
49. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT
build.xml
selector
parent element
entity
50. In the relational database model is a collection of similar entities. An entity is represented by
external style sheet
Entity class
dynamic content
response