PrepAway - Latest Free Exam Questions & Answers

Category: 70-480 (v.5)

Exam 70-480: Programming in HTML5 with JavaScript and CSS3 (updated March 01st, 2017)

How should you complete the relevant code?

You develop an HTML5 application that allows images to be dragged and dropped within a webpage. The webpage contains a DIV element and four IMG elements
as defined in the code segment below:

You need to enable drag and drop for the application.
How should you complete the relevant code? (To answer, select the appropriate option from each drop-down list in the answer area.)

Hot Area:

How should you complete the relevant code?

A company asks you to create a function that displays loan amounts to their customers.
You must create the function by using JavaScript to meet the following requirements:
Display three different loan amounts to each customer.
Display loan amounts in order starting with the greatest amount and ending with the least amount.

You need to implement the function.
How should you complete the relevant code? (To answer, drag the appropriate command or commands to the correct location or locations in the answer area. Use
only commands that apply.)
Select and Place:

How should you complete the relevant code?

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.)
Select and Place:

How should you complete the relevant code?

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.)
Hot Area:

Which three actions should you perform in sequence to c…

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.)
Select and Place:

Which three actions should you perform in sequence?

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.)
Select and Place:

Which four actions should you perform in sequence?

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.)
Select and Place:

Hot Area:

You review code that uses WebSockets for a browser-based multiplayer game. Each player sends a move to the server, which then sends the move to all
connected game instances. The following code runs in the browser and handles the sending and receiving of moves:

For each statement in the table, select Yes if the code segment above causes the page to behave as described. Select No if it does not. Make only one selection in
each column.
Hot Area:

Make only one selection in each column Hot Area:

You are reviewing the CSS markup for an HTML5 page that displays a news article. The CSS markup for the page is as follows:

The HTML markup for the page is as follows:

For each statement in the table, select Yes if the code segments above causes the page to behave as described. Select No if it does not. Make only one selection
in each column
Hot Area:

which order will the five style sheets be applied?

You are creating an application by using HTML5 and CSS3. The styles for the pages are derived from five style sheets.
The styles are not being applied correctly to the pages in the application.

You need to determine the order in which the style sheets will be applied by the browser.
In which order will the five style sheets be applied? (To answer, move the style sheet types from the list of style sheet types to the answer area and arrange them in
the order that they will be applied.)
Select and Place:


Page 15 of 24« First...10...1314151617...20...Last »