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. a class whose primary purpose is to define an interface deferring some or all of its implementations to subclasses. Cannot be instantiated
private
abstract class
doGet()
super()
2. a constructor calls another constructor in its class using the ": this()" designation
constructor chaining
redirect
Entity class
field
3. a database view that allows the user to see all fields for one record and enter them one at a time.
agile programming
form
ANT task
SQL injection attack
4. Specific style elements such as background-color and font-size fill this role in CSS
doGet()
helper class
CSS Property
Model
5. A style sheet containing format and layout settings that is stored in a separate file.
Element
rs.next()
external style sheet
XMLHttpRequest
6. a single instance of that member shared by all instances of this class
Statement
Tomcat
Static class member
superclass
7. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
JSP tag
constructor chaining
Model
refractor
8. Class of agile programming in which "waterfall" loop is compressed into shorter loops. each iteration adds functionality & client is responsible for acceptance testing.
request scope
Extreme programming
request object
visibility
9. The window or viewing area that displays web pages and if smaller than the web page - scroll bars should be available.
viewport
setter method
persistence
4XX status code
10. 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
Apache
form method
class
11. The window or viewing area that displays web pages and if smaller than the web page - scroll bars should be available.
viewport
<jsp:getProperty>
parameter
radio button
12. HTTP request method. Parameters are passed to the server through a separate input channel. used for non-dempotent requests.
Connection
Entity class
POST
JavaBean
13. A communications protocol that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses. Does not require the server to retain sessio
well-formed
URL
Asynchronous method
stateless
14. Layer below HTTP. HTTP accesses this. Reliable data stream service. The Internet's primary transport protocol; provides a point-to-point channel for applications that require reliable communications
cookie
request parameter
request object
TCP (Transport Layer Protocol)
15. Used to amplify tags
expression scriptlet
AJAX
attribute
deprecated
16. Open-source servlet container. popular servlet engine of the apache project
library
Tomcat
CSS selector
form action
17. reduces the amount of redundancy in code that may connect to the database (assists in some functionality)
build.xml
RequestDispatcher
XSL
helper class
18. 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.
URL
HttpSession
JUnit test
container
19. Object associated with a visitor; similar to a Hashtable; different set of data kept for each visitor to the site
Driver
hidden input element
JUnit test
Session
20. Computer stops examining comparisons as soon as it determines the final outcome
super()
event handler
short-circuit boolean evaluation
Structured Query Language
21. After a database query is performed this Java class provides access to the records extracted from the database
document.getElementById()
id attribute
auto_increment
ResultSet
22. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT
cookie
build.xml
jQuery theme
selector
23. The element containing the current element with no intervening container elements.
parent element
pathelement element
simple type
status code
24. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character
NodeList
box model
subclass
JSP tag
25. Provides the abstraction of an ordered collection of nodes without defining or constraining how this collection is implemented
form method
rs.next()
NodeList
servlet
26. The data transfer protocol used on the World Wide Web. About requests and responses. Uses TCP.
POST
Driver
form method
HTTP
27. A collection of standard programs and subroutines that are stored and available for immediate use
session
library
HTML strict
GET
28. Manages the behavior and data of the application. Logic and data java class
Model
library
test method
Servlet
29. a test of each individual component (often a program) to ensure that it is as defect-free as possible
unit test
Driver
Static class member
Statement
30. Bean that only survives for current request
deprecated
request scope
setter method
application scope
31. Sets a property value or values in a Bean.
<jsp:setProperty>
record
5XX status code
W3C
32. 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
constructor
ServletContext
static content
attribute
33. Database that represents data as a collection of tables in which all data relationships are represented by common values in related tables
relational database
attribute
helper class
catch
34. 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).
application scope
id attribute
URL
request
35. Scope of variables whose values persist through several client visits back to the same site but not over the life of the application
session scope
JAR file
TCP (Transport Layer Protocol)
import statement
36. Retrieves values in JDBC
getter method
entity
getXXX method
session object
37. Specification about a tag (first ordered list: 1-2-3 or A-B-C)
assertEquals()
scriptlet
static content
attribute
38. If you want to use the same path-like structure for several tasks - you can define them with this
foreign key constraint
document.getElementById()
PreparedStatement
pathelement element
39. Protocol layering is a common technique to simplify designs by dividing them into functional layers each concerned primarily with one task.
JavaScript
id attribute
request object
protocol layering principle
40. The function for the browser to run when the server responds to your request
Transitional
Servlet
onreadystatechange
Caching
41. what an MVC is given by a database
persistence
block display
Servlet
assertEquals()
42. 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).
getter method
response
table
status code
43. Extension of JAR task with special treatment for files that should end up in WEB-INF directories of the Web Application Archive
war task
5XX status code
<jsp:setProperty>
Controller
44. Requires every value of one attribute of a table to exist as a value of another attribute in a different relation (table)
try
foreign key constraint
TextNode
$_SESSION
45. This Java class is used in JDBC pages to execute SQL statements and provides protection against SQL scripting attacks
PreparedStatement
$_REQUEST
constructor chaining
URL
46. Improving the design of existing software code. doesn't change the observable behavior of the software; it improves its internal structure
XML Schema
refractor
element
Connection
47. Specifies where to send the form-data when a form is submitted.
form action
request Bean scope
Expression Scriptlet
session attribute
48. allows you to create and bind objects to a session. is often used for managing security credentials and for managing state among multiple pages (such as in a Web-based wizard). Lasts for life of request
Asynchronous method
viewport
field
session scope
49. 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
valid
constructor chaining
Element
50. Any item that can be manipulated such as picture and data file or text.
radio button
response
CSS selector
object