New Updated Microsoft MCSD 70-480 Real Exam Questions and Answers Download 101-110

Ensurepass

QUESTION 101

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

 

<input id=”txtValue” type=”text” />

 

A customer must enter a valid age in the text box prior to submitting the form. You need to add validation to the control. Which code segment should you use?

 

  1.  

70-480-demo-232

  1.  

70-480-demo-233

  1.  

70-480-demo-234

  1.  

70-480-demo-235

 

Correct Answer: D

 

 

QUESTION 102

You are developing a customer contact form that will be displayed on a page of a company’s website. The page collects information about the customer. If a customer enters a value before submitting the form, it must be a valid email address. You need to ensure that the data validation requirement is met. What should you use?

 

  1. <input name=”email” type=”url”/>

  2. <input name=”email” type=”text” required=”required”/>

  3. <input name=”email” type=”text”/>

  4. <input name=”email” type=”email”/>

 

Correct Answer: D

 

 

QUESTION 103

DRAG DROP

You are developing a form that captures a user’s email address by using HTML5 and jQuery. The form must capture the email address and return it as a query string parameter. The query string parameter must display the @ symbol that is used in the email address. You need to implement this functionality. How should you develop the form?

 

To answer, drag the appropriate code segment to the correct target or targets in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

 

Select and Place:

70-480-demo-236

 

Correct Answer:

70-480-demo-237

 

 

QUESTION 104

You are developing an application that consumes a Windows Communication Foundation (WCF) service. The application interacts with the service by using the following code. (Line numbers are included for reference only.)

 

70-480-demo-238

 

You need to authenticate to the WCF service. What should you do?

 

  1. At line 11, add the following lines of code.

,username: yourusername

,password: yourpassword

  1. At line 11, add the following line of code.

,credentials: prompt

  1. At line 06, replace the code with the following line of code.

url: “http://contoso.com/Service.svc/GetCountry?

Username=username&password=psssword”,

  1. At line 11, add the following line of code.

The username and password will be stored in an XML file.

,credentials: credentials.xml

 

Correct Answer: A

 

 

QUESTION 105

You are developing a web page that enables customers to upload documents to a web server. The page includes an HTML5 PROGRESS element name
d progressBar that displays information about the status of the upload. The page includes the following code. (Line numbers are included for reference only.)

 

70-480-demo-239

 

An event handler must be attached to the request object to update the PROGRESS element on the page. You need to ensure that the status of the upload is displayed in the progress bar. Which line of code should you insert at line 03?

 

  1. xhr.upload.onloadeddata =

  2. xhr.upload.onplaying =

  3. xhr.upload.onseeking =

  4. xhr.upload.onprogress =

 

Correct Answer: D

 

 

QUESTION 106

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

 

<label id=”txtValue”X/label>

 

Information from the web form is submitted to a web service.

The web service returns the following JSON object.

 

{

“Confirmation”: “1234”,

“FirstName”: “John”

}

 

You need to display the Confirmation number from the JSON response in the txtValue label field. Which JavaScript code segment should you use?

 

  1. $(“#txtValue”).val = (JSONObject.Confirmation);

  2. $(“#txtValue”).val (JSONObject.Confirmation);

  3. $(“#txtValue”).text = (JSONObject.Confirmation);

  4. $(“#txtValue”).text (JSONObject.Confirmation);

 

Correct Answer: D

 

 

QUESTION 107

HOTSPOT

You are developing a web application that retrieves data from a web service. The data being retrieved is a custom binary datatype named bint. The data can also be represented in XML. Two existing methods named parseXml() and parseBint() are defined on the page.

 

The application must:

 

  • Retrieve and parse data from the web service using binary format if possible.

  • Retrieve and parse the data from the web service using XML when binary format is not possible.

 

You need to develop the application to meet the requirements. What should you do?

 

To answer, select the appropriate options from the drop-down lists in the answer area.

 

70-480-demo-240

 

Hot Area:

70-480-demo-241

 

Correct Answer:

70-480-demo-242

 

 

QUESTION 108

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

 

<input id = “txtValue” />

 

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?

 

  1. <input id=”txtValue” type=”text” required=”required”/>

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

  3. <input id=”txtValue” type=”required” />

  4. <input id=”txtValue” type=”required” autocomplete=”on” />

 

Correct Answer: A

 

 

QUESTION 109

DRAG DROP

You are developing a web page for runners who register for a race. The page includes a slider control that allows users to enter their age. You have the following requirements:

 

  • All runners must enter their age.

  • Applications must not be accepted from runners less than 18 years of age or greater than 90 years.

  • The slider control must be set to the average age (37) of all registered runners when the page is first displayed.

 

You need to ensure that the slider control meets the requirements. What should you do?

 

To answer, drag the appropriate word or number to the correct location in the answer area. Each word or number may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

 

Select and Place:

70-480-demo-243

 

Correct Answer:

70-480-demo-244

 

 

QUESTION 110

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

 

70-480-demo-245

 

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?

  1.  

70-480-demo-246

 

  1.  

70-480-demo-247

 

  1.  

70-480-demo-248

 

  1.  

70-480-demo-249

 

Correct Answer: A

 

Instant Access to Download Latest Complete Collection of Microsoft MCSD 70-480 Real Exam

Try Microsoft MCSD 70-480 Free Demo

Leave a Reply

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