Latest MCSD 70-481 Dumps Real Exam Download 1-10

Ensurepass

QUESTION  1

You are developing a Windows Store app. The app will be used on devices that are capable of changing view states. The app contains the following CSS code segment. (Line numbers are included for reference only.)

clip_image002

The app has the following requirements when the host device is in a landscape orientation:

· The app’s client area must be the same height as the device’s height.

· The app’s client area must be the same width as the device’s width.

You need to ensure that the layout of the device screen meets the requirements. Which code segment should you insert at line 01?

 

A. @ device screen and (-ms-view-state: fullscreen-landscape) {

B. @ device screen and (-ms-view-state: fullscreen-snapped) {

C. @ media screen and (-ms-view-state: fullscreen-landscape)

D. @ media all and (-ms-view-state: fullscreen-snapped) {

 

Correct Answer: C

 

 

QUESTION  2

You are developing a Windows Store app that allows the user to write reviews for a company’s products. The product selection page must switch to a vertical list layout when the app is snapped.

You need to ensure that the product layout is updated. Which four actions should you perform in sequence?

(To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

Build List and Reorder:

clip_image004

Correct Answer:

clip_image006

 

 

QUESTION  3

You are developing a Windows Store app that uses a fluid layout for all user interface elements.

You need to ensure that app elements are styled appropriately based on the size and orientation of the app on the screen. Which media feature should you evaluate?

 

A. -ms-application-state

B. resolution

C. -ms-view-state

D. -aspect-ratio

 

Correct Answer: C

 

 

QUESTION  4

You are developing a Windows Store travel-planning app. An array named dataArray stores information about travel categories. The array is defined in the following code:

clip_image008

The app must display the title and image for each travel category in a ListView control.

You need to define the HTML for the ListView control. How should you complete the HTML?

(To answer, drag each appropriate attribute or object to the correct location or locations in the answer area. Each attribute or object 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:

clip_image010

Correct Answer:

clip_image012

 

 

QUESTION  5

You are developing a Windows Store app that uses a CredentialPicker control to collect the user’s user name and password credentials. The CredentialPicker control has the following requirements:

· The Remember my credentials check box must be selected by default.

· The text “Enter user name and password” must be displayed in the message header of the dialog box. You need to ensure that the requirements are met. Which properties should you use?

(To answer, drag the appropriate properties to the correct locations in the answer area. Each property 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:

clip_image014

Correct Answer:

clip_image016

 

QUESTION  6

You are developing a Windows Store app by using HTML5 and JavaScript. The app will be used to display image files from a folder. The app has the following requirements:

· The file name, size, and a thumbnail view of the image must be displayed in a ListView control.

· The user must be able to group the files into an album.

You need to ensure that the requirements are met. What should you do?

 

A. Create a custom DataSource object.

Implement only the IListDataSource interface of the DataSource object.

B. Create a WinJS.UI.FIipView object.

Bind the object to the ListView control.

C. Create a custom DataSource object.

Implement only the IListDataAdapter interface of the DataSource object.

D. Create a WinJS.UI.StorageDataSource object.

Bind the object to the ListView control.

 

Correct Answer: D

 

 

QUESTION  7

You are developing a Windows Store app for purchasing school supplies. The app has the following storage requirements:

– Inventory data must be accessible to the app and over the Internet to external suppliers. Suppliers will access the data over HTTP by using OData.

– App storage for the high volume sales periods must be able to scale rapidly, but at the lowest possible cost.

– Color preferences for the user must be stored on the host device.

You need to choose the appropriate data access strategy for each requirement. Which data access strategies should you use?

(To answer, drag the appropriate data access strategies to the correct requirements in the answer area. Each data access strategy 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:

clip_image018

Correct Answer:

clip_image020

 

 

QUESTION  8

You are developing a Windows Store app by using JavaScript. The app will be used to retrieve data from a web service.

The app must retrieve the current date and time in UTC format from the web service by using the URL http://www.treyresearch.net/ GetDateTimeinUTC.asmx. Errors must be handled.

You must ensure that data is retrieved successfully. Which code segment should you use?

 

A.clip_image022

B.   clip_image024

C.  clip_image026

D.clip_image028

 

Correct Answer: D

 

 

QUESTION  9

You are developing a Windows Store alarm clock app. When an alarm is triggered, the app must present a toast notification that plays a repeating audio alert until dismissed.

You need to ensure that the repeating audio alert is played. How should you define the toast notification?

(To answer, drag the appropriate code segments to the correct locations 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.)

Select and Place:

clip_image030

Correct Answer:

clip_image032

 

 

QUESTION  10

You are developing a Windows Store app. The app must use toast notifications to alert users when the app is operating in the background. You need configure the app to support toast notifications. Which tab in Visual Studio should you use?

(To answer, select the appropriate tab in the answer area.)

Hot Area:

clip_image034

Correct Answer:

clip_image036

 

Download Latest MCSD 70-481 Real Free Tests , help you to pass exam 100%.