FOUNDATIONS EXAM, PRACTICE EXAM AND STUDY GUIDE 500
QUESTIONS WITH DETAILED VERIFIED ANSWERS (100%
CORRECT) AND RATIONALES /A+ GRADE ASSURED/NEW!!
What enables applications to add updates to an interface without the need to refresh the page? -
...ANSWER...Ajax
What is a benefit of using a virtual machine on a shared host?
- ...ANSWER...Reduced costs with less physical equipment
Which hosting solution requires the purchase of hardware and software? - ...ANSWER...In-
house
What is a characteristic of a virtual server? -
...ANSWER...Multiple sites are hosted on individual servers.
Which HTML5 geolocation API process retrieves the user's latitude and longitude? -
...ANSWER...getCurrentPosition()
Which tag uses the manifest attribute to enable the offline support for a web page? -
...ANSWER...<html>
What is the purpose of the WebM MIME type? -
...ANSWER...Uses a file format to stream online videos
Which HTML5 element has a poster attribute? -
...ANSWER...Video
Which technique is used to reduce the number of calls for static files? -
...ANSWER...Caching
Which responsibility is expected of a web project manager? -
...ANSWER...Communicating with all stakeholders
What is the maximum recommended file size for a web page in order to avoid long download
times? - ...ANSWER...100 KB
Which database type can store data in a single table only? -
...ANSWER...Flat file
Which audience development technique can initiate an interaction with an online
visitor? - ...ANSWER...Push technology
,What is used to give web applications the same responsiveness as desktop applications? -
...ANSWER...Ajax
Which advantage does a dedicated mobile website have, compared to a mobile application? -
...ANSWER...Cross- platform usability
The HR Department has asked your Web team to create a Web page for the company's
intranet site that will compare the company's three different employee insurance plan options.
What is the most effective way to accomplish this? -
....ANSWER...Use document structure tags to lay out the
page, and use a table to organize the insurance plan information.
Mia is a Web developer working on a Web team that is currently coding some new pages for
their company's site. As she creates each page, Mia adds comments to her code. Why?
- ....ANSWER...To explain the purpose of code sections to other developers
Zack developed his corporation's intranet site using proprietary HTML language extensions
based on the company's current browser at the time. The company has recently updated its
systems to include the use of a new browser. Now the intranet site that Zack developed no
longer renders its content consistently. What should Zack do to ensure that this site's
content renders consistently going forward, regardless of the browser used? -
....ANSWER...Update the site using a single W3C language standard consistently, such as
HTML5 or XHTML
Which Web-ready image file formats support animation? -
....ANSWER...GIF 89a and PNG
Marcel is inserting images into an HTML page. When he previews the page, the images
render well. But when he tries to validate his page, the code will not validate. Which image-
insertion tag and attribute are required in order for Marcel's HTML5 page to validate without
error? -
....ANSWER...<img> tag, alt attribute
The HTML <area> tag, which defines the coordinates of an image map, uses which of the
following attributes? -
....ANSWER...href
,What is the RGB code for the color red? -
....ANSWER...255,0,0
You have been directed to change this form field so that users can select more than one option
from this list. In addition to rewording the page text, which change must you make to the
code? - ....ANSWER...Add the multiple="multiple" attribute and value to the <select>
element.
You are creating a Web form in HTML5 for your site. You want to make sure you code it
correctly to process data. You have included the action attribute in the <form> element.
What else do you need to include? - ....ANSWER...The method attribute of the <form>
element
Extensible Markup Language (XML) can be used for which purpose? - ....ANSWER...To
allow data to be interchanged with all types of applications
You are developing pages for your company's Web site. You want to ensure that the pages are
easily viewable on mobile devices. Which factor must you consider when developing the
pages? - ....ANSWER...Smaller screens are used to view Web pages previously viewed only
on much larger PC monitors.
An organization has users which run older versions of Internet Explorer. Which action should
be done to ensure that that web page content is visible in all browsers? - ...ANSWER...Add
JavaScript code to HTML documents and create a new CSS rule.
What happens when a site visitor views a web page that uses a font unavailable on the visitor's
computer? -
...ANSWER...The browser's default font will be displayed.
Which two methods are used to apply Cascading Style Sheets (CSS)? - ...ANSWER...-
Embedding an internal style sheet in an HTML page
-Linking an HTML page to an external style sheet
Which value of the opacity property in CSS3, represents completely opaque? -
...ANSWER...1.00
Which directive overrides normal cascading in CSS? -
...ANSWER...!Important
What are Syntactically Awesome Style Sheets (SASS) used for with regard to adding
functionality? - ...ANSWER...As a CSS extension language for preprocessing
Given the following CSS:
p{color: red;} p{color: yellow;}
p{color: green;} p{color:
purple;}
, Which ecolor eis eused ewhen etext ein ethe ereferenced eparagraph edisplays? e - e...ANSWER...Purple
Given ethe efollowing emarkup eand ecode:
<nav eid="basenav"> egreen eor eblack e</nav>
#basenav e{
ecolor: ered;
}
nav e{ecolor:
eblue;
}
Which ecolor ewill ethe enavigation eelement ebe? e -
...ANSWER...Red
Which ecode eblock eshould ebe eused eto eset ethe ebackground eimage efor ea eweb epage? e -
...ANSWER...body
{
background-image: eurl('paper.gif')
}
Which eHTML etag eis eused eto edisplay etext eexactly eas eit eis edefined ein ethe eHTML emarkup? e -
...ANSWER...Pre
Which eCSS estate eselectors eshow euninspected eHREFs ein ered? e -
...ANSWER...a:link e{ ecolor:red; e}
Which etype eof eaddress edoes ethe ehyperlink e../about/map.html epoint etowards? e-
...ANSWER...Relative eUniform eResource eLocator e(URL)
Which eattribute eis eused ewith ethe e<img> etag eto edisplay etext eif ethe eimage efails eto eload? e -
...ANSWER...alt
Which eproperty eis eused ein eCSS3 eto especify ethe eleft eor eright ealignment eof ean eimage? e -
...ANSWER...float
Which eattribute eis eused eto especify ethe eformat eof ea evideo efile? e -
...ANSWER...type
Which esymbol ewith ean ehref evalue etells ethe ebrowser eto elook efor ean eanchor ewithin ethe ecurrent
edocument? e- e...ANSWER...Hash e(#)
Which evalid ecode eshows ea efunctional, eformatted ehyperlink ereference? e- e...ANSWER...<a
ehref="http://www.wgu.edu">WGU</a>