Wednesday, 8 February 2017

70-480 Sample Question

Question: 20

You are developing an HTML5 web application for an architectural company that displays architectural blueprints. The application must:
Display the blueprints at different zoom levels without loss of detail Print the blueprints without loss of detail Work from only one source file per blueprint. You need to ensure that blueprints display according to the requirements. Which HTML5 element should you use?

A. CANVAS
B. SAMP
C. SVG
D. AREA

Answer: C

Tuesday, 24 January 2017

70-480 Sample Question

Question: 19

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

Sunday, 1 January 2017

70-480 Sample Question

Question: 18

You need to test the value of the following variable in JavaScript.
var length = "75";
A block of code must execute if the length equals 75 regardless of the data type.
You need to use the statement that meets this requirement.
Which lines of code should you use? (Each correct answer presents a complete solution. Choose two.)

A. if (length = = = 75)
B. if (length = = 75)
C. if (length! = 75)
D. if (length = = "75")

Answer: B,D

Thursday, 15 December 2016

70-480 Sample Question

Question: 17

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

Wednesday, 10 August 2016

70-480 Sample Question

Question: 16

You are developing a customer web form that includes the following HTML.<input id?quot;txtValu”; >; A customer must enter a value in the text box prior to submitting the form.You need to add validation to the text box control.Which HTML should you use?

A. <input id=”txtValue” type=”text” required=”required”/>
B. <input id=”txtValue” type=”text” pattern=”[A-Za-z]{3}” />
C. <input id=”txtValue” type=”required” />
D. <input id=”txtValue” type=”required” autocomplete=”on” />

Answer: A

Friday, 1 July 2016

70-480 Sample Question

Question No: 15

You are developing a web page that consumes a Windows Communication Foundation (WCF) service.The page includes the following code segment.var xhr = new XMLHttpRequest() ; The page uses the xhrHandler() method to listen for changes to the request status of the WCF service calls. It uses the xmlToJavaScript() method to convert the response from the WCF service to a JavaScript object.The xhrHandler() method must be called automatically each time the request status changes.You need to add the event handler to the request object.Which line of code should you use?

A. xhr.onCallback = xhrHandler;
B. xhr.onreadystatechange = xhrHandler;
C. xhr.readyState = xhrHandler;
D. xhr.status = xhrHandler;

Answer : B

Friday, 17 June 2016

70-480 Sample Question

Question No: 14

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=”1″ max=”10″ default”=”5″>
D. Rating (Between 1 and 10): <input type=”range” name=”rating” min=”10″ max=”10″ value=”5″>

Answer: C

Explanation/Reference:

input type=”range”
The <input type=”range”> is used for input fields that should contain a value within a range.
Depending on browser support, the input field can be displayed as a slider control.
Example :
<form>
<input type=”range” name=”points” min=”0″ max=”10″> </form>