ISDS FINAL 13, LSU ISDS 3105 FINAL EXAM
Since a page can contain multiple web forms, JavaScript organizes the forms into
_____ object collection. - Answers-document.forms[idref]
Which of the following expressions can be used to reference a form element using its
name or id attribute? - Answers-form.elements.ename;
Identify the input field property or method that can be used to remove the focus from the
input box.
a. input.focus()
b. input.pattern
c. input.blur()
d. input.required - Answers-input.blur()
Identify the input field property or method that can be used to return the current value
displayed in the input box. - Answers-input.value
Which of the following selection list properties returns true if more than one option can
be selected from the list? - Answers-select.multiple
_____ is a selection list property that returns the number of options displayed in the
selection list. - Answers-select.size
Identify the options object collection in which the selection list options are organized. -
Answers-select.options[idref]
Identify the toLocaleString() method that gives you more control while formatting
numeric values. - Answers-value.toLocaleString(locale, {options})
Which of the following descriptions corresponds to the currency:code option from the
toLocaleString() method? - Answers-Currency symbol to use for currency formatting
where code designates the country or language
The _____ option from the toLocaleString() method indicates whether to use a
thousands grouping symbol (true) or not (false). - Answers-useGroup: Boolean
For options buttons and check boxes, use the _____ event handler in response to the
user clicking those elements. - Answers-onclick
In many web forms, important data is stored within _____ so that the data is available to
programmers but removed from the user's control. - Answers-hidden fields
Identify the reason for which <form method="get" action="url"> attribute is added to a
form element. - Answers-To append form data to the URL
, 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. - Answers-location
object
Identify the method associated with browser locations that can find the protocol,
hostname, and port number of the URL. - Answers-location.origin
Which of the following location methods returns the href portion of the location's URL? -
Answers-location.toString()
Identify the description of the option.selected property. - Answers-It returns true if the
option has been selected by user.
Radio buttons are grouped by a common field name placed within the _____ array. -
Answers-options[idref]
The _____ property returns a Boolean value indicating whether the option button,
option, is currently checked by a user. - Answers-option.checked
Which of the following CSS selector returns the option button that is checked within the
protection field? - Answers-input[name="protection"]:checked
Identify the object constructor that can be used to create a text string explicitly. -
Answers-stringVar = new String(var);
Which of the following methods can be used to reference a character at the index i of
the string? - Answers-string.charAt(I)
Which of the following methods can be used to extract longer text strings? - Answers-
string.slice(start [,end])
Identify the method that can be used to create an array of substrings. - Answers-
strArray = string.split(str)
Identify the use of string.indexOf(str [,start])method. - Answers-To search for the
occurrence of a substring within larger text strings
Regular expressions have the general form denoted as _____. - Answers-/pattern/
Identify the action for which the g flag is added at the end of the regular expression
/pattern/. - Answers-To perform a global search
Identify the description for the \b character type. - Answers-A word boundary
Which of the following character types is used for any non-white-space character? -
Answers-\S
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller GEEKA. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.99. You're not tied to anything after your purchase.