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. Generic name for a Java class that manages data on behalf of a JSP page
ANT target
JavaBean
assertEquals method
ServletContext
2. 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
Statement
JavaBean
setter
<jsp:useBean>
3. In the XML fragment <node id="7" x_pos="330" ypos="450">Smallville</node> - id fills this role
hidden input element
method signature
JavaScript
id attribute
4. A style sheet containing format and layout settings that is stored in a separate file.
external style sheet
<jsp:setProperty> tag
Extreme programming
event handler
5. Part of class definition that tells control what to do in response to event
assertEquals()
margins
Node
event handler
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
redirect
SQL injection attack
setXXX method
die()
7. The address of a website. Uniform Resource locator.
XPATH
URL
jQuery theme
valid
8. Extension of JAR task with special treatment for files that should end up in WEB-INF directories of the Web Application Archive
Element
war task
Entity class
this()
9. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
W3C
JSP tag
element
Event object
10. A deletion that triggers another deletion. A cascade delete can be specified for an entity bean that has container-managed persistence.
Cascade delete
W3C DOM
5XX status code
absolute positioning
11. Accessor whose purpose is to return the value stored in an instance variable.
weakly typed language
Event object
getter method
Model
12. 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
setXXX method
Static class member
block display
ServletContext
13. what an MVC is given by a database
<jsp:setProperty> tag
persistence
SQL injection attack
JSTL (JavaServer Pages Standard Tag Library)
14. Method that retrieves the values corresponding to the given attribute name that is set through setAttribute()
request.getAttribute
assertEquals()
session Bean scope
relational database
15. This provides methods that allow you to retrieve header information as well as information about the client and server.
box model
ANT dependency
request object
foreign key
16. An action that ANT will attempt to do
session
ANT task
tag
DTD
17. In the XML fragment <node id="7" x_pos="330" ypos="450">Smallville</node> - node fills this role
XML Schema
className attribute
W3C
class library
18. Tag that gives you the option to iterate over arrays and collections
XPATH
session Bean scope
<c:forEach> tag
request scope
19. Clears an area around the content which is inside of the border of an element (length-%)
CSS
deprecated
padding
getter
20. 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.
session object
Cascade delete
table
short-circuit boolean evaluation
21. jQuery provides a single object with the most important properties.
Event object
try
Java class
margins
22. Specifies constraints and information about the values of attributes or text-only elements
idempotent
GET
simple type
scriptlet
23. This Java class outputs the HTML content for a dynamically generated Web page
Caching
PreparedStatement
package
servlet
24. A web development technique that allows portions of Web pages to reload with fresh data instead of requiring the entire Web page to reload
scriptlet
PreparedStatement
request parameter
AJAX
25. Description of a set of requirements to be satisfied by a method
Spec comment
form method
redirect
POST
26. These auto-generated methods allow us to change data members of a Java class
Node
session object
Apache
setter method
27. Manages the behavior and data of the application. Logic and data java class
primary key
CSS property
JAR file
Model
28. Specifies what aspect of the element you are choosing to style.(width - color - bg-color)
MySQL
CSS property
View
Event object
29. 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
Java class
hidden input element
abstract class
30. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT
method signature
idempotent
setter method
build.xml
31. An API used to send HTTP requests directly to a web server and load the server response data directly back into the script.
$_REQUEST
HTML DOM
visibility
XMLHttpRequest
32. The character that seperates one field from another in a plain text file.
assertEquals method
W3C
build.xml
delimiter
33. Returns a list of elements with the given tag name.
getElementsByTagName
package
JUnit test
GET
34. Governing body for the development of platform independent web standards
record
W3C
safe
GET
35. Set of data elements (values) that is organized using a model of vertical columns (identified by their name) and horizantal rows
Node
relative positioning
CSS selector
table
36. A pseudo-method that creates an object. Instance methods with the same name as their class. are invoked using the new keyword.
constructor
Expression Language
URL
table
37. 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.
CSS property
<jsp:setProperty> tag
relative positioning
GET
38. Tells the compiler where to access certain classes
Caching
import statement
helper class
View
39. This is used to select user information.
ServletContext
Extreme programming
input element
application scope
40. After a database query is performed - this Java class provides access to the records extracted from the database
id attribute
forward
ResultSet
block display
41. Class that extends the attributes and methods of a superclass
subclass
GET
session object
JSP tag
42. Elements that are rendered (displayed) directly in line with the text
object
this()
complex type
inline display
43. This term describes an action for which performing the action twice has the same effect as performing it once
validator
2xx status code
inline display
idempotent
44. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean
record
TCP (Transport Layer Protocol)
JSP Expression Language
relative positioning
45. 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.
Tomcat
XHTML (Extensible Hypertext Mark-up Language)
Driver
getXXX method
46. 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.
container
session Bean scope
Content negotiation
margins
47. 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
CSS selector
forward
JavaBean
48. This Java object is used by a controller servlet to send the request to the appropriate JSP page
class library
RequestDispatcher
where clause
HttpSession
49. Java classes inside a package that have already been compiled into byte code.
JAR file
Dynamically installed event handler
DriverManager
superclass
50. 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.
Tomcat
foreign key
ANT dependency
<c:forEach> tag