Latest MCSD 70-481 Dumps Real Exam Download 11-20

Ensurepass

QUESTION  11

You are developing a Windows Store app by using HTML5 and JavaScript. You need to list all the keyboard, stylus, mouse, and touch input devices that are connected to the local computer system.

Which Windows library should you use?

 

A. Windows.UI.Input

B. Windows.Media.Devices

C. Windows.Devices.Enumeration

D. Windows.Devices.Input

 

Correct Answer: D

 

 

QUESTION  12

You are developing a Windows Store app by using HTML5 and JavaScript. The app will be used to monitor road traffic conditions. The app must support live tile notifications, in accordance with the following requirements:

· Update the tile every five minutes when the app is in the running state.

· Update the tile once in the morning and once in the evening when the app is in the suspended state.

· Implement updates to tiles to optimize the power and resource consumption when the app is suspended or not otherwise running. You need to implement delivery notifications to ensure that the requirements are met.

How should you use delivery notifications?

 

A. Use the Periodic delivery notification when the app is running, and use the Scheduled delivery notification when the app is suspended.

B. Use the Push delivery notification when the app is running, and use the Local delivery notification when the app is suspended.

C. Use the Local delivery notification when the app is running, and use the Push delivery notification when the app is suspended.

D. Use the Scheduled delivery notification when the app is running, and use the Push delivery notification when the app is suspended.

 

Correct Answer: C

 

 

QUESTION  13

You are developing a Windows Store app by using HTML5 and JavaScript. The app defines the following objects:

· inkManager is an object to process and manipulate the ink-related data from the stylus.

· inkContext is an object to hold the surface context.

· currentPenId is an object to restrict input processing to one stroke at a time. The app must support the following requirements:

· Support the use of a stylus input device.

· Begin capturing input when the stylus first touches the screen.

· Render stylus movements in real time.

You need to ensure that the requirements are met. Which code segments should you use? (To answer, select the correct option from each drop-down list in the answer area.)

Hot Area:

clip_image002

Correct Answer:

clip_image004

 

 

QUESTION  14

You are developing a Windows Store app. You need to ensure that unauthenticated users are redirected to the login screen when they attempt to navigate to secure pages.

Which navigation member should you use?

 

A. canGoBack

B. onbeforenavigate

C. canGoForward

D. onnavigated

 

Correct Answer: B

 

 

QUESTION  15

You are developing a Windows Store app. Users must be able to initiate searches by using the Search charm. The app must display the search text in a DIV element named searchBox.

You need to add code to meet this requirement. Which code segment should you add?

 

A.clip_image006

B.   clip_image008

C.  clip_image010

D.clip_image012

 

Correct Answer: B

 

 

QUESTION  16

You are developing two Windows Store apps named CameraApp and PhotoAlbum. The apps must meet the following requirements:

· CameraApp must have access to images on the local computer on which CameraApp is running.

· PhotoAlbum must be able to access the images from CameraApp.

You need to configure the deployment package settings for both apps to ensure that the requirements are met. What should you do?

 

A. Add the URI of CameraApp to the Content URIs list for PhotoAlbum, and add the URI of PhotoAlbum to the Content URIs list for CameraApp.

B. Add the Pictures Library setting to the list of capabilities for PhotoAlbum, and add the Share Target setting to the list of declarations for PhotoAlbum.

C. Add the ShareTarget setting to the list of declarations for PhotoAlbum, and add the Pictures Library setting to the list of capabilities for CameraApp.

D. Add the Pictures Library setting to the list of declarations for CameraApp, and add the Share Target setting to the list of capabilities for PhotoAtbum.

 

Correct Answer: C

 

 

QUESTION  17

You are developing a Windows Store app. The app includes a handler for the datarequested event. A portion of the code for the event handler is shown in the following code segment:

clip_image014

The app must meet the following requirements:

· The app must share an order tracking link with target apps.

· The app must share URI-type data only.

You need to ensure that the app meets the requirements. Which code segment should you insert at line 05?

 

A. e.request.data.uri(url);

B. e.request.data.properties.setText(url);

C. var link = new Windows.Foundation.Uri(url); e.request.data.setUri(link);

D. var link = new Windows.Foundation.Uri(url); e.request.data.properties.setText(url); e.request.setLink(link);

 

Correct Answer: C

 

 

QUESTION  18

You are developing a Windows Store app. The app allows users to browse contacts from a social networking site. The app has the following requirements:

· The user must be able to select more than one contact at a time.

· The app must display all of the details for the selected contacts.

You need to ensure that the requirements are met. Which code segments should you use?

(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_image016

 

Correct Answer:

clip_image018

 

 

QUESTION  19

You are developing a Windows Store app. You need to ensure that a remote file is updated when the app is activated. Which code segment should you use? (To answer, select the correct option from the drop-down list in the answer area.)

Hot Area:

clip_image020

Correct Answer:

clip_image022

 

 

QUESTION  20

You are developing a Windows Store app. You need to ensure that the app logs pages that are viewed by the user. Which navigation member should you use?

 

A. onnavigated

B. canGoForward

C. canGoBack

D. onbeforenavigate

 

Correct Answer: A

 

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