ISDS Final 13, LSU ISDS 3105 Final Exam – Q’s And A’s
Since a page can contain multiple web forms, JavaScript organizes the forms
into _____ object collection. Right Ans - document.forms[idref]
Which of the following expressions can be used to reference a form element
using its name or id attribute? Right Ans - 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 Right Ans - input.blur()
Identify the input field property or method that can be used to return the
current value displayed in the input box. Right Ans - input.value
Which of the following selection list properties returns true if more than one
option can be selected from the list? Right Ans - select.multiple
_____ is a selection list property that returns the number of options displayed
in the selection list. Right Ans - select.size
Identify the options object collection in which the selection list options are
organized. Right Ans - select.options[idref]
Identify the description of the option.selected property. Right Ans - It
returns true if the option has been selected by user.
Radio buttons are grouped by a common field name placed within the _____
array. Right Ans - options[idref]
The _____ property returns a Boolean value indicating whether the option
button, option, is currently checked by a user. Right Ans - option.checked
Which of the following CSS selector returns the option button that is checked
within the protection field? Right Ans - input[name="protection"]:checked
, Identify the toLocaleString() method that gives you more control while
formatting numeric values. Right Ans - value.toLocaleString(locale,
{options})
Which of the following descriptions corresponds to the currency:code option
from the toLocaleString() method? Right Ans - 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). Right Ans - useGroup:
Boolean
For options buttons and check boxes, use the _____ event handler in response
to the user clicking those elements. Right Ans - 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. Right Ans -
hidden fields
Identify the reason for which <form method="get" action="url"> attribute is
added to a form element. Right Ans - 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.
Right Ans - location object
Identify the method associated with browser locations that can find the
protocol, hostname, and port number of the URL. Right Ans -
location.origin
Which of the following location methods returns the href portion of the
location's URL? Right Ans - location.toString()
Identify the object constructor that can be used to create a text string
explicitly. Right Ans - stringVar = new String(var);
Which of the following methods can be used to reference a character at the
index i of the string? Right Ans - string.charAt(I)
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 LeCrae. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.