QUESTION 1 JavaScript code can be inserted directly into an HTML file, or placed
ID: 3692042 • Letter: Q
Question
QUESTION 1
JavaScript code can be inserted directly into an HTML file, or placed in a separate text file that is linked to the Web page.
True
False
12 points
QUESTION 2
The namespace id for XHTML looks like a url, and is treated as one by the XML parser.
True
False
12 points
QUESTION 3
If your browser doesn't support the pseudo-element to create a drop cap, you could use a(n) ____ element and apply your style to it to get the effect.
span
h1
div
p
12 points
QUESTION 4
Case-Based Critical Thinking Questions
Case 4-2
The Yacht club has a Web site that consists of a picture of the yacht club room along with the yacht club rules on the left. On the right is a list of Upcoming Events, the company logo, and then yacht club teacher training dates. Sue, the Web designer, needs some help with CSS to make sure the pages display correctly.
To cause the yacht club rules to display at the top of the page like a list, you could use ____.
display: list
display: top
display: top-item
display: list-item
12 points
QUESTION 5
void
groups
all
rows
12 points
QUESTION 6
There are many types of conditional statements, one of which is the ____ statement.
For
Else
If
Then
12 points
QUESTION 7
The current versions of both Firefox and Safari have adopted the ____ standard.
CSS1
CSS3
CSS2
CSSX
12 points
QUESTION 8
The display type value treated as a block placed in line within another block is ____.
list-item
inline-block
none
inherit
12 points
QUESTION 9
____ is a language like SGML used to create markup languages but without SGML’s complexity and size.
HTML
XML
XSL
XHTML
12 points
QUESTION 10
A(n) ____ is set of data values organized under a single name.
array
block
index
counter
12 points
QUESTION 11
Case-Based Critical Thinking Questions
Case 11-3
Sara's Custom Drapery Design shop has an online order form. She has added some JavaScript functions to calculate how much a person has to pay before they submit the page, and now wants to add her functions to her form buttons.
Sara gets complaints that customers are seeing NaN in certain places. What function can help her stop that from happening?
isNaN
isNumber
isFinite
isFiN
12 points
QUESTION 12
The -ms-transform browser extension is supported only by Internet Explorer version 10 and above.
True
False
12 points
QUESTION 13
The ____ method converts an array into a comma separated list.
toString
toList
push
unshift
12 points
QUESTION 14
Tables are considered ____ elements.
low-level
block-level
high-level
inline-level
12 points
QUESTION 15
The equal-to (comparison) operator is represented by the symbol ____.
=
!=
===
==
12 points
QUESTION 16
The human ear hears sounds in the range from 1 kilohertz to 5 megahertz.
True
False
12 points
QUESTION 17
To give buttons an action on a form, you can use the ____ event.
onblur
onclick
onchange
onkeypress
12 points
QUESTION 18
One way to allow a link to be opened in the same window but still retain valid code under XMTML strict is to use JavaScript to open the link.
True
False
12 points
QUESTION 19
____ supports caption-side values of left and right to place the caption directly to the left or right of a Web table.
Firefox
Safari
Internet Explorer
Chrome
12 points
QUESTION 20
A(n) ____ path provides a precise location for a file.
absolute
relative
indexed
interpreted
12 points
QUESTION 21
To create a button that will clear the form fields, you use a type of ____.
option
reset
command
submit
12 points
QUESTION 22
____ did not support gradients until version 11, which was released in March 2011.
Opera
WebKit
Mozilla
Internet Explorer
12 points
QUESTION 23
An access key is a single key that you type in conjunction with the Alt key for Macintosh users.
True
False
12 points
QUESTION 24
____ is the tint of the color and is based on the color’s location on the color
wheel.
Lightness
Darkness
Saturation
Hue
12 points
QUESTION 25
____ is designed only for Windows and should not be solely relied upon for Web multimedia.
Realtime
QuickTime
ActiveX
Flash
12 points
QUESTION 26
Unlike an external style sheet, a(n) _______ style sheet is applied only to the Web
page in which it is placed.
internal
integrated
linked
embedded
12 points
QUESTION 27
Case-Based Critical Thinking Questions
Case 3-1
Art’s Woodworking Shop is trying to design a Web page with CSS. Art would like create the new design based on the latest elements and styles from HTML and CSS. He has created a few sample pages:
Art’s product style sheets can be imported into a single sheet by adding the command _____
@import url (product.css);
@import url (home.css);
@import.url (custom.css);
@import url (url1);
12 points
QUESTION 28
Case-Based Critical Thinking Questions
Case 7-1
Sadie Helman runs a Web site for amateur snowboarders. She likes to post videos and music related to snowboarding on her site as well as interviews with different snowboarding professionals.
Sadie should use which element to create a background sound that follows XHTML specifications?
param
bgsound
embed
object
12 points
QUESTION 29
In the <applet> tag, the ____ attribute specifies the filename of the Java class file.
code
filename
class
file
12 points
QUESTION 30
The ____ value of the display style tells the browser not the display the element.
hide
empty
null
none
12 points
QUESTION 31
Most Web browsers use a fill-in _____ for unordered lists.
square
rectangle
circle
bullet
12 points
QUESTION 32
Which of the following is a basic component of a sound wave?
frequency
amplitude
sample rate
Both a and b
12 points
QUESTION 33
The technique of placing one element within another is called ____.
linking
loading
nesting
interlacing
12 points
QUESTION 34
The WebKit gradient() function can have multiple color stops, but the location can be entered only as a ____ of the object’s width.
portion
part
piece
percentage
12 points
QUESTION 35
A function may require ____, which are values used by the function.
parameters
names
terms
ids
12 points
QUESTION 36
Browsers recognize five ____ font groups.
monospace
generic
specific
designed
12 points
QUESTION 37
Case-Based Critical Thinking Questions
Case 10-1
Training unlimited is planning to create a page that will allow users to e-mail their requests for the training videos to add to their online training offerings.
To prevent the training orderer from receiving spam, the Web designers should ____ e-mail addresses.
encrypt
reverse
scramble
none of the above
12 points
QUESTION 38
One reason for the success of the Web is that HTML has made it easy for non-programmers to write and edit code without being ensnarled by ______ violations.
code
program
syntax
logic
12 points
QUESTION 39
XML parsers reject any XML documents that are not well formed.
True
False
12 points
QUESTION 40
A(n) ____ operator can be used to perform simple mathematical calculations.
ordinal
logical
conditional
arithmetic
12 points
QUESTION 41
By default, the ____ tag displays one option from the selection list, along with a list arrow to view additional selection options.
<checked>
<option>
<index>
<select>
12 points
QUESTION 42
You cannot insert values into a Web form’s fields.
True
False
12 points
QUESTION 43
When a user tabs through the form, the tab order will reflect the order of the items in the ____ file.
HTML
CGI
CSS
PHP
12 points
QUESTION 44
As with the margin property, you can specify any or all of the ____ padding values.
four
two
three
one
12 points
QUESTION 45
With the frame value ____, a border is drawn on the left and right sides of the table.
vsides
both
hsides
lrhs
12 points
QUESTION 46
The size or _______of most output devices is typically expressed in terms of pixels.
clarity
resolution
scale
density
12 points
QUESTION 47
Case-Base Critical Thinking Questions
Case 6-1
Oscar owns Oscar's Skateboard Shop. He wants to create a Web form to allow users to specify the type of skateboards they would like to buy. This includes the make, model, type and color, and board options. Oscar's skateboards come in Children, Young Adult, and Adult sizes. Oscar's skateboards only come in color, pattern, and themes. He has over 25 makes and models of skateboards.
Oscar should use ____ to allow users to select the skateboard type.
check boxes
command buttons
group boxes
radio buttons
12 points
QUESTION 48
HTML allows you to formally link a label with an associated text box element for scripting purposes.
True
False
12 points
QUESTION 49
In the <caption> tag, an alignment value of ____ places the caption below the table.
bottom
below
beneath
under
12 points
QUESTION 50
_________ do not contain content, but often are employed to send directives to browsers regarding how a page should be rendered.
Nested elements
One-sided elements
Elements
Empty elements
12 points
QUESTION 51
Case-Based Critical Thinking Questions
Case 7-2
RockCats is a Double A baseball team that has created a Web site to provide people with information about them as well as game dates, practice pictures, and game clips.
They would like to embed a number of other media clips in order to be compatible with W3C specifications. They should use the ____ tag.
img
flv
embed
object
12 points
QUESTION 52
The most often-used program language for the Web is JavaScript.
True
False
12 points
QUESTION 53
A parent element is positioned within its child element in the Web page.
True
False
12 points
QUESTION 54
If a URL doesn’t specify a filename, the server returns the default ____ page.
link
home
catalog
main
12 points
QUESTION 55
The CSS rule
@import url(screen.css) screen;
imports the screen.css style sheet file in the current style sheet only when the browser device is a printer.
True
False
12 points
QUESTION 56
A Web ____ makes a page available to users of the Web.
server
browser
client
station
12 points
QUESTION 57
The size of an array is always ____ the highest index number.
equal to
one more than
one less than
none of the above
12 points
QUESTION 58
Browser extensions that are not part of the official CSS specifications can be identified through the use of a ____ that indicates the browser vendor that created and supports the property.
customer prefix
customer suffix
vendor suffix
vendor prefix
12 points
QUESTION 59
Placing JavaScript code in a Web page file means that users need to retrieve only ____ file from the server.
text
duplicate
one
two
12 points
QUESTION 60
The result of running the slice method is a(n) ____.
array literal
sorted array
subarray
reversed array
12 points
QUESTION 61
To make code more understandable, you should ____ it.
indent
enlarge
underline
highlight
12 points
QUESTION 62
_______ is the process of searching code to locate a source of trouble.
Tracing
Error-handling
Setting a watch
Debugging
12 points
QUESTION 63
The expression to return the remainder of x divided by y would be ____.
x % y
y / x
y % x
x / y
12 points
QUESTION 64
____ is the general syntax for using anchor tags to run JavaScript.
<a href="<em>script</em>">content</a>
<a alt = "javascript:script">content</a>
<a src="#">content</a>
<a href="#">content</a>
12 points
QUESTION 65
If x has the value of 1, then what does the following code write?
switch (x) {
case 1: document.write("One");
case 2: document.write("Two");
case 3: document.write("Buckle my shoe");
}
One
Buckle my shoe
Two
all of the above
12 points
QUESTION 66
3
5
4
1
12 points
QUESTION 67
You have to place a(n) ____ before the image map name with the usemap attribute in the <img> tag.
colon
percent sign
pound sign
ampersand
12 points
QUESTION 68
To define a default value for a field, use the following syntax: ____.
<input main= “value” />
<input default= “value” />
<input field= “value” />
<input value= “value” />
12 points
QUESTION 69
You can quickly change an XMTML document into an HTML document just by altering the first three line of code.
True
False
12 points
QUESTION 70
The general format of the conditional operator is ____.
(condition) : falseValue ? trueValue
(condition) ? trueValue : falseValue
(condition) : trueValue : falseValue
(condition) ? falseValue : trueValue
12 points
QUESTION 71
Video has become one of the most popular methods of sharing information on the Web.
True
False
12 points
QUESTION 72
All Web page URLs begin with the letters ____.
http
url
www
html
12 points
QUESTION 73
Character ______ associates each symbol from a character set with a numeric value called the numeric character reference.
encoding
coding
programming
encrypting
12 points
QUESTION 74
True
False
12 points
QUESTION 75
A(n) ____ path specifies the location for a file in relation to the folder containing the current Web document.
regular
absolute
interpreted
relative
12 points
QUESTION 76
Preformatted text is displayed by the browser in a ____ font.
sans-serif
monospace
decorative
serif
12 points
QUESTION 77
Web page authors can take advantage of the structural elements provided by ____.
HTML5
HTML2
HTML4
HTML1
12 points
QUESTION 78
With the frame value ____, a border is drawn only above the table.
above
hsides
top
box
12 points
QUESTION 79
One way that HTML changed to accommodate this new class of users was to introduce presentational ______ and presentational attributes designed to describe how each element should be rendered by Web browsers.
characteristics
levels
elements
units
12 points
QUESTION 80
When converting old HTML code to XHTML, pay specific attention to the ____ element, which often does not have closing tags.
table
p
td
tr
12 points
QUESTION 81
A user could change the font size assigned to paragraph and heading text, set foreground and background colors, and specify whether or not to display _____ images.
outline
inline
clip art
graphic
12 points
QUESTION 82
Users with impaired vision, hearing, or motor skills may find it difficult to work with sites that offer ____ content.
image
inline
embedded
inserted
12 points
QUESTION 83
Web pages are text files written in a language called ____.
Java
Perl
SGML
HTML
12 points
QUESTION 84
A(n) ____ variable has no value at all.
cipher
negative
null
empty
12 points
QUESTION 85
An orphan occurs when only a few ending lines of an element appear at the top of a page, while the bulk of the content appears on the preceding page.
True
False
12 points
QUESTION 86
A simpler version of an emulator is a simulator, which simulates some of the behavior of a device but does not emulate the operations of the hardware.
True
False
12 points
QUESTION 87
The default shape of a radial gradient is ____, with the specific dimensions based on the size of the containing object and the size of the gradient.
circle
ellipse
rectangle
square
12 points
QUESTION 88
Binary operators work on only one operand.
True
False
12 points
QUESTION 89
To set the page size and orientation for page size 8.5 X 14 with landscape orientation, the style property would be ____.
size: 8.5in 11in landscape;
size: 11in 8in landscape;
size: 8.5in 14in landscape;
size: 14in 8.5in landscape;
12 points
QUESTION 90
When a section of an array is extracted, it is called a subarray.
True
False
12 points
QUESTION 91
To create a polygonal hotspot, you enter the coordinates for each ____ in the shape.
corner
center
radius
side
12 points
QUESTION 92
In JavaScript, the expression ____ creates the same result as the expression x = x + y.
y += x
x = x++
x += y
y = x ++ y
12 points
QUESTION 93
To identify the specific options for option buttons, you use the ____ attribute.
id
type
name
value
12 points
QUESTION 94
The strict DTD requires the use of the ____ attribute in place of the name attribute.
caption
object
link
id
12 points
QUESTION 95
The default unit of length for kerning and tracking is the ____.
pica
inch
pixel
point
12 points
QUESTION 96
Case-Based Critical Thinking Questions
Case 7-2
RockCats is a Double A baseball team that has created a Web site to provide people with information about them as well as game dates, practice pictures, and game clips.
The team wants a marquee for its page to display the game dates. They should probably use a(n) ____ in order to be compatible with the most browsers.
marquee tag
sdk
jvm
applet
12 points
QUESTION 97
____ is a proprietary audio format developed by Microsoft to compete with MP3s.
MPEG
AU
MIDI
WMA
12 points
QUESTION 98
When you want the home page to link to pages dedicated to specific topics, you should use the ____.
mixed structure
linear structure
hierarchial structure
augmented linear structure
12 points
QUESTION 99
Case-Based Critical Thinking Questions
Case 4-2
The Yacht club has a Web site that consists of a picture of the yacht club room along with the yacht club rules on the left. On the right is a list of Upcoming Events, the company logo, and then yacht club teacher training dates. Sue, the Web designer, needs some help with CSS to make sure the pages display correctly.
In Sue’s design, she learned to allow users to scroll ____ the length of the Web page.
across
horizontally
in
vertically
12 points
QUESTION 100
To tell the browser to include code from a file named myCode.js file, you should enter ____.
<script type="text/javascript" link="myCode.js">
<script type="text/javascript" src="myCode.js">
<script type="text/javascript" file="myCode.js">
<script type="text/javascript" href="myCode.js">
a.span
b.h1
c.div
d.p
Explanation / Answer
1.TRUE
2.TRUE
4.A
5.C
6.A
7.D
9.D
10.A
13.D
14.D
15.A
16.FALSE
19.A
21.B
22.FALSE
23.A
28.D
29.D
31.B
32.D
35.A
36.D
38.A
39.FASE
40.D
42.TRUE
44.C
45.C
47.B
48.FALSE
52.FALSE
53.FALSE
55.TRUE
56.B
57.C
59.A
63.D
64.D
65.A
68.A
72.B
74.TRUE
77.A
83.A
84.D
88.FALSE
90.TRUE
91.A
92.C
93.D
94.B
95.C
97.D
99.D
100.D
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.