Mar 2016 updated: Exambible Microsoft 70-480 practice 1-15

70-480 Royal Pack Testengine pdf

100% Actual & Verified — 100% PASS

Unlimited access to the world's largest Dumps library! Try it Free Today!

Get it now →

Product Description:
Exam Number/Code: 70-480
Exam name: Programming in HTML5 with JavaScript and CSS3
n questions with full explanations
Certification: Microsoft Certification
Last updated on Global synchronizing

Free Certification Real IT 70-480 Exam pdf Collection

Question No. 1

You develop an HTML5 webpage. You have the following HTML markup: 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: D


Question No. 2

You develop a web application by using jQuery. You develop the following jQuery code: (Line numbers are included for reference only.) 

The web application exposes a RESTful web API that has an endpoint of/product/create. 

You need to create a new product by using AJAX. 

Which code segment should you insert at line 05? 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Question No. 3

You develop an HTML5 webpage that contains the following HTML markup: 

Users must receive a message after they click the Submit button if the text entered into the 

favoriteColor text box is fewer than 2 characters or greater than 10 characters. 

You need to implement the testLength() function. 

Which code segment should you use? 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: D


Question No. 4

You are developing a customer web form that includes the following HTML. 

<input id="txtValue"/> 

You need to change the HTML markup so that customers can enter only a valid three-letter country code. 

Which HTML should you use? 

A. <input id="txtValue" type="code" /> 

B. <input id="txtValue" type="text" pattern=" [A-Za-z] {3}" /> 

C. <input id="txtValue" type="text" required="required"/> 

D. <input id="txtValue" type="country" /> 

Answer:


Question No. 5

You develop an application to host user-generated HTML and JavaScript content. 

A common error handler in your application must process all unhandled errors. 

You need to implement global error handling for the application. 

Which code segment should you use? 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: A


Question No. 6

You develop an HTML5 application. You give users a numeric access code that can be used only one time. 

Users must enter the numeric access code in the login form of the application. The numeric characters must be hidden by a masking character. 

You need to implement the form element for users to enter the code. Which HTML element should you use? 

A. <input type="password" required autocomplete="off"> 

B. <input type="input" autocomplete="off" required /> 

C. <input type="password" stytem" visiblity:hidden;" required /> 

D. <input type="button" value="password" required /> 

Answer: A


Question No. 7

You are developing an HTML5 web application and are styling text. 

You need to use the text-transform CSS property. 

Which values are valid for the text-transform property? 

A. hidden 

B. blink 

C. capitalize 

D. line-through 

Answer:


Question No. 8

You are developing an application that processes order information. Thousands of orders are processed daily. The application includes the following code segment. (Line numbers are included for reference only.) 


The application must: 

. Display the number of orders processed and the number of orders remaining . Update the display for every 25th record processed 

You need to develop the application to meet these requirements. 

Which line of code should you insert at line 04? 

A. if (!(counter % 25)) 

B. if (counter == 25) 

C. if (counter >> 25 == 0) 

D. if (counter >> 25 == 0) 

Answer: A


Question No. 9

You are modifying a blog site to improve search engine readability. 

You need to group relevant page content together to maximize search engine readability. 

Which tag should you use? 

A. <span> 

B. <nav> 

C. <cable> 

D. <section> 

Answer:


Question No. 10

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


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

Answer: C


Question No. 11

You are developing an HTML5 web application and are styling text. 

You need to use the text-transform CSS property. 

Which value is valid for the text-transform property? 

A. Capitalize 

B. Red 

C. 20px 

D. Italic 

Answer:


Question No. 12

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" 

Answer: B


Question No. 13

You are developing an HTML5 web application and are styling text. You need to use the text-transform CSS property. 

Which value is valid for the text-transform property? 

A. red 

B. hidden 

C. lowercase 

D. italic 

Answer:


Question No. 14

You develop an HTML5 webpage with custom CSS. You have the following HTML markup: 

<div class="new" Item">...</div> 

You have the following requirements: 

. In addition to your CSS, you must use a corporate branded stylesheet named corporate.ess. 

. The corporate.ess file contains the style rule that must be used for .newsItem. 

. You must use the corporate.ess file to ensure that the webpage changes when the brand changes. 

. You must add additional style rules to the webpage. 

. You cannot modify the corporate.ess file. 

You need to apply the appropriate CSS rules to meet the requirements. 

What should you do? 

A. Add a CSS class named .newsItemUpdates to the webpage, add only the new styles to this class, and update the class attribute of the HTML markup: 

<div class=nnewsltem newsItemUpdates">..,</div> 

B. Update the corporate.ess file to include! important for each rule for the .newsItem. class, and add the new CSS rules to the webpage by using the CSS class .newsItem. 

C. Add a CSS class named .newsitemUpdates to the webpage, add the new styles to this class, and update the HTML markup to replace the .newsItem class with this new class: 

<div class*"newsItemOpdates">...</div> 

D. Add the new CSS rules to the webpage by using the CSS class .newsItem, and add! important to each rule. 

Answer: D


Question No. 15

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


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: A