PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

How should you use delivery notifications?

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?

How should you complete the relevant code?

You are developing a Windows Store app. The app will receive text data that has been shared by using the
Share charm. The app includes a page named ShareTarqetPage that calls the Activate() method.
The XAML portion of the SharerarqetPage page contains a button.
The app has the following requirements:
– When the app is activated by the Share charm, theapp must first display the ShareTargetPaqe page.
– When the user clicks the button, the page must receive the shared text and then save the text by using the
existing WriteData () method.
You need to finish implementing the ShareTarqetPaqepage.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct
locations in the answer area. Each code segment maybe used once, more than once, or not at all. You may
need to drag the split bar between panes or scroll to view content.)

Which code segments should you use?

HOTSPOT
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 manipulatethe ink-related data from the stylus. inkContextis 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.)

How should you complete the relevant code?

You are developing a Windows Store social networking app.
Users can drag UI elements around the page by usingmouse, finger, or pen gestures. You need to ensurethat
UI elements move when they are dragged.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct
locations in the answer area. Each code segment maybe used once, more than once, or not at all. You may
need to drag the split bar between panes or scroll to view content.)

You need to configure the deployment package settings for both apps to ensure that the requirements are met

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 localcomputer on which CameraApp is running.
PhotoAlbum must be able to access the images fromCameraApp. You need to configure the deployment
package settings for both apps to ensure that the requirements are met. What should you do?