Your browser does not support JavaScript. You will need to view non-JavaScript portions of this page.

CGS 2820: Summer Term 2004
On-Line Quizzes

In order to forward you your test results please enter your name & email address below:

Enter First Name followed by a space then your Last Name here



Enter E-mail Address here:



Tutorial Six: Creating Web Page Forms with HTML

Tutorial 6 Quiz Masters:

Dr. Marcelle Bessman mbessma@ju.edu [Text Input]

John Taylor (jtaylor@hccbrandon.net) [Author-Consultant]


Multiple Choice [One Answer Only]


Question 1

One way of processing information collected by a form is to send it to a program running on the Web server, which is a(n)

a) CGI script.
b) JavaScript.
c) form processor.
d) database application.

Question 2

The introduction of CGI scripts changed the way that the Web was used because

a) of the ability to maintain customer databases.
b) customers acquired the ability to locate and purchase merchandise online.
c) it allowed computer users to access a company's customer support database.
d) All of the above.

Question 3

In addition to working with data, CGI scripts also have been used for

a) reporting the number of times a Web page has been accessed.
b) creating message boards for online discussion forums.
c) managing e-mail for discussion groups.
d) All of the above.

Question 4

AppleScript, C++, PERL, and the UNIX shell are languages in which you can write ______.

a) CGI scripts
b) Java applets
c) HTML code
d) All of the above.

Question 5

You use the ______ tag to indicate to a Web browser that a page will contain fields.

a) <FORM>
b) <TABLE>
c) <HTML>
d) All of the above.
e) None of the above.

Question 6

When a page contains more than one form, use the ______ property to identify each form.

a) FORM
b) DESCRIBE
c) NAME
d) None of the above.

Question 7

A single-line box into which the user can enter text or numbers is called a(n) ______.

a) input box
b) text box
c) list box
d) scroll box

Question 8

Because different browsers display form elements in different ways, it is important to

a) create a different form for each browser that might be used to access the form.
b) use the smallest font size available so the form will display the same in each browser.
c) test the form on the various brosers, and, if possible use different operating systems to make sure the form displays correctly.
d) Both A and B.

Question 9

The correct syntax for creating an input box named Phone that is 15 characters in length is _____.

a) <INPUT NAME=Phone 15>
b) <INPUT SIZE=15>
c) <INPUTE NAME=Phone SIZE=15>
d) None of the above.

Question 10

When you set the size of an input box,

a) you limit the number of characters that the user can enter into it.
b) if a user tries to enter more characters than can display in the input box, the text will automatically scroll to the left.
c) you must use the MAXLENGTH property.
d) None of the above.

Question 11

If you require users to input a number that has a maximum of ten digits, like a telephone number, you can use the ______ property to make sure that no more than ten digits are accepted in the field.

a) LENGTH
b) MAXLENGTH
c) VALUE
d) None of the above.

Question 12

Use the _____ property to set a default value that displays in an input box when the form is initially displayed.

a) DEFAULT
b) VALUE
c) FORM
d) None of the above.

Question 13

When a user types a value in a Password field, the value displays

a) exactly as typed.
b) as bullets or asterisks.
c) as pound signs
d) All of the above.
e) None of the above.

Question 14

A(n) _____ is a list box from which the user selects a particular value or set of values, usually by clicking.

a) text box
b) input box
c) selection list
d) scroll box

Question 15

You can add the ____ property to the <SELECT> tag to allow users to select more than one choice from a selection list.

a) SELECTION
b) VALUE
c) MULTIPLE
d) All of the above.
e) None of the above.

Question 16

If your selection list box contains six items, and SIZE=6, then

a) the selection list does not display scroll bars.
b) the selection list displays dimmed scroll bars.
c) only the selected choice appears in the list box.
d) Either A or B.
e) None of the above.

Question 17

The HTML code that creates a selected radio button named Golden Retriever that belongs to the Breed group is

a) <INPUT TYPE=RADIO NAME=Breed VALUE=GR SELECTED>Golden Retriever
b) <INPUT TYPE=RADIO NAME=Breed VALUE=GR CHECKED>Golden Retriever
c) <INPUT TYPE=RADIO SELECTED NAME=Breed VALUE=GR>Golden Retriever
d) None of the above.

Question 18

Use the ____ tag to start each radio button in a group on a new line.

a) <HR>
b) <ENTER>
c) <BR>
d) None of the above.

Question 19

Use the <TEXTAREA> tag to create a field that

a) accepts extended comments.
b) is defined by the number of rows and columns.
c) might include default text.
d) All of the above.

Question 20

You can set the value of the WRAP property to ___ so that entered text qwill wrap automatically with the the text box.

a) SOFT or VIRTUAL
b) HARD or PHYSICAL
c) OFF
d) Either A or B.

Question 21

You use a button on a form to

a) run a program.
b) submit a form to a server.
c) reset a form to its original state.
d) All of the above.

Question 22

A(n) ____ can act like a Submit button on a form, so that when it is clicked the form is submitted to the server.

a) inline image
b) check box
c) radio button
d) All of the above.

Question 23

The ____ property identifies the CGI script that will process a form.

a) VALUE
b) ACTION
c) ENCTYPE
d) HIDDEN

Question 24

Which of the following TYPE properties causes a field not to display on a form?

a) VALUE
b) HIDDEN
c) UNCHECKED
d) UNSELECTED

Question 25

Which of the following notations creates a comment in your HTML code?

a) !
b) !!!
c) ---
d) !---
e) All of the above.

Question 26

The ___ property controls how your Web browser sends data to the Web server running the CGI script.

a) VALUE
b) ACTION
c) ENCTYPE
d) METHOD
e) None of the above.

Question 27

Use the ____ property with the <FORM> tag to identify which frame receives the output from a CGI script.

a) FRAME
b) TARGET
c) GET
d) POST

Question 28

The ____ property specifies the format of the data when it is transferred from the Web page to the CGI script.

a) VALUE
b) ACTION
c) ENCTYPE
d) METHOD

Question 29

A disadvantage of using a MAILTO in your form is that

a) not all Web browsers support it.
b) it requires a CGI script.
c) Both A and B.
d) None of the above.

Question 30

The ____ MAILTO character(s) represents a line break or new field.

a) &
b) %7E
c) +
d) None of the above.



True/False Questions


Question 31

CGI stands for Common Gateway Interface

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 32

CGI scripts gave users access toprograms that react to user input, which allowed companies to interact with customers in ways that went beyond static Web documents.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 33

The <FORM> tag is a single-sided tag.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 34

An easy way to alighn data is a form is to use the <TABLE> tag.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 35

The NAME property is optional in an <INPUT> tag.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 36

In the <INPUT> tag, TEXT is the default TYPE value.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 37

HIDDEN, PASSWORD, and RESET are valid <INPUT> TYPE values.

b) The statement above is TRUE.
a) The statement above is FALSE.


Question 38

The syntax for creating a Password field is <INPUT TYPE=PASSWORD>.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 39

Use the SELECTED property with the <OPTION> tag to indicate the default selected item in a selection list.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 40

The syntax for the METHOD property is <FORM METHOD=Type> where Type is either GET or POST.

a) The statement above is TRUE.
b) The statement above is FALSE.



Fill-in-the-Blank


Fill in the Blank with the word(s) that best fits the definition:

(hint: use vocabulary from the checkboxes below)

Question 41. Check with your ISP, Webmaster, or your system administrator to find out how (three letters) scripts are used on your server and what types of rights and privileges you have in working with them.


Question 42. The tag includes properties that control how the form is processed, including information on what CGI script to use, how the data is to be transferred to the script, and so forth.


Question 43. When information from a form is sent to a CGI script, (two words) are used to identify what values have been entered into each field.


Question 44. The syntax for creating a Password field is .(type the tag-three words)


Question 45. To move from one input box to the next on a form, press the key.


Question 46. In a <SELECT> tag, you specify individual selection items using the tag.


Question 47. In the HTML code <OPTION VALUE=2>Dalmation, the value is sent to the CGI script.


Question 48. Radio buttons use the same <INPUT> tag as input boxes, except that the TYPE property is set to .


Question 49. To make a particular radio button the default option, add the attribute to the following tag: <imput type="radio" > .


Question 50. When a field contains a predefined value that customers should not be able to change, you should set the TYPE property to .





I have


Please add a comment below



The 'Muddy Water' Issues that I need help on are as follows:





I need class review on the following vocabulary words from this chapter:

ACTION property CGI Script ENCTYPT property field field value

GET Method POST Method Input Box METHOD Property Password Field

Selection List



When you have completed this quiz, press the ALL DONE-CHECK TEST button below to check the test! Then you may go back and change the incorrect answers before you submit the test. You may check the answers as many times as you need until you achieve a perfect grade. Sometimes the pop-up box does not appear when you click on the button after checking the test the first time. If this happens, minimize the test and the answer box will be behind the browser. close the box and maximize the test to continue checking the test and finally submitting it.



When you have finished checking the test, press the SUBMIT button to send answers to your instructor


Back to CGS 2820 Course Menu Page



Users whose browser does not support JavaScript, when you have completed this quiz click the submit button below to send answers to your instructor