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. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute
WAR webxml attribute
<jsp:useBean>
test method
simple type
2. Set of data elements (values) that is organized using a model of vertical columns (identified by their name) and horizantal rows
library
HTML DOM
request scope
table
3. Field that uniquely identifies a record in a table
JUnit
primary key
idempotent
jQuery theme
4. Type of method that returns the state of one field in an object.
response
super()
getter
W3C
5. Governing body for the development of platform independent web standards
import statement
W3C
WAR webxml attribute
input element
6. Design pattern for asynchronous invocation of potentially long-running methods of an object
Tomcat
Asynchronous method
XHTML (Extensible Hypertext Mark-up Language)
GET
7. A project that contains resources for a Web application with dynamic content such as servlets or JavaServer Pages (JSP) files
Expression Scriptlet
Dynamic web project
method signature
<c:forEach>
8. The exclusive address of a web page. The official term is Uniform Resource Locator.
GET
TCP (Transport Layer Protocol)
Model
URL
9. This Java object encapsulates the information that a servlet sends back to the client
relational database
response
CSS selector
2xx status code
10. The address of a website. Uniform Resource locator.
unit test
event handler
JSP tag
URL
11. String that is the result of submitting an HTTP request/form with query that specifies the name/value pairs
DriverManager
CSS selector
request parameter
Event object
12. A deletion that triggers another deletion. A cascade delete can be specified for an entity bean that has container-managed persistence.
Cascade delete
expression scriptlet
Tomcat
Class.forName()
13. Advances the record cursor by one record. Returns a boolean value indicating success or failure. Failure occurs if the cursor moved past the last record.
rs.next()
jQuery
import statement
request.getAttribute
14. This is used to select user information.
viewport
input element
<c:forEach> tag
response
15. In the XML element <g:start_time> - g plays this role
delimiter
namespace
JavaBean
element
16. a single instance of that member shared by all instances of this class
margins
Static class member
event handler
ANT target
17. Represents a table in a relational database; each instance corresponds to a row in that table
refractor
ServletContext
entity
Servlet
18. 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.
JavaScript
Content negotiation
Expression Scriptlet
class library
19. An element in a dialog box that allows the user to choose from a set of options
jQuery theme
radio button
Model
element
20. A class that provides its attributes and methods to a subclass.
static content
<c:forEach> tag
Session
superclass
21. API for valid HTML and well-formed XML documents. defines logical structure of documents and the way a document is accessed & manipulated
W3C DOM
Entity class
short-circuit boolean evaluation
SQL injection attack
22. 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.
throws
Javadoc
class
<jsp:useBean>
23. Database that represents data as a collection of tables in which all data relationships are represented by common values in related tables
JUnit test
Dynamically installed event handler
attribute
relational database
24. Content- Padding - Border- Margin
element
setter method
method signature
box model
25. Prints a message and exits the current script
static content
field
die()
Connection
26. Success
2xx status code
ServletContext
setXXX method
this()
27. 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.
HttpSession
TCP (Transport Layer Protocol)
box model
request attribute
28. Specifies whether or not an element is visible
visibility
<jsp:useBean> tag
request
Driver
29. Java Server Page - web page coding standard that allows developers to dynamically generate web pages in response to user request
JSP
JavaBean
Java class
attribute
30. 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
application scope
radio button
persistence
package
31. Java Server Page - web page coding standard that allows developers to dynamically generate web pages in response to user request
MySQL
$_REQUEST
idempotent
JSP
32. Rreduces the amount of redundancy in code that may connect to the database (assists in some functionality)
Servlet
JUnit
helper class
TextNode
33. 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
relative positioning
inline display
POST
34. The event gets sent to the most specific element and after this element has an opportunity to react - the event bubbles up to more general elements.
super()
refractor
event bubbling
scriptlet
35. Can't attempt one task until the previous task is successful
2xx status code
GET
Spec comment
dependency
36. HTTP request method. Parameters are passed to the server through a separate input channel. used for non-dempotent requests.
POST
assertEquals method
complex type
throws
37. Elements of the programming language which have essentially evolved out of use/style. Example of this is the java.awt package and its replacement javax.swing
deprecated
Driver
ANT task
relational database
38. Elements that are rendered (displayed) directly in line with the text
<jsp:setProperty> tag
request attribute
inline display
box model
39. Object used for executing a static SQL statement and returning the result it produces
application scope
<jsp:useBean> tag
Statement
PreparedStatement
40. If you want to use the same path-like structure for several tasks - you can define them with this
setter method
superclass
selector
pathelement element
41. Well-formed XML document which also conforms to rules of a Document Type Definition (DTD) or an XML Schema (XSD)
valid
table
simple type
static content
42. allows client software to communicate with database server software
parent element
event handler
Connection
ANT dependency
43. a test of each individual component (often a program) to ensure that it is as defect-free as possible
URL
ANT task
Apache PHP module
unit test
44. Document that conforms to SML syntax rules (ex. start tag without end tag)
well-formed
session scope
scriptlet
session object
45. Tag that gives you the option to iterate over arrays and collections
CSS selector
<c:forEach>
tag
session
46. Does nothing if expected value equals actual value but throws error otherwise
die()
abstract class
assertEquals()
HttpSession
47. a constructor calls another constructor in its class using the ": this()" designation
package
Transitional
constructor chaining
Expression language
48. Specifies constraints and information about the values of attributes or text-only elements
Cascade delete
deprecated
simple type
Structured Query Language
49. XHTML element - a class name - an id name
TCP (Transport Layer Protocol)
build.xml
attribute
CSS selector
50. Describes the styles of the page elements - such as their colors and font sizes and background colors.
CSS
session scope
object
request attribute