PrepAway - Latest Free Exam Questions & Answers

Category: 70-480 (v.7)

Briefing 70-480: Programming in HTML5 with JavaScript and CSS3 (updated November 29th, 2017)

How should you build the code segment?

DRAG DROP
An HTML page has a CANVAS element.
You need to draw a red rectangle on the CANVAS element dynamically. The rectangle should resemble the
following graphic.

How should you build the code segment? (To answer, drag the appropriate line of code to the correct location.
Each line of code 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.)
Select and Place:

Which tag should you use?

You are modifying a website. The body of the page will be divided into two sections:
A content section will contain blog posts and comments.
An area on the right-hand side will contain advertisements.
The page is defined by the following HTML.

The site must conform to HTML5 standards and must use HTML5 semantic tags.
You need to ensure that the advertisements are on the rightmost section of the page.
Which tag should you use?

Which HTML5 element should you use?

You are developing an HTML5 web application for a surveyor company that displays topographic images.
The application must:
Display the topographic images at different zoom levels without loss of detail
Print the topographic images without loss of detail
Work from only one source file for each topographic image
You need to ensure that the topographic images display according to the requirements.
Which HTML5 element should you use?

Which two code segments should you use?

You are creating a class named Sedan that must inherit from the Car class. The Sedan class must modify the
inherited fourDoor () method. The Car class is defined as follows.

Future instances of Sedan must be created with the overridden method.
You need to write the code to implement the Sedan class.
Which two code segments should you use? (Each correct answer presents part of the solution. Choose two.)

Which code segment or segments should you use?

DRAG DROP
You are developing an application for an online retailer. The company ships only to certain countries.
The application must:
Store a list of country codes in an array
Validate the country code of the shipping address against the countries array
Include a Boolean value in the array that indicates whether or not you can ship to the country
Display a list of countries that can be shipped to if the user inputs a code for a country that the retailer
cannot ship to
You need to develop the application to meet the requirements.
Which code segment or segments should you use? (To answer, drag the appropriate code segment or
segments from the list of code segments to the correct location or locations in the work 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.)
Select and Place:

How should you build the code segment?

DRAG DROP
You are creating a function by using JavaScript. The function accepts an object as the parameter and returns a
string that identifies the data type of the object.
You have the following requirements:
The function must return “Number” if the object is a number
The function must return “String” if the object is a string
The function must return “Unknown” if the object is neither a number nor a string
You need to implement the function to meet the requirements.
How should you build the code segment? (To answer, drag the appropriate word to the correct location in the
code segment. Each word 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.)
Select and Place:


Page 20 of 26« First...10...1819202122...Last »