NEW
Font size
S
M
L
XL
WorksheetsSDA uCertify Lesson 6
Total questions: 25
Worksheet time: 13mins
Name
Class
Date
1.
Which of the following actions will re-display Web form fields with their default values?
a)
Resetting the form
b)
Submitting the form
c)
Processing the form
d)
E-mailing the form
2.
Which of the following actions will upload user data from a Web form to the receiving server?
a)
Processing the form
b)
Resetting the form
c)
Storing the form
d)
Submitting the form
3.
Server-side CGI scripts are commonly written in which language?
a)
JavaScript
b)
Perl
c)
JScript
d)
VBScript
4.
Which of the following is the de facto (standard of choice) standard used to process Web forms?
a)
Common Gateway Interface (CGI)
b)
Active Server Pages (ASP)
c)
JavaServer Pages (JSP)
d)
Search engine optimization (SEO)
5.
What is the term for code embedded into an HTML page and downloaded by a user to help process Web form input?
a)
Server-side script
b)
Common Gateway Interface (CGI)
c)
Client-side script
d)
Structured Query Language (SQL)
6.
Which choice lists the elements that are necessary for a CGI session?
a)
Web form, server-side script, client-side script and Web client with the UNIX operating system
b)
Web browser, CGI script, Web form and Web client with the UNIX operating system
c)
Web browser, Web form, server-side script and client-side script
d)
Web browser, CGI script, Web form and Web server with a CGI interpreter
7.
Which of the following must occur before a CGI script can process Web form data? (keep it simple)
a)
The user must convert the data into raw text strings.
b)
The user must enter the data into the Web form and submit it.
c)
The user must render the human-readable data into a CGI-compatible format.
d)
The user must remove extraneous information before submitting the Web form.
8.
When you submit a Web form, the browser sends the information entered in this form to the Web server as:
a)
a client-side script.
b)
a server-side script.
c)
a raw text string.
d)
hexadecimal code.
9.
Which <input> tag attribute organizes Web form information submitted by the user into the basic elements for a raw text string, which is then processed by the Web server?
a)
The action attribute
b)
The method attribute
c)
The type attribute
d)
The name attribute
10.
In a raw text string, which of the following is used to delimit name=value pairs?
a)
Pipe symbols ( | )
b)
Ampersands ( & )
c)
Plus signs ( + )
d)
Quotation marks ( " " )
11.
In a raw text string, which of the following is used to replace spaces entered by the user?
a)
Plus signs ( + )
b)
Ampersands ( & )
c)
Underscores ( _ )
d)
Quotation marks ( " " )
12.
What occurs when the Web server receives raw text strings from the client?
a)
A CGI script parses and formats the raw text strings into a computer-readable format.
b)
A CGI script strips the values from the name=value pairs and creates a database containing the data input by the user.
c)
A CGI script parses and formats the raw text strings into a human-readable format.
d)
A CGI script replaces spaces with plus signs ( + ) and inserts ampersands ( & ) between name=value pairs in the raw text strings.
13.
Which of the following can be considered a disadvantage of using FormMail?
a)
Older versions of FormMail could be fooled into sending e-mail to anyone.
b)
A Perl interpreter is required before FormMail can receive information from a Web form.
c)
You can receive Web form information from FormMail only via e-mail.
d)
You must customize FormMail to your specifications before you can use it.
14.
FormMail is a CGI script that is designed to receive information from a Web form. FormMail is popular because it:
a)
is widely available for a nominal fee.
b)
sends form information to you via e-mail.
c)
is written in JavaScript.
d)
prevents spam from proliferating on the Internet.
15.
The main difference between form creation in HTML5 versus form creation in HTML 4.01 is:
a)
Cascading Style Sheets (CSS) can be used for all form styles but are not yet supported by most browsers.
b)
Advanced features are now available for better control of validation and input control.
c)
Forms no longer require a Common Gateway Interface (CGI) program to process the script.
16.
In Microsoft Internet Explorer, what occurs on a Web form if you omit the closing </form> tag?
a)
The form will render but the form fields will appear as blank boxes with "Xs" in them.
b)
The form fields will render and users will be able to submit information.
c)
The form fields will render but users will not be able to submit any information
17.
Which attribute is associated with the <form> element and is used to specify the name and location of the CGI script used to process the form?
a)
The action attribute
b)
The method attribute
c)
The name attribute
d)
The type attribute
18.
Which <form> tag attribute uses the "get" and "post" values to specify how the browser will send form data to a Web server?
a)
The type attribute
b)
The name attribute
c)
The action attribute
d)
The method attribute
19.
Which <form> tag attribute specifies the process required to send form data to a Web server?
a)
The action attribute
b)
The name attribute
c)
The method attribute
d)
The type attribute
20.
When creating Web forms, you use the <input> tag to:
a)
create text boxes, check boxes, radio buttons, and the Submit and Reset buttons.
b)
create form fields into which the user can enter multiple lines of text.
c)
create single-option and multiple-option lists from which the user can choose items.
d)
create a form into which you can input various form fields.
21.
When using the <input> tag, you designate the form field type by assigning the appropriate value to:
a)
the name attribute.
b)
the type attribute.
c)
the select attribute.
d)
the textarea attribute.
22.
When creating a Web form, which tag should you use to create a list from which users can choose one or more options?
a)
The <form> tag
b)
The <select> tag
c)
The <input> tag
d)
The <textarea> tag
23.
Which Web form field allows users to choose from among two or more mutually exclusive options?
a)
Text box
b)
Select list
c)
Check box
d)
Radio button
24.
Which Web form field allows users to choose from among two or more non-exclusive options?
a)
Radio button
b)
Check box
c)
Select list
d)
Text box
25.
The most common form field used in designing Web forms is the:
a)
text box.
b)
check box.
c)
radio button.
d)
text area.
Reset
