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. Used to affect a certain portion of your material. They utilize the on/off approach.
Event object
id attribute
container
attribute
2. The window or viewing area that displays web pages and if smaller than the web page - scroll bars should be available.
viewport
where clause
visibility
request attribute
3. Requires every value of one attribute of a table to exist as a value of another attribute in a different relation (table)
foreign key constraint
Tomcat
XSL
class library
4. Method that retrieves the values corresponding to the given attribute name that is set through setAttribute()
junit task
<c:forEach> tag
expression scriptlet
request.getAttribute
5. Used to affect a certain portion of your material. They utilize the on/off approach.
package
constructor chaining
ANT target
container
6. Enables a subclass to call the methods and fields of its superclass
super()
throws
JSTL
Apache
7. The data transfer protocol used on the World Wide Web. About requests and responses. Uses TCP.
JSP
complex type
HTTP
POST
8. What to attempt to do; requires a "catch" statement
View
try
Extreme programming
Controller
9. A style sheet containing format and layout settings that is stored in a separate file.
attribute
external style sheet
PreparedStatement
assertEquals method
10. 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).
selector
response
setter method
ANT
11. Improving the design of existing software code. doesn't change the observable behavior of the software; it improves its internal structure
XML Schema
RequestDispatcher
refractor
session scope
12. Channel into a new direction (to a different page)
request Bean scope
redirect
XPATH
ServletContext
13. The function for the browser to run when the server responds to your request
session
onreadystatechange
build.xml
cookie
14. Tag that gives you the option to iterate over arrays and collections
Class.forName()
<c:forEach> tag
foreign key
throws
15. Contain data about transaction between browser and server (IP address etc.)
string interpolation
CGI variable
viewport
public
16. A pseudo-method that creates an object. Instance methods with the same name as their class. are invoked using the new keyword.
event handler
CSS Property
constructor
MySQL
17. 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
padding
View
parent element
18. Entries in a database
record
subclass
PreparedStatement
request.getAttribute
19. A set of assertion methods useful for writing tests. Only failed assertions are recorded.
Extreme programming
assertEquals method
JAR file
JSP
20. A software program that checks an HTML document for syntactical errors.
Model
validator
Expression Scriptlet
CSS
21. Class of agile programming in which "waterfall" loop is compressed into shorter loops. each iteration adds functionality & client is responsible for acceptance testing.
class library
Extreme programming
Entity class
W3C
22. Keyword that can be used inside any method to refer to the current object
this()
JUnit
RequestDispatcher
getter
23. a test of each individual component (often a program) to ensure that it is as defect-free as possible
relational database
validator
<c:forEach> tag
unit test
24. a piece of Java-code embedded in the HTML-like JSP code
tag
scriptlet
Hibernate
XMLHttpRequest
25. 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.
Exception
CSS property
throws
CSS Property
26. Code indicating status that server sends back to you.
status code
relational database
XMLHttpRequest
View
27. reduces the amount of redundancy in code that may connect to the database (assists in some functionality)
getElementsByTagName
classpath element
helper class
request attribute
28. Protocol layering is a common technique to simplify designs by dividing them into functional layers each concerned primarily with one task.
protocol layering principle
redirect
dependency
parameter
29. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute
assignment statement
ANT dependency
application scope
<jsp:useBean> tag
30. Something that is not included in a rule or group or list or that does not behave in the expected way
ANT target
Exception
GET
request Bean scope
31. A mechanism defined in the HTTP specification that makes it possible to serve different versions of a document (a resource representation) at the same URI so that user agents can specify which version fit their capabilities the best.
Content negotiation
request attribute
event handler
subclass
32. Method that tests the program
View
protocol layering principle
test method
session attribute
33. A blueprint for creating objects of a certain kind; defines data and methods.
fail()
simple type
expression scriptlet
Java class
34. Requires every value of one attribute of a table to exist as a value of another attribute in a different relation (table)
Statement
jQuery
foreign key constraint
package
35. Written programs or procedures or rules and associated documentation pertaining to the operation of a computer system and that are stored in read/write memory
GET
assignment statement
package
block display
36. HTTP request method. Parameters are encoded in URL. used for idempotent requests.
cookie
GET
session attribute
doGet()
37. Open-source SQL (Structured Query Language) database implementation. persistence provider.
Element
Connection
MySQL
test method
38. This XML processing technology is used to identify sets of elements - such as all the <title> elements that occur as children of <item> elements
request Bean scope
Tomcat
session attribute
XPATH
39. Sets a property value or values in a Bean.
<jsp:setProperty>
viewport
field
status code
40. A web server software notable for playing a key role in the initial growth of the World Wide Web.
Element
Apache
form action
well-formed
41. 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.
request scope
throws
rs.next()
session scope
42. Type of method that changes the state of one field in an object.
relational database
NodeList
HttpSession
setter
43. A POST request results from an HTML form that specifically lists POST as the METHOD and it should be handled by this method.
session
doPost()
ResultSet
JavaBean
44. 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.
relative positioning
Apache
TCP (Transport Layer Protocol)
Statement
45. Web page content that changes or is changed automatically based on database content or user information.
validator
dynamic content
hidden input element
assertEquals()
46. 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
ANT dependency
View
ServletContext
XHTML (Extensible Hypertext Mark-up Language)
47. 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.
visibility
XML Schema
XHTML (Extensible Hypertext Mark-up Language)
setter method
48. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean
Object-Relational Mapping
GET
JSP Expression Language
tag
49. After a database query is performed this Java class provides access to the records extracted from the database
Extreme programming
ResultSet
absolute positioning
XHTML (Extensible Hypertext Mark-up Language)
50. Returns a list of elements with the given tag name.
setter
getElementsByTagName
Asynchronous method
CSS selector