PrepAway - Latest Free Exam Questions & Answers

Category: 70-480

Exam 70-480: Programming in HTML5 with JavaScript and CSS3

Which CSS3 property should you use?

You are developing a web page that will be divided into three vertical sections. The main content of the site will be placed in the center section.
The two outer sections will contain advertisements.
You have the following requirements:
The main content section must be set to two timesthe width of the advertising sections.
The layout must be specified by using the CSS3 flexible box model.
You need to ensure that the visual layout of the page meets the requirements.
Which CSS3 property should you use?

How should you build the code?

DRAG DROP
You are developing a web page that will be accessedfrom various types of devices.
You have the following requirements:
The appropriate display resolution must be selected dynamically based on the device that is connecting to the page.
Mobile devices with a maximum width of 480 pixelsmust be able to use the page.
You need to ensure that the page displays correctlyon any device.
How should you build the code? (To answer, drag theappropriate media statement to the correct location.
Each media statement 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.)

How should you develop the form?

HOTSPOT
You are developing a form that captures a user’s email address by using HTML5 and jQuery.
The form must capture the email address and return it as a query string parameter. The query string parameter must display the @ symbol used in the email address.
You need to implement this functionality.
How should you develop the form? (To answer, selectthe appropriate options from the drop-down lists in the answer area.)

Which line of code should you use?

You are developing a web page that consumes a Windows Communication Foundation (WCF) service. The page includes the following code segment.
var xhr = new XMLHttpRequest() ;
The page uses the xhrHandler() method to listen forchanges to the request status of the WCF service calls. It uses the xmlToJavaScript() method to convert the response from the WCF service to a JavaScript object. The xhrHandlerQ method must be called automatically each time the request status changes.
You need to add the event handler to the request object.
Which line of code should you use?

You need to develop the application to meet the requirements

DRAG DROP
You are developing a web application that retrievesdata from a web service. The data being retrieved is a custom binary datatype named bint. The data can also be represented in XML. Two existing methods named parseXml() and parseBint() are defined on the page.
The application must:
Retrieve and parse data from the web service by using binary format if possible
Retrieve and parse the data from the web service by using XML when binary format is not possible
You need to develop the application to meet the requirements.
What should you do? (To answer, drag the appropriate code segment to the correct location. Each code segment may be used once, more than once, or not atall. You may need to drag the split bar between panes or scroll to view content.)


Page 5 of 7« First...34567