ist 226 final review
lossless
Data is compressed by removing redundant information using _____ compression.
align:value
Ria is creating a website that includes videos. She wants to apply subtitles to the video clip and arrange the text horizontally within the cue. Which of the following cue attributes should she include in the code to accomplish this?
Theora
The video codec used for the Ogg video format is _____.
animation-iteration-count = infinite
Identify an animation property that repeats the animation being played without stopping.
document.getElementById(id)
Identify an expression that can be used to refer an element by its id attribute.
object.method(values)
Identify an expression used to apply a method to an object.
input::-moz-placeholder {color: rgb(255, 151, 151);}
Identify the cross-browser style sheet that changes the text color of the placeholder text for every input box to light red for the moz extension.
optgroup
Identify the element that can organize selection list options by placing them in option groups in long selection lists.
new Date(year, month, day, hrs, mins, secs);
Identify the expression that you must use to define a current date on a web page.
type
If no _____ value is specified, the browser assumes a default value of text and adds a simple text input box to the web form
id
Which of the following Flash player parameters recognizes a movie so that it can be referenced and has a value of text ?
border-collapse: separate;
Which of the following is a default value for border-collapse property?
The border style with the highest priority is used if the two borders have the same width but different styles.
Which of the following statements is true of adding adjacent borders, to a table, using CSS?
Spanning cell
_____ is a single cell that occupies more than one cell row and/or column.
Debugging
_____ is the process of locating and fixing a programming error.
Client-side
_____ programming distributes the load to prevent a server from getting overloaded with program-related requests.
object collections
Objects are organized into groups called _____.
button
Command buttons are created using the input element with the type attribute set to _____.
text area box
A _____ is a control used to enter text strings that may include several lines of content
rows and cols
HTML supports the _____ attributes to set the text area size.
True
JavaScript is case sensitive
input
The check box control is created using the _____ element.
False
The post method is the default method that tells the browser to append the form data to the end of the URL specified in the action attribute.
validation
The process of ensuring that the user has supplied correct data is called _____ .
text-align
Which of the following CSS properties is used to align the caption text horizontally?
<th>
Which of the following HTML elements is used to create header cells in a web table?
loop
You want an embedded media clip to automatically restart when it has finished playing. Which of the following HTML audio and video element attributes must you include in his code to accomplish this?
maxlength
You want to ensure that the text box should accept only 5 characters for entering a zip code. Which attribute of a text box will allow you to do this?
<audio controls> <source src="cp_overture.aac" type="audio/mp4"/> </audio>
You wantt to embed an audio clip within the web page. Which of the following snippets must you include to embed an audio element in the web page along with the source and the type files?
Radio buttons
_____ are like selection lists in which they limit fields to a set of possible values; but, unlike selection lists, the options appear as separate controls in the web form.
Placeholders
_____ are text strings that appear within a form control, providing a hint about the kind of data that should be entered into the field.
MediaElement.js
_____ is an HTML5 audio and video player with support for Flash and Microsoft Silverlight.
mpeg-4
_________ is a widely used proprietary format developed by Apple based on the Apple QuickTime movie format
ogg
_________ is an open source format developed by the Xiph.org Foundation using the Theora codec as an alternative to the MPEG-4 codec.
column
_________ layouts are the layouts in which content is displayed side-by-side in a page and differs from those layouts that use floating elements or flexboxes.
focus
_________ refers to the state in which an element has been clicked by the user, making it the active control on the form.
pattern="regex"
dentify an attribute that can be added to the input element to validate a text value against a regular expression.
spinner control
A _____ is used to restrict numeric values by displaying an up or down arrow to increase or decrease the field value by a set amount
plug-in
A _________ is a software program accessed by a browser to provide a feature or capability nonnative to the browser.
checked
A check box can be selected automatically by adding the _________ attribute to the input element.
controls
A form contains _____, also called widgets, which are the objects that allow the user to interact with the form
Three
A table contains five columns where one of the cells in a row spans three columns. Identify the number of table cells that will exist in that row.
src
A user can create an embedded script by removing the _____ attribute and placing all of the JavaScript code within the script element.
object
A video embedded on a web page is a(n) _____ and has properties such as source of the video file or the width and height of the video player.
text string
A(n) _____ is any group of characters enclosed within either double or single quotation marks in JavaScript.
embedded
A(n) _________ script can be created by omitting the src attribute and placing all of the JavaScript code within the script element so that an external file need not be used.
selection list
By default, a _________ appears as a drop-down list box.
inline
By default, browsers display input boxes as _____ elements with a default length of 20 characters.
container
Codecs are placed within a _____ that handles the packaging, transportation, and presentation of data.
Three
Consider the following code.<colgroup><col span="2" class="Frstcols"/><col id="Lastcol"/><colgroup> How many columns does the <colgroup> element create?
td
Data cells that do not function as headers for table rows or columns are marked using the _____ element.
strict mode
Developers advocate that JavaScript be run in _____ in which all lapses in syntax result in load-time or run-time errors.
document object model
Document objects are organized in hierarchical structures called the _________.
legend
Every field set must contain the _____ element, which should have only text and no nested elements for describing its content.
field set
Grouping dozens of different fields into a _________ that a web form can have, makes the form easier to interpret and more accessible.
var dateDiv = document.getElementById("dateNow");
Identify a command that uses the dateDiv variable to refer the page element with ID dateNow
range
Identify a data type applied in an input element to create slider controls.
Data list
Identify a list which when applied to an input box, the values appear as a pop-up list of suggested values.
element.innerHTML
Identify a property used to refer an HTML code that is stored within a page element.
indeterminate
Identify a pseudo-class for a check box or option button whose toggle states cannot be ascertained.
F12
Identify a shortcut key on the keyboard to open the debugging tools.
"use strict";
Identify a statement that is added to the first line of the file to run a script in strict mode.
column-width
Identify a style property that creates a column size of 200-pixels.
<select size="5"> ... </select>
Identify a syntax that displays a selection list as a scroll box with 5 options visible in the web form.
<label for="register">Date of registration</label> <input name="registerDate" id="register" type="date" />
Identify a syntax that sets the data type of the registerDate field to "date".
<input name="name" id="id" type="number" value="value" step="value" min="value" max="value" />
Identify a syntax used to create a spinner control using an input element.
JavaScript intercepts the content of the form before the browser attempts to contact the CGI script and report whether the data contained in the survey form has been correctly filled out or not.
Identify a true statement of a JavaScript program in a web form.
Slider control
Identify a widget that allows the user to interact with the form for entering numeric values confined to a specified range.
subtitles
Identify the kind attribute that is a default translation of a dialog from a media clip whose language is specified in the srclang attribute.
It identifies the form.
Identify the significance of "text" in <form id="text">.
A form button
Identify the type of control that performs an action.
Slider control
Identify the widget that limits a numeric field to a range of possible values by allowing users to drag a marker horizontally across the possible field values.
B
In the accompanying figure of graphing the transition timings, the vertical axis measures the progress of the transition toward completion and the horizontal axis measures the duration. Which of the following graphs labelled A, B, C, and D represents the ease-in-out timing?
option buttons
In the accompanying figure, Box B points to _____.
spin box
In the accompanying figure, Box E represents a _____.
ease-out
In the accompanying figure, the value of the timing-function is _____.
preload
In the context of HTML audio and video element attributes, the _____ attribute's type includes auto , none , and metadata .
metadata
In the context of HTML audio and video element attributes, the preload attribute's type _____ is used to preload only descriptive data about a particular clip.
the second cell in rows two and three that spans seven columns
In the given figure, Box A refers to _____.
creating interactive web forms and animated graphics.
JavaScript is used as a programming tool for:
virtual keyboards
Most mobile and tablet devices do not have physical keyboards; instead, they use _________ that exist as software representations of the physical device.
media player
Once an audiovisual aid has been stored within a container file, a _____ is required to decode and play that content.
<table>
Only one caption is allowed per web table, and the caption element must be listed directly after the opening _________ tag.
button
The ____ element is used to create a custom option.
required
The _____ attribute must be added to the control to identify whether the data has been supplied to those fields that are opposed to the ones that are optional.
async
The _____ attribute tells a browser to parse the HTML and JavaScript code together, only pausing to process the script before returning to the HTML file.
input
The _____ element is used to mark the form controls that are designed to receive user responses.
textContent
The _____ property should be used only when no markup tags are involved.
name
The _________ attribute is always needed in an input element while submitting the form to a server
script
The _________ element is an HTML element used to access and run JavaScript programs that will run within the user's browser
object
The _________ element, which replaced the embed element, is used for any type of content such as sound, video clips, graphic images, PDF files, and even the content of other web pages.
cubic
The advantage of the _________ Bézier curves approach is that a wide variety of timings can be defined, including timings in which a transition can stop, reverse itself, and then go forward again to its end state.
True
The appearance of a command, submit, and reset button is determined by the browser.
line:value
The cue attribute _____ places a cue vertically within the video window, where value ranges from 0% (top) to 100% (bottom).
separate
The given figure is an example of the _____ borders model.
server-side
The process of validation that takes place on the web user is called _________ validation.
True
The style rule border-spacing: 10px; specifies that all borders within a table should be separated by a distance of 10 pixels.
True
The style rule columns: 250px 4; creates a layout of 4 columns with a minimum width of 250 pixels each.
cue
The styles for the _____ pseudo-element are limited to the background, color, font, opacity, outline, text-decoration, text-shadow, visibility, and white-space properties.
inline validation
The technique of immediate data validation and reporting of errors is known as _____.
header cells and data cells
The two types of table cells supported by web tables are _____.
descriptions
The value of the kind attribute that provides long explanations synced to specified time points within a media clip is _____.
label
To associate a text string entered above each input element with a control, the text string should be enclosed within the _____ element.
"use strict";
To avoid fatal errors, it is advised to apply the _____ statement locally only to functions that are created rather than globally as the first line of the script file.
backslash
To break a text string into several lines, which means that the text string continues on the next line, the _____ character should be used.
content
To insert the information of the data-label attribute directly before the data cell value, the _____ property is used.
It sets each cell to span seven columns within its row.
What is the purpose of colspan in <td colspan="7"> ?
True
When a browser is unable to play an MP3 version or an OGG version of an audio file, a message is displayed as a fallback option asking the user to upgrade it.
spans
When a cell _________ multiple rows or columns, it pushes other cells to the right or down in a table.
the caption text will be displayed in the same color as the previous table
When a style for a table element is created by setting the font color to red, _____.
from and to
When animating objects with CSS, the key frame values 0% and 100% can be replaced with the keywords _____.
False
When making tracks with Web Video Text Tracks (WebVTT), white spaces are ignored.
divided equally among the columns
When the width of an entire table is set to be larger than the width required for individual columns, the extra space is _____.
colspan
Which of the following HTML attributes is used to create a single cell that occupies more than one cell from a series of horizontal cells?
<table>
Which of the following HTML structures arranges text in multiple rows and columns?
.ogg
Which of the following audio formats in HTML provides better sound quality, especially at lower bit rates?
Google Chrome
Which of the following browsers supports all audio formats such as MP3, Advanced Audio Coding (AAC), Ogg, and WAV?
safari
Which of the following browsers supports only the MPEG-4 video format?
<th>
Which of the following is an equivalent HTML element for display: table-cell; style?
Customized objects
Which of the following is created by a programmer for use in an application.
The cue is matched with specific time intervals within a media clip.
Which of the following is true of a cue in a Web Video Text Tracks file?
Animation creates an illusion of movement by displaying key frames in rapid succession.
Which of the following is true of animating objects in CSS?
Field sets act like block elements that can expand to accommodate their content.
Which of the following is true of field sets?
It allows the user to move both the label text and the control as a single unit around the page.
Which of the following is true of nesting a control within a label?
A table can contain only one thead and tfoot element but can have numerous tbody elements.
Which of the following is true of row groups that are defined in an HTML table?
It enables the active track by marking it with the default attribute.
Which of the following is true of the default attribute when adding text tracks to a video file?
A plug-in requires users to install a separate application in addition to their web browsers.
Which of the following is true of the plug-in approach to deliver multimedia content?
CSS
Which of the following languages is used to set the width of a media player, add borders, drop shadows, and apply filters and transformations to the media player's appearance?
Math.ceil(x)
Which of the following methods of the Math operator rounds x up to the next highest integer?
column-count;
Which of the following properties helps make the content on a web page more readable by spreading content into a specific number of columns on a single page?
column-span: none;
Which of the following properties prevents the spanning of content across all the columns?
Initial state background: white; color: black; transition: background 4s; End state background: green; color: white;
Which of the following set of transition properties depicts the given image?
The rows are determined based on the total number of cells within a table.
Which of the following statements is true of row groups?
table.product {background: white; border: 10px; width: 100%;}
Which of the following style rules should you add to place a border of 10-pixels around a table with a white background?
function function_name(parameters){ commands return value;}
Which of the following syntax is used for a function to return a value?
Table cells
Which of the following table objects has the highest precedence in terms of style?
ease-out
Which of the following timing-function keywords allows a transition to occur at a constant rate and then slow down toward the end?
method
get and post are two possible values for the _____ attribute.
data cells and column cells
n the given figure, the items marked Box A and Box B are the _____ respectively.
run-time error
A _____ occurs after a script has been successfully loaded with no syntax errors and is being executed by a browser.
semicolon
A command that indicates an action for the browser to take should end with a _____.
data field
A data entry control is associated with a _____ in which data values supplied by the user are stored
inherited
A ny style that is applied to the thead, tbody, or tfoot element is _________ by the rows those elements contain.
embedded object
A plug-in either opens in its own external window or runs within a web page as a(n) _____.
function
A(n) _____ is a collection of commands that performs an action or returns a value.
variable
A(n) _____ is a named item in a program that stores a data value, such as a number or text string, or an object, such as a part of the web browser or browser window
above the table
By default, a browser places a table caption _____.
article p { orphans: 3; widows: 2; }
Which of the following styles sets the column breaks within paragraphs to leave a minimum of two and three lines at the top and bottom of each column respectively?
Built-in objects
_____ are intrinsic to the JavaScript language.
Inline frames
_____ are windows that are embedded within a web page that displays the content of another page or Internet resource
Codecs
_____ compress data so that it can be transmitted in a fast and efficient manner and then decompress it when it is to be read or played back.
JavaScript
_____ is the programming language for client-side programs.
class is an attribute.
Which of the following is true of class in the table tag <table class=" "> ?
fallback option
Colin has created a web page that supports multiple audio sources. However, he is unsure if the browsers used by his clients will support the audio format he has included. Which of the following must he include in the code to notify the clients about any browser upgradation required to play an audio file?
4A5B6C
Consider the following text string consisting of four As followed by five Bs and six Cs. Identify a string that ensures no loss of information.
caption-side: position;
Identify a CSS property to place a table caption.
window.alert("Hello World!");
Identify a command that displays a dialog box containing the message "Hello World!".
parseFloat(string)
Identify a function that extracts the first numeric value from the text string .
setInterval("command", interval)
Identify a method that repeatedly runs commands at specified time breaks in a function created.
column-rule
Identify a property that is used to separate one column from the next using graphic dividing line.
NaN
Identify a return value for the expression 5/"A" using JavaScript.
<option value="value" selected>text</option>
Identify a syntax of the option element that contains an attribute to make an option as default in a selection list
setTimeout("command", delay);
Identify a syntax to set the time-delayed commands.
The number of columns is the number of cells within the table rows.
Identify a true statement to determine the number of columns in a web table.
<table>, <tr>, <td> </td>, </tr>, </table>
Identify the correct hierarchy of tags to create a web table.
Add a text of data labels as attributes of all of the td elements in the table body.
Identify the first step to create a responsive web table that relies only on CSS.
thead, tbody, and tfoot
Identify the three row groups supported by HTML.
False
In JavaScript, the clearTimeout() method is used to clear all repeated commands.
Input box
In the accompanying figure, what does Box A represent?
kind
In the element < track kind="type" src="url" label="text" srclang="lang" />, the _____ attribute defines the track category.
tbody
In the given figure, identify the row group element Box A.
script
JavaScript code is attached to an HTML file using the _____ element.
defer
The _____ attribute can be applied to the script element to ensure that an object can be referenced within a JavaScript program that runs only after the page has completed loading.
colspan
The _____ attribute is added to a <td> element to create a cell that spreads across several cells vertically.
load-time
The _________ error occurs when a script is first loaded by a browser.
syntax error
The browser halts loading a script before trying to execute it if a(n) _________ is detected.
<colspan="value"/>
The columns within the colgroup element are identified by the _____ element.
size:value
The cue attribute _____ sets the width of a cue as the percentage of the width of a video window
centered horizontally
The default browser style for header cells is to display the text of the header in bold font and _____ within the cell.
True
The task of controlling video playback requires an external JavaScript program as there are no CSS styles to control the video playback.
breakpoints
The technique for locating the source of an error is to set up _____, which are locations where the browser will pause the program, allowing the programmer to determine the error at that position.
@keyframes
To define a sequence of key frames in CSS, the _________ rule is applied.
1-pixels
When two adjacent 1-pixel-wide borders are collapsed together, the width of the resulting border is _____.
<table border="value">
Which of the following HTML tags is used to set the width of a table border?
.m4a
Which of the following MIME types is supported by Advanced Audio Coding (AAC) file format embedded in an HTML page?
<audio src="url" attributes />
Which of the following audio elements is used to embed audio clips within a web page?
It slows down the change to an object's style and provides intermediate styles.
Which of the following is true of a transition?