ANSWERS
A Web designer who assigns specific pixel widths to elements using the HTML structural
elements is using what page-layout method?
A) Relative-width
B) Fluid
C) Fixed-width
D) Liquid - ANSWERS Fixed-width
Because mobile devices have smaller screens, you must lay out your pages differently than you
would for a page that will be viewed primarily on larger screens. Which of the following is a
technique you can use to simplify your page design?
A) Minimize formatting such as fonts and colors.
B) Use tables or frames to organize page content.
C) Provide more links to make navigation easier.
D) Use more images and less text. - ANSWERS Minimize formatting such as fonts and colors.
Conchita uses the CSS Box Model to help configure the space around each HTML element as
she develops her Web pages. Which Box Model element defines the space between the HTML
element and the border?
A) Padding
B) Content
C) Border
D) Margin - ANSWERS Padding
,Consider the following code:
function dateTodayTomorrow(a, b)
{
a.concat(b);
return a.valueOf();
}
alert(dateTodayTomorrow('Wednesday','Thursday'));
What message will appear in the alert box when this script is run in the browser?
A) WednesdayThursday
B) Wednesday
C) ThursdayWednesday
D) Thursday - ANSWERS Wednesday
Consider the following JavaScript expression:
() * 2
What is the result of this expression?
A) The result of this expression is: 2
B) The result of this expression is: -0.25
C) The result of this expression is: -0.5
D) The result of this expression is: 8 - ANSWERS The result of this expression is: 8
, Experts in Web technology expect that the future of Web development will rely heavily on:
A) Java applets.
B) HTML5 APIs.
C) Apple mobile devices.
D) Android mobile devices. - ANSWERS HTML5 APIs.
Generally speaking, what functionality does JavaScript provide when used as part of the "Web
development trifecta"?
A) Content, page structure, and advanced interactivity
B) Page manipulation capabilities and advanced interactivity
C) Content and page structure, but minimum interactivity
D) Formatting and page design, plus some simple interactivity - ANSWERS Page manipulation
capabilities and advanced interactivity
How can you "comment out" a particular rule in a style sheet so that it will be ignored when
you link the style sheet to a Web document?
A) Place the rule between the /* and */ characters.
B) Place the rule within curly braces.
C) Place the rule within semicolons.
D) Place the rule within quotation marks. - ANSWERS Place the rule between the /* and */
characters.
How can you link an HTML document to an AppCache manifest file named date.appcache?
A) By adding the appcache="date.appcache" attribute to the <html> tag
B) By adding the manifest="date.appcache" attribute to the <body> tag
C) By adding the manifest="date.appcache" attribute to the <html> tag