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. Object reference
2xx status code
application scope
$
CSS
2. Specifies where to send the form-data when a form is submitted.
JSP
stateless
form action
Connection
3. a class with a default constructor that exposes properties through its (get) and (set) methods - Generic name for a Java class that manages data on behalf of a JSP page
WAR file
stateless
request parameter
JavaBean
4. Class of agile programming in which "waterfall" loop is compressed into shorter loops. each iteration adds functionality & client is responsible for acceptance testing.
event handler
fail()
Extreme programming
document.getElementById()
5. 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).
form
parent element
response
Data Access Object
6. 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.
AJAX
WAR file
stateless
helper class
7. Generic name for a Java class that manages data on behalf of a JSP page
JavaBean
build.xml
HTML DOM
static content
8. 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.
relational database
session object
constructor chaining
input element
9. Used to insert Java values directly into the output. It has the following form: <%= Java expression %>
scriptlet
JSP tag
submit element
expression scriptlet
10. A style sheet containing format and layout settings that is stored in a separate file.
external style sheet
<jsp:useBean> tag
hidden input element
session
11. Element that will be completed as part of a parent element/task
POST
container
classes nested element
throws
12. These auto-generated methods allow us to change data members of a Java class
Asynchronous method
catch
setter method
Model
13. Technology specifically designed for automated logic testing of Web applications
JSTL
superclass
W3C
JUnit
14. A software program that checks an HTML document for syntactical errors.
Data Access Object
<jsp:setProperty>
validator
Asynchronous method
15. Used to extract only those records that fulfill a specified criterion.
Node
request Bean scope
GET
where clause
16. Client error
TCP (Transport Layer Protocol)
4XX status code
forward
parent element
17. Open-source servlet container. popular servlet engine of the apache project
public
Tomcat
CSS selector
element
18. Used to pass data to a server. can contain input elements like text fields and checkboxes and radio-buttons and submit buttons and more. It can also contain select lists and textarea and fieldset and legend and label elements.
XPATH
form
complex type
POST
19. A notation that shows all of the information needed to invoke (or call) the method
event bubbling
method signature
className attribute
<jsp:getProperty>
20. The act of intercepting requests and responses to transform or use info contained in the requests or responses; can transform response from a servlet or JSP page
object
filtering
event handler
idempotent
21. Something that is not included in a rule or group or list or that does not behave in the expected way
event bubbling
XMLHttpRequest
Exception
$
22. Retrieves values in JDBC
getXXX method
SQL injection attack
Event object
URL
23. Specifies whether or not an element is visible
box model
visibility
session scope
die()
24. The GET and HEAD are ____ methods and SHOULD NOT have the significance of taking an action other than retrieval.
constructor chaining
doGet()
getXXX method
safe
25. Specification about a tag (first ordered list: 1-2-3 or A-B-C)
attribute
View
setXXX method
GET
26. A GET request results from a normal request for a URL or from an HTML form that has no METHOD specified and it should be handled by this method.
scriptlet
margins
doGet()
Class.forName()
27. JavaScript library that emphasizes interaction between JavaScript and HTML.
jQuery
<jsp:useBean> tag
tag
constructor
28. Part of JUnit and fails a test with no message
form action
padding
method signature
fail()
29. The next generation of HTML and is a hybrid between HTML and XML. XML was designed to describe data. HTML was designed to display data.
forwarding
XHTML (Extensible Hypertext Mark-up Language)
short-circuit boolean evaluation
entity
30. Database that represents data as a collection of tables in which all data relationships are represented by common values in related tables
Exception
Spec comment
relational database
request Bean scope
31. The default positioning system used by web pages and browsers for where objects in a web page will be displayed. Objects are placed depending on where they occur in the code sequence.
scriptlet
application scope
POST
relative positioning
32. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute
fixed positioning
<jsp:useBean>
deprecated
event bubbling
33. Handles the error if it does not satisfy the "try" statement
catch
event handler
javac task
setter method
34. Database that represents data as a collection of tables in which all data relationships are represented by common values in related tables
session object
relational database
foreign key
field
35. a set of classes that supports the development of programs
4XX status code
throws
class library
public
36. a piece of Java-code embedded in the HTML-like JSP code
Statement
NodeList
block display
scriptlet
37. Used for an origin website to send state information to a user's browser and for the browser to return the state information to the origin site.
cookie
<jsp:getProperty>
request object
jQuery
38. Sets values for parameters in JDBC
Extreme programming
JSP Expression Language
Spec comment
setXXX method
39. Specification about a tag (first ordered list: 1-2-3 or A-B-C)
CSS property
package
table
attribute
40. The GET and HEAD are ____ methods and SHOULD NOT have the significance of taking an action other than retrieval.
safe
form
response
request
41. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
JSP tag
4XX status code
template-match
Element
42. This component of JSP pages replaces the above tag and allows more sophisticated manipulation of values from the bean
ANT
JSTL
forward
<jsp:useBean> tag
43. Defines restrictions on a simpleType or simpleContent or complexContent definition; names that are reserved by XML
AJAX
restricted type
Tomcat
Servlet
44. Single piece of info; record is one complete set of these
package
field
relational database
Session
45. A program that extracts comments from Java Source files and produces documentation files in HTML.
document.getElementById()
JavaBean
Javadoc
W3C DOM
46. Gets the value of a Bean property so that you can display it in a result page.
HTML strict
response
record
<jsp:getProperty>
47. Defines objects which can connect Java applications to a JDBC Driver
Connection
assertEquals()
DriverManager
validator
48. A blueprint for creating objects of a certain kind; defines data and methods.
Extreme programming
junit task
Java class
Dynamic web project
49. A module of Java code that is hosted on a web server
JavaBean
input element
ServletContext
Servlet
50. Entries in a database
where clause
XMLHttpRequest
record
try