You are on page 1of 13

StudyBlue / Iowa / Iowa State University / Computer Science / Computer Science 106 / Chang / ComS 106X Final

ComS 106X Final


Computer Science 106 (/notes/iowa-state-university/c/cs-106/978264/0) with Chang (/notes/iowa-stateuniversity/chang-professor/1551237/0) at Iowa State University (/notes/iowa/iowa-state-university/807)

The material on this site is created by StudyBlue users. StudyBlue is not affiliated with, sponsored by or endorsed by the academic institution or instructor.

Get started today for free


(/hello?
site=flashcard/view/16234462&closeForm=false)

Katie B.
Created: 2015-12-14
Last Modified: 2015-12-15

Size: 60 Views: 55

Using a Web page form


for user input reduces
the potential for errors
because customers
enter data or select
options from the form
included directly on
the Web page
True
Advertisement

A _________ control is
used to group similar
information on a form.
Fieldset

Information on forms
can be sent by email
to an email address or
can be used to update
a database.

For a textarea field, no


value attribute is
possible because of the
variability of the
input.

True

True

The use of which of


the following controls
prevents the visitor's
having to type
information into a text
field?

The ____ method sends


a separate data file
with the namevalue
pairs to the URL (or e
mail address)
indicated in the action
attribute.

Select

Post

A ____ control creates


a list item in a list
from which only one
item can be chosen.

Which of the following


controls returns all
input controls to the
default status?

Radio

Reset

Which of the following


attributes, when used

A(n) ____ control is


any type of input

attributes, when used


with the text tag,
determines the
number of characters
that display on a
form?

any type of input


mechanism on a form.
Input

Size

Advertisement

You can specify all the


padding values in a
single property.

L EG AL

True

Z I P C OD E
QUOTE NOW

A(n) ____ statement


must be inserted into
all Web pages in
which you want to use
an external style
sheet.

The ____ model


describes the structure
of the elements that
are displayed on the
Web page.
Box

Link

Which of the following


kinds of style sheets

The padding property


uses the ________
property code.

kinds of style sheets


are overridden by
inline styles?

property code.
Shorthand

both embedded and external


embedded

A(n) ____ style sheet is


used to change the
style within an
individual HTML tag.
Inline

If you have several


Web pages and need a
consistent style that
can be easily updated,
____ is a good choice.
CSS

In the padding
property statement,
padding: 25px 50px
75px 100px; the top
padding is ____.

Which of the following


element is not an
element of the box
model?

25px

Format

The ____ code sets the


style so that the Web
page element remains
constant and does not

If you use any portion


of files that have been
professionally
developed, be certain

constant and does not


move.
position: absolute

developed, be certain
that you understand
and follow all____
requirements.
Licensing

The term ____is used


to describe the things
that people want to
place in HTML
documents.

Which of the following


code insert an mp4
video with autoplay
and control options
added?

Object

<video controls=controls
autoplay=autoplay><source
src=birthday.mp4
type=video/mp4 /> </video>

With the playcount


parameter of the
<object> tag, the
default is two times.

When Internet
Explorer encounters a
multimedia file, it
searches for the
appropriate ____
control.

False

ActiveX

____ media files


appear within the Web
page and users have
access to the audio or
video player controls

Internet Explorer sets


security to ____ by
default.
High

video player controls


right on the page.
Embedded

Which of the following


is NOT a video file
format?
.wav

For Mac users, ____


offers professional
level editing with a
new interface and file
import and
organization features.
Final Cut Pro X

Windows ____ is
available for download
from the Microsoft
Web site as part of
Windows Live
Essentials.

____ data types are


variables that hold
characters or a
combination of letters,
numbers, or symbols.
String

Live Movie Maker

For the most flexibility


in using colors, Web
developers suggest
using either the
hexadecimal version

A(n) ____ function is


JavaScript code
written to perform
certain tasks.

or the ____ method


version to assign a
color.

Userdefined
(/)

rgb()

If a variable value is
available anywhere
inside the Web page,
the variable is ____.

Which of the following


objects returns an
ordered set of values?
Array

Global

The ____ keyword is


required if local
variables are being
defined within a
function.

Functions are placed


using JavaScript with
the ____ tag on the
HTML code.
<head>

