aiotestking uk

70-480 Exam Questions - Online Test


70-480 Premium VCE File

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

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

Q2. You are developing a web page that includes the following HTML. <span id="myTextSpan" class="myStyle">Hello, World!</Span> You need to use inline CSS styling to format the text with Arial font. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: B

Q3. You are modifying an existing web page. The page is being optimized for accessibility. The current page contains the following HTML. 

Standards-compliant screen readers must be able to identify the links contained within the navigation structure automatically. 

You need to create the navigation link structure in the page. 

With which container tags should you wrap the existing markup? 

A. <navmap> </navmap> 

B. <div id="nav"> </div> 

C. <nav> </nav> 

D. <map> </map> 

Answer:

Q4. You develop a webpage by using HTML5. 

The user interface of the webpage must show a gray-lined box that contains the label Enter your information:. Inside the box are two labels and two input boxes. The first input box must be labeled Name:. The second input box must be labeled Email:. 

Below the box is a Submit button. 

The user interface must look like the following; You need to create the user interface. Which markup should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: B

Q5. You are developing an application that uses a JavaScript library. The library contains the following functions. 

The library may throw many types of exceptions. The exceptions are grouped by category. 

You need to catch and identify the exceptions by group. 

Which code segment should you insert at line 05? 

[MISSING]

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q6. You are troubleshooting a web page that includes the following code segment. 

You need to evaluate the value of the variable x. 

What will be displayed in the user interface? 

A. 0 

B. 1 

C. 2 

D. An error 

Answer: A

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

Q8. You develop an HTML5 chat application. 

You need to provide real-time updates to the messages that users post in the chat application. 

What should you do? 

A. Use get o to obtain data updates. 

B. Use a RESTful web service. 

C. Use WebSockets. 

D. Use ajaxo to obtain data updates. 

Answer: C

Q9. You develop an HTML5 application. The application uses an image that is returned from an HTTP POST request. 

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

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: B

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

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: