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. Test class used to test your code automatically
getter method
visibility
ANT task
JUnit test
2. This provides methods that allow you to retrieve header information as well as information about the client and server.
request object
ResultSet
Class.forName()
ANT target
3. Language that support either implicit type conversion (nearly all languages support at least one implicit type conversion) and ad-hoc polymorphism (also known as overloading) or both (ex. PHP)
WAR file
attribute
weakly typed language
class library
4. 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()
CSS selector
mysqli
margins
5. Bean that only survives for current request
request Bean scope
classes nested element
id attribute
ANT dependency
6. The element containing the current element with no intervening container elements.
relative positioning
Attribute
JAR file
parent element
7. A class that provides its attributes and methods to a subclass.
catch
RequestDispatcher
HTML DOM
superclass
8. Method that retrieves the values corresponding to the given attribute name that is set through setAttribute()
request.getAttribute
input element
Driver
redirect
9. Protocol layering is a common technique to simplify designs by dividing them into functional layers each concerned primarily with one task.
session Bean scope
protocol layering principle
validator
Element
10. Tag that gives you the option to iterate over arrays and collections
<c:forEach> tag
Tomcat
$_REQUEST
validator
11. Represents a table in a relational database; each instance corresponds to a row in that table
entity
this()
parameter
box model
12. Elements not displayed by the browser.
DriverManager
validator
hidden input element
Entity class
13. 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.
submit element
Tomcat
document.getElementById()
private
14. Controlling the exact location of text and pictures on a web page by specifying coordinates on the page.
jQuery theme
static content
absolute positioning
constructor chaining
15. Java class specifically created to enable communication with a particular database management product such as MySQL
Entity class
Javadoc
Driver
Dynamically installed event handler
16. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute
attribute
unit test
deprecated
<jsp:useBean>
17. Something that is not included in a rule or group or list or that does not behave in the expected way
JavaBean
Exception
jQuery
form action
18. This term describes an action for which performing the action twice has the same effect as performing it once
$
JSP
relative positioning
idempotent
19. Java Server Page - web page coding standard that allows developers to dynamically generate web pages in response to user request
JSP
form
form action
form method
20. This generic technique (not a Java class) associates Java objects with records in a database
session scope
input element
MySQL
Object-Relational Mapping
21. Specification about a tag (first ordered list: 1-2-3 or A-B-C)
request.getAttribute
event bubbling
attribute
Data Access Object
22. Servlet configuration descriptor to use WEB-INF/web.xml; required most of the time in WAR task
WAR webxml attribute
container
request object
fixed positioning
23. A POST request results from an HTML form that specifically lists POST as the METHOD and it should be handled by this method.
viewport
doPost()
Dynamic web project
MS Access
24. Object used for executing a static SQL statement and returning the result it produces
Javadoc
Statement
CSS property
Extreme programming
25. 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.
record
Structured Query Language
assignment statement
form method
26. A special type of button in your forms that will perform the form's set action.
box model
session attribute
submit element
Dynamically installed event handler
27. 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.
import statement
ANT
JSTL (JavaServer Pages Standard Tag Library)
junit task
28. Runs tests in ANT; just have <formatter> - <test> and <classpath>
Tomcat
record
parent element
junit task
29. Database that represents data as a collection of tables in which all data relationships are represented by common values in related tables
form action
getter method
W3C
relational database
30. A special kind of variable used in a subroutine to refer to one of the pieces of data provided as input to the subroutine
Expression language
status code
parameter
box model
31. A notation that shows all of the information needed to invoke (or call) the method
form
ANT
form
method signature
32. The exclusive address of a web page. The official term is Uniform Resource Locator.
table
URL
private
Java Standard Tag Library
33. The act of sending onto another destination
Attribute
getXXX method
foreign key constraint
forward
34. The function for the browser to run when the server responds to your request
Model
agile programming
response
onreadystatechange
35. 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
Expression Scriptlet
MySQL
GET
36. a class whose primary purpose is to define an interface deferring some or all of its implementations to subclasses. Cannot be instantiated
safe
abstract class
relational database
Node
37. Object used for executing a static SQL statement and returning the result it produces
Statement
block display
helper class
response
38. Defines objects which can connect Java applications to a JDBC Driver
Model
request object
Attribute
DriverManager
39. String that is the result of submitting an HTTP request/form with query that specifies the name/value pairs
CSS Property
pathelement element
<jsp:useBean>
request parameter
40. Java classes inside a package that have already been compiled into byte code.
entity
expression scriptlet
<c:forEach> tag
JAR file
41. an object that provides an abstract interface to some type of database
test method
scriptlet
Data Access Object
doPost()
42. Does nothing if expected value equals actual value but throws error otherwise
catch
absolute positioning
assertEquals()
Hibernate
43. Rreduces the amount of redundancy in code that may connect to the database (assists in some functionality)
AJAX
external style sheet
HTML DOM
helper class
44. Server error
5XX status code
View
assertEquals method
helper class
45. a test of each individual component (often a program) to ensure that it is as defect-free as possible
unit test
build.xml
Asynchronous method
stateless
46. If you want to use the same path-like structure for several tasks - you can define them with this
Javadoc
pathelement element
this()
Tomcat
47. Enables a subclass to call the methods and fields of its superclass
form
super()
Tomcat
table
48. A deletion that triggers another deletion. A cascade delete can be specified for an entity bean that has container-managed persistence.
Transitional
POST
Cascade delete
JSTL
49. A module of Java code that is hosted on a web server
Servlet
absolute positioning
class
Tomcat
50. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
block display
parent element
getter method
JSP tag