[Free] 2019(Nov) EnsurePass Microsoft 70-480 Dumps with VCE and PDF 11-20

Get Full Version of the Exam
http://www.EnsurePass.com/70-480.html

Question No.11

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

image

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?

image

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Correct Answer: A

Question No.12

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#39;Hi there!#39;);

}

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.)

  1. Consultant.PayEmployee = function ()

    {

    alert(#39;Pay Consulant#39;);

    }

  2. Consultant.prototype.PayEmployee = function () { alert(#39;Pay Consultant#39;);

    }

  3. function Consultant () { Employee.call(this);

    }

    Consultant.prototype = new Employee(); Consultant.prototype.constructor = Consultant;

  4. function Consultant() { Employee.call(this); }

Consultant.prototype.constructor = Consultant.create;

Correct Answer: BC

Question No.13

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

image

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?

  1. lt;navmapgt; lt;/navmapgt;

  2. lt;div id=quot;navquot;gt; lt;/divgt;

  3. lt;navgt; lt;/navgt;

  4. lt;mapgt; lt;/mapgt;

Correct Answer: C

Explanation:

http://www.w3schools.com/tags/tag_nav.asp

Question No.14

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:

image

Users must be able to save information in the application about their favorite destination airport.

image

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.)

image

image

Correct Answer:

image

Question No.15

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.)

image

image

Correct Answer:

image

Question No.16

You are creating a JavaScript object that represents a customer.

You need to extend the Customer object by adding the GetCommission() method.

You need to ensure that all future instances of the Customer object implement the GetCommission() method.

Which code segment should you use?

image

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Correct Answer: D

Question No.17

You are developing a web form that includes the following code.

image

When a user selects the check box, an input text box must be added to the page dynamically. You need to ensure that the text box is added.

Which function should you use?

image

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Correct Answer: B

Question No.18

HOTSPOT

An HTML page has a canvas element.

You need to draw a red rectangle on the canvas element dynamically. The rectangle should resemble the following graphic.

image

How should you build the code segment? (To answer, select the appropriate options from the drop-down lists in the answer area.)

image

image

Correct Answer:

image

Question No.19

You are developing an HTML5 page that has an element with an ID of logo. The page includes the following HTML.

lt;divgt; Logo:lt;brgt;

lt;div id=quot;logoquot;gt;

lt;/divgt;

lt;/divgt;

You need to move the logo element lower on the page by five pixels.

Which lines of code should you use? (Each correct answer presents part of the solution. Choose two.)

  1. document.getElementById(quot;logoquot;) .style.position = quot;relativequot;;

  2. document.getElementByld(quot;logoquot;).Style.top = quot;5pxquot;;

  3. document.getElementById(quot;logoquot;).style.top = quot;-5pxquot;;

  4. document.getElementById(quot;logoquot;).style.position = quot;absolutequot;;

Correct Answer: AB

Explanation: http://www.w3schools.com/cssref/pr_class_position.asp http://www.w3schools.com/cssref/pr_pos_top.asp

Question No.20

You are developing a web page by using HTML5 and C5S3. The page includes a lt;divgt; tag with the ID set to validate.

When the page is rendered, the contents of the lt;divgt; tag appear on a line separate from the content above and below it. The rendered page resembles the following graphic.

image

The page must be rendered so that the lt;divgt; tag is not forced to be separate from the other content. The following graphic shows the correctly rendered output.

image

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

  1. document.getElementById(quot;validatequot;).style.display = quot;inlinequot;;

  2. document.getElementById(quot;validatequot;).style.margin = quot;0quot;;

  3. document.getElementById(quot;validatequot;).style.padding = quot;0quot;;

  4. document.getElementSyId(quot;validatequot;).style.display = quot;blockquot;;

Correct Answer: A

Explanation:

http://www.w3schools.com/cssref/pr_class_display.asp

Get Full Version of the Exam
70-480 Dumps
70-480 VCE and PDF

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.