Var

Which of the following


is an HTML comment
line?
<!Hide from old browsers>

Which of the following


objects represents the
content of a browsers
window?
Document

Sign In

A(n) ____ is a value


given to a method.
Argument

Which of the following


conditional operators
evaluates as true if
both conditions are
true?
&&

The JavaScript
statement, ____,
automatically adds 1
to a variable.
variable++

When the user


performs an action,
such as a mouse click,
which of the following
associates that action
with a function?
An event handler

Which of the following


event handlers
triggers JavaScript
code when used with
buttons and links?
onClick

The general form of


the pow() method is
____.
Math.pow(number, exponent)

The ________ loop


often is referred to as a
countercontrolled
loop.

Conditional operators
in Javascript are used
to compare two ____.

For

operands

With the parseFloat()


function, if the first
character cannot be
converted to a number,
what is the result?

Which of the following


conditional operators
always evaluates as
true if a does not
equal b?

NaN

a!=b

A(n) ____ is an action,


such as a mouse click
or a window loading.

A ____ is text that


appears in a small
popup box when you
hover the mouse
pointer over an item
on the screen.

Event

popup caption

Dynamic ____ of
elements is a key
feature of modern Web
pages and makes the
Web page more
appealing and
interactive.

If the <a href=#> code


is used, the browser
will not show a new
Web page if the user
clicks the link.
True

Positioning

DOM is an example of
which of the
following?

Which tag groups


items as a block?
<div>

API

Which of following is
a scripting language?
JavaScript

The <html> tag can be


thought of as the ____
node in the DOM
naming system.
Root

JavaScript must use


the ____ method to
access an image
object.
getElementByID

Which of the following


is useful in executing
JavaScript statements
using data whose
value is not known at
the time the Web page
loads?
eval()

Which of the following


is NOT true?
JavaScript arrays are a fixed
length like in other
programming languages.

Words From Our Students


"StudyBlue is great for studying. I love the study guides,
flashcards and quizzes. So extremely helpful for all of my
classes!"

Alice , Arizona State University

Get started today for free


(/hello)
GET STUDYBLUE
iPhone
iPad
(http://itunes.apple.com/app/studyblue/id323887414) (http://itunes.apple.com/app/studyblue/id323887414)
Android (https://market.android.com/details?
id=com.studyblue&feature=search_result)

Web (http://www.studyblue.com/hello)
Evernote (http://www.studyblue.com/hello/evernote)

Teachers (http://www.studyblue.com/teachers)

STUDY MATERIALS
Online Flashcards (http://www.studyblue.com/online- High School (http://www.studyblue.com/notes/highflashcards)
schools)
College (http://www.studyblue.com/notes)

International
(http://www.studyblue.com/notes/international)

By Date (http://www.studyblue.com/notes/date)

COMPANY
About Us (http://www.studyblue.com/about)

Press Releases
(http://www.studyblue.com/about/press)

Careers (http://www.studyblue.com/about#jobssection)

Blog (http://www.studyblue.com/about/blog)
Contact (http://www.studyblue.com/about/contact-us)

Show & Tell (http://www.studyblue.com/about#show- Refer Friends (http://www.studyblue.com/hello/hello?


and-tell-section)
site=account/share)
Student Stories (http://www.studyblue.com/profiles)

SUPPORT
Help Center (http://help.studyblue.com)

Copyright
(http://www.studyblue.com/about/legal/terms/#DMCA)

Legal (http://www.studyblue.com/about/legal)

Privacy
(http://www.studyblue.com/about/legal/privacy)

Terms of Use
(http://www.studyblue.com/about/legal/terms)

SOCIAL

SOCIAL
Twitter (http://www.twitter.com/studyblue)

Facebook (http://www.facebook.com/studyblue)

Pinterest (http://www.pinterest.com/studyblue)

Instagram (http://www.instagram.com/studyblue)

Google + (https://plus.google.com/+studyblue)

(http://www.facebook.com/studyblue) (http://www.twitter.com/studyblue)
(https://plus.google.com/+studyblue)

StudyBlue is not sponsored or endorsed by any college, university, or instructor.


2016 StudyBlue Inc. All rights reserved.

You might also like