Want to know Examcollection 70 480 exam dumps Exam practice test features? Want to lear more about Microsoft Programming in HTML5 with JavaScript and CSS3 certification experience? Study Actual Microsoft 70 480 dumps answers to Updated exam 70 480 practice test questions at Examcollection. Gat a success with an absolute guarantee to pass Microsoft 70 480 programming in html5 with javascript and css3 (Programming in HTML5 with JavaScript and CSS3) test on your first attempt.
Q1. You implement an application by using HTML5 and JavaScript. You create a webpage that contains the following HTML:
The application must place a border on only the first UL element that is contained in the DIV element.
You need to update the webpage.
What should you do?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q2. 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
Q3. You are developing an application that analyzes population data for major cities in the United States. The application retrieves population statistics for a city by using a web service.
You need to request data from the web service by using jQuery.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q4. You are creating a custom object as described by the following code.
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q5. You are creating a JavaScript function to display the current version of a web application
You declare a button as follows.
<input type="button" id="About" value="About" />
You need to create an event handler for the button by using an anonymous function.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Q6. You have a webpage that includes the following markup and code:
You need to troubleshoot the code by clicking the Submit button.
Which value will be displayed?
A. 10
B. 20
C. Undefined
D. Runtime error
Answer: A
Q7. 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: B
Q8. You are developing an application that consumes an external web service that returns the latest stock rate.
The application has two methods:
. The getResults() method makes an AJAX web service request
. The ShowRate() method displays the stock rate from the web service response You need to ensure that the ShowRate() method always displays the latest stock rate.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q9. You are developing a customer web form that includes following HTML.
<input id= "textAccountType"/>
You need to develop the form so that customers can enter only a valid account type consisting of two English alphabet characters.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Q10. 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