Web Form Design and JavaScript Fundamentals, Exams of Nursing

Key concepts and techniques related to web form design and javascript fundamentals. It provides an overview of various form elements, including selection lists, field sets, form buttons, and numeric input controls. The document also delves into javascript programming basics, such as variables, functions, loops, conditional statements, and event handling. Additionally, it explores topics like client-side programming, array manipulation, and regular expression validation. This comprehensive resource would be valuable for students studying web development, user interface design, and introductory programming courses at the university level.

Typology: Exams

2023/2024

Available from 10/11/2024

PREJONATO
PREJONATO 🇺🇸

4.3

(7)

9K documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
LSU ISDS 3105 Final
Exam solution manual
A _____ is created using the select and option elements
that present users with a group of predefined possible
values for the data field. - answer ✅✅selection list
Every field set must contain the _____ element, which
should have only text and no nested elements for
describing its content. - answer ✅✅legend
get and post are two possible values for the _____
attribute. - answer ✅✅method
Identify a syntax that displays a selection list as a scroll
box with 5 options visible in the web form. - answer
✅✅<select size="5"> ... </select>
pf3
pf4
pf5
pf8

Partial preview of the text

Download Web Form Design and JavaScript Fundamentals and more Exams Nursing in PDF only on Docsity!

LSU ISDS 3105 Final

Exam solution manual

A _____ is created using the select and option elements that present users with a group of predefined possible values for the data field. - answer ✅✅selection list Every field set must contain the _____ element, which should have only text and no nested elements for describing its content. - answer ✅✅legend get and post are two possible values for the _____ attribute. - answer ✅✅method Identify a syntax that displays a selection list as a scroll box with 5 options visible in the web form. - answer ✅✅

Identify a widget that allows the user to interact with the form for entering numeric values confined to a specified range. - answer ✅✅Slider control Identify an attribute that can be added to the input element to validate a text value against a regular expression. - answer ✅✅pattern="regex" Identify the type of control that performs an action. - answer ✅✅A form button Which of the following is true of field sets? - answer ✅✅Field sets act like block elements that can expand to accommodate their content. In the accompanying figure, Box B points to _____. - answer ✅✅option buttons In the accompanying figure, Box E represents a _____. - answer ✅✅Spin box A _____ is any group of characters enclosed within either double or single quotation marks in JavaScript. - answer ✅✅ text string Identify a statement that is added to the first line of the file to run a script in strict mode. - answer ✅✅"use strict";

Identify the general structure for accessing each value from an array using for loop. - answer ✅✅for (var i = 0; i < array.length; i++) { commands involving array [i] } What is the output of the following code? for (var i = 0; i <= 360; i+=60) - answer ✅✅i = 0, 60, 120, 180, 240, 360 identify the expression used to reference array values. - answer ✅✅array [i] Identify the general structure of a for loop. - answer ✅✅for (start; continue; update) { commands } Identify the structure of an if statement. - answer ✅✅if (condition) { commands } Which of the following determines the current size of an array? - answer ✅✅array.length Which of the following examples tests whether x is equal to 5 or y is equal to 8? - answer ✅✅(x === 5) II (y === 8)

Identify a method that is used to create a subarray - answer ✅✅slice() Which of the following statements is used to terminate any program loop or conditional statement? - answer ✅✅break For array data that should be treated as a queue, the _________ method is used, which is similar to the pop() method except that it removes the first array item and not the last. - answer ✅✅shift() Identify the sequence of the occurrence of events when a user types a keyboard key. - answer ✅✅keydown, keypress, keyup In the _______ phase, the event moves down the object hierarchy, starting from the root element and moving inward until it reaches the object that initiated the event.

  • answer ✅✅capture The ______ event property returns a Boolean value that indicates whether the browser depends upon the event. - answer ✅✅evt.isTrusted The ______ object property references the browser window in which the event has occurred. - answer ✅✅evt.view

For options buttons and check boxes, use the ______ event handler in response to the user clicking those elements. - answer ✅✅onclick Identify the description for the \b character type. - answer ✅✅A word boundary Identify the description of the option.selected property. - answer ✅✅It returns true if the option has been selected by user Identify the reason for which

attribute is added to a form element. - answer ✅✅To append from data to the URL In many web forms, important data is stored within ______ so that the data is available to programmers but removed from the user's control. - answer ✅✅hidden fields Radio buttons are grouped by a common field name placed within the ____ array - answer ✅✅options [idref] Since a page can contain multiple web forms, JavaScript organizes the forms into _____ object collection. - answer ✅✅document.forms [idref] 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. - answer ✅✅location object

Which of the following selection list properties returns True if more than one option can be selected from the list?

  • answer ✅✅select.multiple _______ is a selection list property that returns the number of options displayed in the selection list. - answer ✅✅select.length, select.size