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 color is used when text in the referenced paragraph displays? - ...ANSWER...Purple
Given the following markup and code:
<nav id="basenav"> green or black </nav>
#basenav {
color: red;
}
nav { color:
blue;
}
Which color will the navigation element be? -
...ANSWER...Red
Which code block should be used to set the background image for a web page? -
...ANSWER...body
{
background-image: url('paper.gif')
}
Which HTML tag is used to display text exactly as it is defined in the HTML markup? -
...ANSWER...Pre
Which CSS state selectors show uninspected HREFs in red? -
...ANSWER...a:link { color:red; }
Which type of address does the hyperlink ../about/map.html point towards? -
...ANSWER...Relative Uniform Resource Locator (URL)
Which attribute is used with the <img> tag to display text if the image fails to load? -
...ANSWER...alt
Which property is used in CSS3 to specify the left or right alignment of an image? -
...ANSWER...float
Which attribute is used to specify the format of a video file? -
...ANSWER...type
Which symbol with an href value tells the browser to look for an anchor within the current
document? - ...ANSWER...Hash (#)
Which valid code shows a functional, formatted hyperlink reference? - ...ANSWER...<a
href="http://www.wgu.edu">WGU</a>