Latest MCSD 70-480 Dumps Real Exam Download 61-70

Ensurepass

QUESTION 61

131-DRAG DROP You are developing a shared library to format information.

The library contains a method named _private. The _private method must never be called directly from outside of the shared library.

You need to implement an API for the shared library.

How should you complete the relevant code? (Develop the solution by selecting the required code segments and arranging them in the correct order.

You may not need all of the code segments.)

Select and Place:

clip_image002

Correct Answer:

clip_image004

 

 

QUESTION 62

132-You develop an HTML application that contains a table that displays a list of products. The table is defined with the following HTML markup:

clip_image006

You must style the table to look like the following image:

clip_image008

You need to implement the CSS selectors to select the rows that must have a blue background. Which CSS selector should you use?

 

A. thead:only-child, tbody:after, table:before

B. tr [line |-0, 1, 3]

C. tr:first-of-type, tr:last-of-type

D. tr:first-line, tr:last-child

 

Correct Answer: C

 

QUESTION 63

133-You develop a webpage by using HTML5. You create the following markup:

<input type “url” name= “website” required=”required” />

You need to ensure that the value that the user enters contains a secure URL.

What should you do?

 

A. Add the following attribute to the input tag: value=”https://v

B. Add the following attribute to the input tag: pattern=”https://.+”

C. Add the following attribute to the input tag: value=”ssl”

D. Add the following attribute to the input tag: itemtype=”https”

 

Correct Answer: B

 

QUESTION 64

134-You develop a webpage by using HTML5. You create the following markup and code: (Line numbers are included for reference only.)

clip_image010

You need to ensure that the values that users enter are only numbers, letters, and underscores, regardless of the order. Which code segment should you insert at line 04?

 

A.clip_image012

B.clip_image014

C.clip_image016

D.clip_image018

 

Correct Answer: A

 

QUESTION 65

135-HOTSPOT You develop an interactive scalable vector graphics (SVG) application. You write the following HTML markup that makes a rectangle rotate:

clip_image020

You need to control the speed of the rotating rectangle.

How should you complete the relevant code? (To answer, select the appropriate option from each drop-down list in the answer area.)

Hot Area:

clip_image022

Correct Answer:

clip_image024

 

 

QUESTION 66

136-DRAG DROP You create a webpage that includes the following HTML markup: (Line numbers are included for reference only.)

clip_image026

You need to ensure that a form cannot be submitted unless the INPUT element contains the word OK. Which five actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

Select and Place:

clip_image028

Correct Answer:

clip_image030

 

 

QUESTION 67

137-DRAG DROP You are implementing a web worker by using JavaScript and HTML5. The web worker processes a long-running loop and returns the result to a webpage. The web worker is defined on the webpage as follows:

clip_image032

You have the following requirements:

l  Evaluate the message value in the web worker.

l  Process the loop based on the iterations value that is passed from the webpage.

l  Return a value back to the webpage from the web worker.

You need to implement the web worker. How should you complete the relevant code?

(To answer, drag the appropriate code segment to the correct location or locations in the answer area. Use only code segments that apply.)

Select and Place:

clip_image034

Correct Answer:

clip_image036

 

 

QUESTION 68

138-HOTSPOT

clip_image038

How does the page render? For each statement in the table, select Yes if the behavior is described. Select No if it is not. Make only one selection in each column.

Hot Area:

clip_image040

Correct Answer:

clip_image042

 

 

QUESTION 69

139-You are creating an HTML5 application that allows users to play video on a page by using the VIDEO element.

You need to enable the user to start, stop, and pause the video.

Which line of code should you add to the page?

 

A.      <video id= “myVideo” height=”320″ width=”400″ src=”myVideo.vtt” contextmenu=”pauseplay”> </video>

B.      <video id=”myVideon heigh”=”320″ width=”400″ src=”myVideo.vtt” controls> </video>

C.      <video _d=”myVideon height=”320″ width=”400″ src=”myVideo.vtt” autoplay> </video>

D.      <video id=”myVideo” height=”320″ width=”400″ src=”myVideo.vtt” contextinenu=”Startstopn> </video>

 

Correct Answer: B

 

QUESTION 70

140-You are creating a web page that contains a canvas with text.

The page contains the following JavaScript code. (Line numbers are included for reference only.)

clip_image044

The text on the canvas must rotate 90 degrees when a user clicks a button on the page.

You need to ensure that the text rotates when the user clicks the button.

Which line of code should you add at line 03?

 

A. context.transform(90);

B. context.content.getRotation(90);

C. context.rotate(90);

D. context.content.rotate (90);

 

Correct Answer: C

 

Download Latest MCSD 70-480 Real Free Tests , help you to pass exam 100%.