McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Center | Instructor Center | Information Center | Home
Sample Code
Multiple Choice Quiz
True or False
E-Lectures
Feedback
Help Center


Programming the Web Using XHTML and JavaScript
Larry Randles Lagerstrom

Increasing the Interactivity

True or False



1

The statement if(m == n){ alert("equal") } may be written equivalently as if(m == n) alert("equal")
A)TRUE
B)FALSE
2

The statement if(m == n){ alert("equal") } may be written equivalently as if m == n alert("equal")
A)TRUE
B)FALSE
3

JavaScript's "not equal" operator is <>
A)TRUE
B)FALSE
4

In versions of HTML before XHTML it's OK to write the <input> tag's checked attribute without a value.
A)TRUE
B)FALSE
5

The <input> tag's checked property can have any of the Boolean values true, false, True, False, TRUE, FALSE, 1, or 0.
A)TRUE
B)FALSE
6

All radio buttons in a group should have the same value for the id attribute.
A)TRUE
B)FALSE
7

Since all radio buttons in a group have the same value for the name property (e.g., flavorBttn), the name itself can be used for selecting a button in the group by using square brackets (e.g., flavorBttn[1]).
A)TRUE
B)FALSE
8

If all check boxes in a group are given the same value for the name attribute, then only one checkbox may be selected. Selecting another checkbox will deselect the currently selected one.
A)TRUE
B)FALSE




McGraw-Hill/Irwin