PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-480 (updated December 1st, 2014)

Exam 70-480: Programming in HTML5 with JavaScript and CSS3 (updated December 1st, 2014)

Which style should you use?

Your company uses a third-party component that generates HTML for a website. The third-party
component creates DIV elements that display a yellow background.
The third-party component uses inline styles in the DIV elements that are inconsistent with your
corporate standards. You must override the DIV elements in the style sheet with the corporate styles.
You need to ensure that the website meets corporate standards.
Which style should you use?

How should you develop the form?

DRAG DROP
You are developing a form that captures a user’s email address by using HTML5 and jQuery.
The form must capture the form elements as a string.
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.)

Which code segment should you use?

You are developing a website that helps users locate theaters in their area from a browser. You
created a function named findTheaters ().
The function must:
Get the current latitude and longitude of the user’s device
Pass the user’s location to findTheaters()
The user needs to access the geolocation information from the browser before searching for theaters.
Which code segment should you use?

Which code segment should you use?

You are developing an HTML5 web application. The application loads data from a web service by
using AJAX. The application displays the data by calling the displayData function. The data is loaded
by using the following code.

You need to ensure that the data is displayed when it is successfully retrieved from the web service.
Which code segment should you use?

Which two actions can you perform to achieve this goal?

You are developing a web page that performs CPU-intensive calculations. A web worker processes
these calculations on a separate background thread. The process is instantiated from the web page.
You need to stop the web worker process after the calculations are completed.
Which two actions can you perform to achieve this goal? (Each correct answer presents a complete
solution. Choose two.)

Which line of code should you insert at line 09?

You are developing a JavaScript library.
You have the following requirements:
Custom exceptions must include an error message and custom error number.
These exceptions must be thrown when data validation errors occur.
Developers must call the library to easily catch the exception and identify the problem.
You develop the following code. (Line numbers are included for reference only.)

You need to complete the code to meet the requirements.
Which line of code should you insert at line 09?

Which CSS style should you apply?

You are developing an application that retrieves a stock rate from an external web service. A web
page displays a simple rotating animation to indicate whether the stock rate is increased or
decreased.
The default image, as shown in the following graphic, indicates unchanged or neutral.

The arrow must point down if the stock rate is decreased, as shown in the following graphic.

You need to ensure that the arrow points down when the stock rate decreases.
Which CSS style should you apply?


Page 19 of 20« First...10...1617181920