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. Design pattern for asynchronous invocation of potentially long-running methods of an object
request attribute
safe
Asynchronous method
ResultSet
2. A program that extracts comments from Java Source files and produces documentation files in HTML.
GET
Javadoc
Servlet
Transitional
3. Object used for executing a static SQL statement and returning the result it produces
javac task
Statement
import statement
class
4. The act of sending onto another destination
PreparedStatement
helper class
Asynchronous method
forwarding
5. HTTP request method. Parameters are encoded in URL. used for idempotent requests.
GET
delimiter
box model
input element
6. A class that provides its attributes and methods to a subclass.
validator
superclass
application scope
public
7. Open-source servlet container. popular servlet engine of the apache project
Tomcat
ANT dependency
session object
forward
8. A project that contains resources for a Web application with dynamic content such as servlets or JavaServer Pages (JSP) files
scriptlet
PreparedStatement
Dynamic web project
Data Access Object
9. Improving the design of existing software code. doesn't change the observable behavior of the software; it improves its internal structure
refractor
Controller
Asynchronous method
DriverManager
10. Type of method that changes the state of one field in an object.
JSP Expression Language
entity
setter
refractor
11. A popular persistence provider used with Java Web servers
Servlet
foreign key
Hibernate
foreign key constraint
12. Description of a set of requirements to be satisfied by a method
Caching
Apache
Spec comment
request.setAttribute
13. associative array containing session variables available to the current script
<jsp:setProperty>
$_SESSION
getXXX method
constructor chaining
14. Uses the equal sign to give the object property on the left of the equal sign the value on the right of the equal sign.
subclass
request parameter
assignment statement
object
15. 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.
unit test
Controller
entity
form
16. Test class used to test your code automatically
URL
weakly typed language
test method
JUnit test
17. Controlling the exact location of text and pictures on a web page by specifying coordinates on the page.
absolute positioning
XPATH
ServletContext
getter
18. Positioned outside of the relative positioning. The element is positioned in a fixed position on the document.
fixed positioning
redirect
XHTML (Extensible Hypertext Mark-up Language)
JSP Expression Language
19. A collection of standard programs and subroutines that are stored and available for immediate use
library
<jsp:useBean>
Node
scriptlet
20. Element that will be completed as part of a parent element/task
form action
classes nested element
jQuery
XPATH
21. 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.
$
className attribute
JavaScript
document.getElementById()
22. After a database query is performed - this Java class provides access to the records extracted from the database
ResultSet
Exception
session
Driver
23. Defines objects which can connect Java applications to a JDBC Driver
DriverManager
relative positioning
W3C
Tomcat
24. Methodology that anticipates need for flexibility. focuses on keeping code simple and testing often and delivering functional bits of application as soon as they're ready. goal is to build upon small client-approved parts as the project progresses as
deprecated
Spec comment
XMLHttpRequest
agile programming
25. 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
CSS property
assertEquals()
CSS property
Element
26. Governing body for the development of platform independent web standards
simple type
Servlet
getter method
W3C
27. 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
Tomcat
simple type
XHTML (Extensible Hypertext Mark-up Language)
28. Identifies the document as a web page.
DTD
validator
getter
Statement
29. a database view that allows the user to see all fields for one record and enter them one at a time.
ServletContext
form
scriptlet
attribute
30. In the XML fragment <node id="7" x_pos="330" ypos="450">Smallville</node> - id fills this role
id attribute
table
session attribute
table
31. Specifies whether or not an element is visible
getter method
foreign key
Javadoc
visibility
32. 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).
response
protocol layering principle
request object
Expression Scriptlet
33. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute
event bubbling
form
<jsp:useBean> tag
session
34. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT
validator
build.xml
XMLHttpRequest
deprecated
35. Specifies that the Node will contain text elements
Dynamic web project
import statement
TextNode
request Bean scope
36. 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.
margins
stateless
request Bean scope
Tomcat
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.
idempotent
relative positioning
<jsp:getProperty>
safe
38. Gets the value of a Bean property so that you can display it in a result page.
<jsp:getProperty>
request attribute
ANT
assignment statement
39. Single piece of info; record is one complete set of these
$
field
idempotent
agile programming
40. 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.
TextNode
Caching
foreign key constraint
doGet()
41. Bean that survives for the life of the HTTP session
assignment statement
expression scriptlet
session Bean scope
container
42. Method that sets value of the attribute for the request which is retrieved later in either the current JSP page or another JSP page
request.setAttribute
Java Standard Tag Library
Transitional
external style sheet
43. The element containing the current element with no intervening container elements.
parent element
4XX status code
id attribute
event handler
44. After a database query is performed this Java class provides access to the records extracted from the database
request scope
session object
ResultSet
Class.forName()
45. Causes the chosen class to be dynamically loaded (at runtime)
validator
Model
setter method
Class.forName()
46. a constructor calls another constructor in its class using the ": this()" designation
XMLHttpRequest
agile programming
constructor chaining
assertEquals()
47. The address of a website. Uniform Resource locator.
jQuery theme
test method
URL
Tomcat
48. A component of the Java EE Web application development platform. It extends the JSP specification by adding a tag library of JSP tags for common tasks such as XML data processing etc.
XMLHttpRequest
XHTML (Extensible Hypertext Mark-up Language)
JAR file
JSTL (JavaServer Pages Standard Tag Library)
49. Type of method that changes the state of one field in an object.
setter
request parameter
GET
id attribute
50. 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.
relative positioning
fixed positioning
primary key
throws