PrepAway - Latest Free Exam Questions & Answers

Category: 70-480 (v.4)

Exam 70-480: Programming in HTML5 with JavaScript and CSS3 (updated February 07th, 2016)

Which code segment should you use to replace the Loader function?

You are developing an HTML5 web application that displays the current temperature
whenever a button is clicked. The following code provides this functionality.

When the temperature is loaded, the status property on the loader instance does not
change.
You need to ensure that the status property on the loader instance is updated when the
temperature is loaded.
Which code segment should you use to replace the Loader function?

Which code segments should you use?

You are creating a class named Consultant that must inherit from the Employee class. The
Consultant class must modify the inherited PayEmployee method. The Employee class is
defined as follows.
function Employee() {}
Employee.prototype.PayEmployee = function ( ){
alertt’Hi there!’);
}
Future instances of Consultant must be created with the overridden method.
You need to write the code to implement the Consultant class.
Which code segments should you use? (Each correct answer presents part of the solution.
Choose two.)

which container tags should you wrap the existing markup?

You are modifying an existing web page. The page is being optimized for accessibility. The
current page contains the following HTML.

Standards-compliant screen readers must be able to identify the links contained within the
navigation structure automatically.
You need to create the navigation link structure in the page.
With which container tags should you wrap the existing markup?

Which lines of code should you use?

HOTSPOT
You are developing an airline reservation website by using HTML5 and JavaScript. A page
on the site allows users to enter departure and destination airport information and search for
tickets.
You have the following requirements:
Users must be able to save information in the application about their favorite destination
airport.
The airport information must be displayed in the destination text box whenever the user
returns to the page.
You need to develop the site to meet the requirements.
Which lines of code should you use? (To answer, select the appropriate options from the
drop-down lists in the answer area.)

You need to display the image by using the correct semantic markup

HOTSPOT
You are developing an HTML5 web application for displaying encyclopedia entries.
Each encyclopedia entry has an associated image that is referred to in the entry.
You need to display the image by using the correct semantic markup.
What should you do? (To answer, select the appropriate options from the drop-down list in
the answer area.)

Which line of code should you use?

You are developing a web page by using HTML5 and C5S3. The page includes a <div> tag
with the ID set to validate.
When the page is rendered, the contents of the <div> tag appear on a line separate from the
content above and below it. The rendered page resembles the following graphic.

The page must be rendered so that the <div> tag is not forced to be separate from the other
content. The following graphic shows the correctly rendered output.

You need to ensure that the page is rendered to meet the requirement.
Which line of code should you use?


Page 2 of 2112345...1020...Last »