PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-480 (updated February 07th, 2016)

Exam 70-480: Programming in HTML5 with JavaScript and CSS3 (updated February 07th, 2016)

You need to invoke the clickReporter() JavaScript function when a user clicks the mouse on the canvas HTML ele

You troubleshoot a webpage that contains the following HTML element:
<canvas id= “clickCanvas” width-“300”> height= “300”>Your browser does not support
the HTML5 canvas.</canvas>
The following JavaScript code is included in a script tag in the HEAD section of the
webpage: (Line numbers are included for reference only.)

You need to invoke the clickReporter() JavaScript function when a user clicks the mouse on
the canvas HTML element.
What should you do?

Which line of code should you insert at line 04?

You create an application that sends information to a web service by using the following
code: (Line numbers are included for reference only.)

When the web service returns a non-zero result code, you must raise an exception that
contains the result code.
You need to implement the code that generates the exception.
Which line of code should you insert at line 04?

Which code segment should you insert at line 05?

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

The application uses the following code. (Line numbers are included for reference only.)

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?

Which four actions should you perform in sequence?

DRAG DROP
You develop an HTML5 webpage. You have the following HTML markup:

You also have the following JavaScript variable defined:
var languages = [];
You need to add statements to an existing JavaScript function to sort the list items.
Which four actions should you perform in sequence? (Develop the solution by selecting the
required code segments and arranging them in the correct order.)

Which three actions should you perform in sequence?

DRAG DROP
You create an HTML5 webpage. You have the following HTML markup:

You also have the following JavaScript code segment:
var jsonFruit = { “apples” : “12”, “bananas” : “8”, “watermelon” : “3” }
You need to add additional rows to the fruitTable element by processing the jsonFruit values
in the order listed.
Which three actions should you perform in sequence? (Develop the solution by selecting the
required code segments and arranging them in the correct order.)

Which three actions should you perform in sequence to complete the implementation?

DRAG DROP
You have the following code:

The web service returns a JSON object that contains two properties named Description and
FileName.
The PersonImage object must meet the following requirements:
Create an object that represents an image that will be displayed.
Set the image properties from the values that are returned by the web service.
Expose the image as a property of the PersonImage object.
You need to insert code at line 13 to complete the implementation of the PersonImage
object.
Which three actions should you perform in sequence to complete the implementation?
(Develop the solution by selecting the required code segments and arranging them in the
correct order.)

How should you complete the relevant code?

HOTSPOT
You develop an HTML messaging application that allows users to send messages. The
messages can have an optional file attachment that is identified by a filename.
You use the following function to send a message:

You need to send a message with a file attachment.
How should you complete the relevant code? (To answer, select the appropriate option from
each drop-down list in the answer area.)

How should you complete the relevant code?

DRAG DROP
You develop an HTML application that calls a web service to retrieve JSON data. The web
service contains one method named GetFullName that returns an Object named data. The
data object contains two properties named GivenName and Surname.
You need to load data from the web service to the webpage.
How should you complete the relevant code? (To answer, drag the appropriate code
segment or code segments to the correct location or locations in the answer area. Use only
code segments that apply.)


Page 10 of 21« First...89101112...20...Last »