SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. One or more complete Java statements grouped together logically - <% %>
Element
PreparedStatement
scriptlet
container
2. A project that contains resources for a Web application with dynamic content such as servlets or JavaServer Pages (JSP) files
Dynamic web project
Tomcat
Javadoc
XHTML (Extensible Hypertext Mark-up Language)
3. 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.
object
servlet
HttpSession
short-circuit boolean evaluation
4. 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.
auto_increment
throws
hidden input element
input element
5. Part of class definition that tells control what to do in response to event
form method
stateless
ServletContext
event handler
6. This is used to select user information.
input element
element
RequestDispatcher
package
7. Sets values for parameters in JDBC
Exception
setXXX method
event bubbling
HttpSession
8. Short for World Wide Web Consortium. It is the international governing body for the development of platform independent web standards and specifications.
throws
POST
W3C
idempotent
9. Combination of data and operations that can be performed on that data; specification of the data members and methods of the object.
session scope
Spec comment
class
visibility
10. a piece of Java-code embedded in the HTML-like JSP code
string interpolation
scriptlet
classpath element
margins
11. Single piece of info; record is one complete set of these
Servlet
field
tag
auto_increment
12. Method that retrieves the values corresponding to the given attribute name that is set through setAttribute()
ResultSet
Statement
request.getAttribute
Transitional
13. Part of JUnit and fails a test with no message
JSP Expression Language
test method
fail()
table
14. 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
Statement
package
public
assertEquals method
15. Scope of variables that would be stored in a database
import statement
application scope
MS Access
request parameter
16. 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
request object
forwarding
Expression language
Caching
17. The act of sending onto another destination
forward
assignment statement
CSS Property
DriverManager
18. The GET and HEAD are ____ methods and SHOULD NOT have the significance of taking an action other than retrieval.
ANT task
safe
Session
attribute
19. 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
form
method signature
agile programming
SQL injection attack
20. associative array containing session variables available to the current script
primary key
session attribute
HTML strict
$_SESSION
21. Clears an area around the content which is inside of the border of an element (length-%)
padding
request object
Java Standard Tag Library
getter method
22. a single instance of that member shared by all instances of this class
Session
ANT dependency
Static class member
HTML strict
23. 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
MS Access
JavaScript
Element
abstract class
24. This DTD contains all HTML elements and attributes but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed.
request
entity
string interpolation
HTML strict
25. Entries in a database
static content
record
ANT task
HTTP
26. The window or viewing area that displays web pages and if smaller than the web page - scroll bars should be available.
package
qualified name
constructor
viewport
27. Method that may involve anything - like storing or updating data or ordering a product or sending E-mail.
POST
pathelement element
request parameter
ServletContext
28. Manages the behavior and data of the application. Logic and data java class
JUnit
$
Expression Language
Model
29. A project that contains resources for a Web application with dynamic content such as servlets or JavaServer Pages (JSP) files
Dynamic web project
field
Expression language
HTML strict
30. Server error
Controller
5XX status code
dependency
stateless
31. XML element that contains other elements and/or attributes
scriptlet
W3C
complex type
helper class
32. 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.
request attribute
DriverManager
Content negotiation
Dynamically installed event handler
33. 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).
doPost()
ANT target
try
request
34. a piece of Java-code embedded in the HTML-like JSP code
stateless
Spec comment
scriptlet
catch
35. Java class specifically created to enable communication with a particular database management product such as MySQL
Driver
weakly typed language
forward
CSS property
36. Specifies where to send the form-data when a form is submitted.
form action
Spec comment
package
Controller
37. Defines restrictions on a simpleType or simpleContent or complexContent definition; names that are reserved by XML
delimiter
JAR file
margins
restricted type
38. 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
relative positioning
WAR file
JavaBean
radio button
39. 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.
input element
jQuery theme
HTML DOM
Tomcat
40. Tag that gives you the option to iterate over arrays and collections
Expression language
protocol layering principle
HTML strict
<c:forEach> tag
41. 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
session object
helper class
filtering
MS Access
42. Combination of data and operations that can be performed on that data; specification of the data members and methods of the object.
Driver
class
HTTP
NodeList
43. Keyword that can be used inside any method to refer to the current object
parameter
W3C DOM
foreign key constraint
this()
44. Attribute that can be used to generate a unique identity for new rows
JavaBean
Tomcat
auto_increment
servlet
45. 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.
document.getElementById()
visibility
import statement
onreadystatechange
46. Returns a list of elements with the given tag name.
CSS selector
getElementsByTagName
ServletContext
idempotent
47. Test class used to test your code automatically
JUnit
JUnit test
Cascade delete
form action
48. Objects of any type that are explicitly placed on the request object via a call to the setAttribute() method
Static class member
CSS property
delimiter
request attribute
49. anyone can use to create and manipulate objects. forms public interface.
setter method
scriptlet
public
valid
50. A POST request results from an HTML form that specifically lists POST as the METHOD and it should be handled by this method.
ServletContext
doPost()
Apache
ResultSet