70-480 Exam Questions - Online Test


70-480 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

certleader.com

Simulation of exam 70 480 pdf sample question materials and software for Microsoft certification for IT professionals, Real Success Guaranteed with Updated exam 70 480 practice test pdf dumps vce Materials. 100% PASS Programming in HTML5 with JavaScript and CSS3 exam Today!

Q41. You develop an HTML application that is located at www.adventure-works.com. The application must load JSON data from www.fabrikam.com. 

You need to choose an approach for loading the data. 

What should you do? 

A. Add a crossdomain.xml file to the second server. 

B. Configure Cross-Origin Resource Sharing (CORS) on the servers. 

C. Load the data in a JavaScript timeout callback. 

D. Reference the remote data as an XML resource. 

Answer: B


Q42. 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:


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

You need to add a background color to the first article in each section. 

Which code segment should you add to the webpage? 

A. $ ("section article:first-child").css("background-color", "#f2f2f2"); 

B. $ ("section:first-child").ess ( "background-color", "#f2f2f2"); 

C. $ ("article:first-of-type") .css("background-color", "#f2f2f2"); 

D. $ ("section:first-of-type").css("background-color", "#f2f2f2"); 

Answer: C


Q44. 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="country"/> 

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

C. <input id="txtVa!ue" type="text" pattern-" [A-Za-z] {3} "/> 

D. <input id="txtValuen type="code" pattern"="country"/> 

Answer:


Q45. You are developing an HTML5 page named main.html. The JavaScript code for the main page is located in a file named myApp.js. 

You need to create a web worker and instantiate it from main.html. 

Where should you place the web worker code? 

A. In the myApp.js file 

B. In the main.html file 

C. In a separate .js (JavaScript) file 

D. In a separate executable file 

Answer: C


Q46. You develop an interactive scalable vector graphic (SVG) application. 

You write the following code (Line numbers are included for reference only.): 

You need to increase the size of the circle by 50 percent. Which code segment should you insert at line 02? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: B


Q47. You develop a webpage. 

The webpage must display a grid that contains one row and five columns. Columns one, three, and five are the same width. Columns two and four are the same width, but much wider than columns one, three, and five. The grid resembles the following image: 

The grid must meet the following requirements: 

Each row must be tall enough to ensure that images are not cut off. 

Each row must contain five columns. 

The width of the columns must not change when the screen is resized or rotated. 

You need to define the style for the grid. Which CSS3 style should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q48. You are developing an HTML5 web form to collect feedback information from site visitors. 

The web form must display an INPUT element that meets the following requirements: 

Allow numeric values between 1 and 10. 

Default to the value of 5. 

Display as a slider control on the page. 

You need to add the INPUT element to the form. 

Which HTML element should you add? 

A. Rating (Between 1 and 10): <input type="number" name="rating" min ="1" max-"10"> 

B. Rating (Between 1 and 10): <input type="number" name="rating" min="1" max="10" default="5"> 

C. Rating (Between 1 and 10): <input type="range" name="rating" min="0" max="10" default"="5"> 

D. Rating (Between 1 and 10): <input type="range" name="rating" min="10" max="10" value="5"> 

Answer: D


Q49. 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? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: D


Q50. 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. Hidden 

C. Italic 

D. Line-through 

Answer: