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. anyone can use to create and manipulate objects. forms public interface.
relative positioning
refractor
public
this()
2. A class that provides its attributes and methods to a subclass.
foreign key constraint
superclass
Tomcat
class
3. 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
public
ServletContext
ResultSet
4. Handles the error if it does not satisfy the "try" statement
block display
template-match
onreadystatechange
catch
5. A class that provides its attributes and methods to a subclass.
catch
class library
superclass
MySQL
6. Done by including portions of SQL statements in a web form entry field in an attempt to get the website to pass a newly formed rogue SQL command to the database
SQL injection attack
scriptlet
redirect
weakly typed language
7. 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.
JSP
Javadoc
relative positioning
margins
8. Part of JUnit and fails a test with no message
Model
fail()
form
unit test
9. Short for World Wide Web Consortium. It is the international governing body for the development of platform independent web standards and specifications.
delimiter
restricted type
W3C
entity
10. Your computer sends a ______ for some file (e.g. "Get me the file 'home.html'") and the web server sends back a response ("Here's the file" - followed by the file itself).
test method
request
request.getAttribute
redirect
11. 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
foreign key constraint
CSS
JavaBean
foreign key
12. One or more complete Java statements grouped together logically - <% %>
response
JSP
input element
scriptlet
13. Primary key of one table that appears as an attribute in another table and acts to provide a logical relationship between the two tables
throws
foreign key
URL
template-match
14. This component of the MVC architecture directs client requests to the appropriate resource
Controller
response
foreign key
ResultSet
15. Tag that gives you the option to iterate over arrays and collections
package
<c:forEach> tag
Tomcat
HTML DOM
16. 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
status code
package
W3C DOM
request Bean scope
17. Bean that survives for the life of the HTTP session
request scope
session Bean scope
ANT task
Spec comment
18. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT
<jsp:setProperty>
assertEquals()
margins
build.xml
19. Compiles a java source tree
visibility
request parameter
2xx status code
javac task
20. Renders the model into a form suitable for interaction - typically a user interface element. HTML and CSS
Session
JSTL (JavaServer Pages Standard Tag Library)
View
string interpolation
21. Elements that are rendered (displayed) with empty space above and below
block display
Model
war task
Java Standard Tag Library
22. Objects of any type that are explicitly placed on the request object via a call to the setAttribute() method
Model
View
getElementsByTagName
request attribute
23. A system where Web pages and their associated graphics are stored locally on a client computer to reduce Internet traffic and download wait time the next time the page is viewed.
session
Caching
super()
field
24. Server error
Expression Scriptlet
5XX status code
TextNode
box model
25. Pseudo-relational database management system from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software-development tools
Dynamically installed event handler
Cascade delete
MS Access
throws
26. A POST request results from an HTML form that specifically lists POST as the METHOD and it should be handled by this method.
doPost()
XHTML (Extensible Hypertext Mark-up Language)
XSL
getElementsByTagName
27. Represents a table in a relational database; each instance corresponds to a row in that table
WAR file
entity
session scope
getElementsByTagName
28. Identifies the document as a web page.
catch
DTD
try
Exception
29. an individual component of a document
element
TextNode
entity
session scope
30. a database view that allows the user to see all fields for one record and enter them one at a time.
setter
form
submit element
W3C
31. HTTP request method. Parameters are encoded in URL. used for idempotent requests.
filtering
expression scriptlet
getElementsByTagName
GET
32. This term describes an action for which performing the action twice has the same effect as performing it once
forward
constructor
constructor chaining
idempotent
33. Certain look for a jquery element
box model
XPATH
jQuery theme
4XX status code
34. Tag that gives you the option to iterate over arrays and collections
ServletContext
<c:forEach> tag
attribute
form action
35. Method for just getting (retrieving) data.
Expression language
library
Statement
GET
36. 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
element
ServletContext
margins
URL
37. Object reference
<jsp:getProperty>
Caching
GET
$
38. Keyword that can be used inside any method to refer to the current object
package
class library
this()
$_REQUEST
39. Java Server Page - web page coding standard that allows developers to dynamically generate web pages in response to user request
JSP
getXXX method
document.getElementById()
Java class
40. In the XML element <g:start_time> - g plays this role
CSS property
Servlet
ANT
namespace
41. 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
Expression language
class
<jsp:useBean> tag
parameter
42. 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
assertEquals()
TCP (Transport Layer Protocol)
HTML strict
complex type
43. If you want to use the same path-like structure for several tasks - you can define them with this
auto_increment
protocol layering principle
inline display
pathelement element
44. Technology specifically designed for automated logic testing of Web applications
JUnit
Class.forName()
JSTL (JavaServer Pages Standard Tag Library)
box model
45. a set of classes that supports the development of programs
template
class library
XMLHttpRequest
submit element
46. 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.
session attribute
document.getElementById()
Model
WAR file
47. Type of method that changes the state of one field in an object.
setter
jQuery
Attribute
scriptlet
48. Technology specifically designed for automated logic testing of Web applications
JUnit
jQuery
XPATH
JavaBean
49. In this handler use event object to determine event target
Java class
ResultSet
<jsp:setProperty>
Dynamically installed event handler
50. a class whose primary purpose is to define an interface deferring some or all of its implementations to subclasses. Cannot be instantiated
setter
build.xml
abstract class
Hibernate