Exam 13: Programming for Web Forms Tutorial

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The Luhn Algorithm provides a quick validation check on an account number by ensuring that the sum of the digits in the number meet certain mathematical criteria

(True/False)
4.8/5
(23)

What does & signify in the string "R2D2&C3PO"?

(Multiple Choice)
4.9/5
(30)

The select.name method returns the selection list field name.

(True/False)
4.9/5
(37)

Identify the method that can be used to create an array of substrings.

(Multiple Choice)
4.8/5
(39)

Case based critical thinking Case 13-3 Thomas is working on reference forms and form fields. He wants to use event handlers that can respond to user actions within a form. He uses the element.onchange event handler. Identify the description of the event handler Thomas has used.

(Multiple Choice)
4.9/5
(40)

The charAt() method can extract long text strings.

(True/False)
4.8/5
(31)

The element.onselect event handler signifies that the element value is invalid.

(True/False)
4.9/5
(30)

Identify the toLocaleString() method that gives you more control while formatting numeric values.

(Multiple Choice)
4.9/5
(31)

Which of the following CSS selector returns the option button that is checked within the protection field?

(Multiple Choice)
4.9/5
(41)
Match the following properties/methods to their respective descriptions.
Allows the browser to automatically complete form fields
element.validity.tooLong
The element contains valid data, satisfying all constraints.
form.reset()
The element contains data that does not match the character pattern specified in the pattern attribute.
element.validity.valid
Correct Answer:
Verified
Premises:
Responses:
Allows the browser to automatically complete form fields
element.validity.tooLong
The element contains valid data, satisfying all constraints.
form.reset()
The element contains data that does not match the character pattern specified in the pattern attribute.
element.validity.valid
Resets the web form
form.requestAutocomplete()
Allows the browser to automatically complete form fields
form.submit()
Returns the number of elements in the form
form.length
The field element, element , contains data that the browser is unable to convert.
element.validity.customError
The element contains data that does not match the data type specified by the type attribute.
element.validity.badInput
Initiates autocompletion of those form fields that have autocomplete activated
element.validity.patternMismatch
Submits the web form
element.validity.typeMismatch
The element contains valid data, satisfying all constraints.
form.autocomplete
(Matching)
4.9/5
(33)

Using the _____, you can direct the browser to retrieve specific information about the URL, to reload the current page, or to load an entirely new page.

(Multiple Choice)
4.9/5
(31)

The code of a regular expression can be directly entered in JavaScript as a _____.

(Multiple Choice)
4.9/5
(38)

Since a page can contain multiple web forms, JavaScript organizes the forms into _____ object collection.

(Multiple Choice)
4.8/5
(36)

In a regular expression, you can define two possible patterns for the same text string by joining different patterns using the _____ character. 13

(Multiple Choice)
4.9/5
(41)

Case based critical thinking Case 13-1 Sarah wants to set the value of an input control. She applies the element.value = value; expression. What does element signify in the expression that Sarah has used?

(Multiple Choice)
4.8/5
(31)

Identify the use of string.indexOf(str [,start]) method.

(Multiple Choice)
4.8/5
(40)

Radio buttons are grouped by a common field name placed within the _____ array.

(Multiple Choice)
4.7/5
(45)

For options buttons and check boxes, you can use the onclick event handler in response to the user clicking those elements.

(True/False)
4.7/5
(37)

Identify the syntax used to group character symbols so they can be treated as a single unit.

(Multiple Choice)
4.7/5
(38)

With no arguments, the toLocaleString() method displays the numeric value using the local standards on the user's computer.

(True/False)
4.7/5
(39)
Showing 41 - 60 of 78
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)