A Windows Store app is closed by the user using the Alt+F4 shortcut. Which app state will the app be in after it is closed?

A.

ClosedByUser

B.

Terminated

C.

Suspended

D.

NotRunning

Correct Answer:A

QUESTION 102

You need to ensure that when your app resumes, it displays the information partially saved by the user. Which ApplicationExecutionState should you check to restore the state of the UI and the unsaved data?

A.

ClosedByUser

B.

Running

C.

Suspended

D.

Terminated

Correct Answer:D

QUESTION 103

You plan to send your application for testing to a small group of Windows 8 users. What is the best approach for deploying your app on the PCs of these users and obtain their feedback?

A.

Request the users to send their PCs or devices to you so you can install the app.

B.

Ask your users to install Visual Studio, send them your source code, and request them to compile the code and run your app.

C.

Prepare an app package and send them a copy of the app package. Request the users to install your app using the Windows PowerShell script in the package and test your app.

D.

Prepare an installer using one of the commercially available tools. Send the installer to your users.

Correct Answer:C

QUESTION 104

You are developing a Windows Store app.

The app has the following accessibility requirements:

– The automation name of each text box must be the same as the text box caption.

– Each Label element must be associated with its corresponding text box.

You need to create an interface that meets the requirements.

You have the following code:

Which code snippets should you include in Target 1 and Target 2 to complete the
code? (To answer, drag the appropriatecode snippets to the correct targets in the answer area. Each code snippet may be used once, more than once, or not at all. You mayneed to drag the split bar between panes or scroll to view content.)

Correct Answer:

QUESTION 105

You are developing a Windows Store app. You need to create a class that handles INotifyPropertyChanged events. You have the following code:

What code snippets should you include in Target 1, Target 2 Target 3 and Target 4 to complete the code? (To answer, drag the appropriate code snippets to the correct targets in the answer area. Each code snippet 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.)

Correct Answer:

QUESTION 106

You are developing an app named App1 that will read text aloud.

You need to ensure that when users use App1, they can change the voice of the reader.

You have the following code:

Which elements should you include in Target 1 and Target 2 to complete the method? (To answer, drag the appropriate elements to the correct targets. Each element 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.)

Correct Answer:

QUESTION 107

You are developing a Windows Store app. The following code segment defines an event procedure. (Line numbers are included for reference only.)

You need to define a custom help setting in the event procedure. Which three code segments should you insert in sequence at line 03? (To answer, move the appropriate code segments to the answer area and arrange them in the correct order.)

You are developing a Windows Store app that will make calls to a web service. The app must read and write the web service UR1 to and from configuration settings. The configuration settings must follow the user so that when the app makes calls to the web service, it calls the same URI, regardless of which device the user is using. You need to retrieve and store the web service URI.

You have the following code:

Which code snippets should you insert in Target 1 and Target 2 to complete the code? (To answer, drag the appropriate code snippets to the correct targets in the answer area. Each code snippet 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.)

Correct Answer:

QUESTION 109

You are developing a Windows Store app. The app uses a model that contains the following code:

You create a page named CustomerView. You define an object of type Customer named CustomerData. You need to display data from CustomerData.

You have the following XAML markup:

Which code snippets should you include in Target 1, Target 2, and Target 3 to complete the XAML markup? (To answer, drag the appropriate code snippets to the correct targets in the answer area. Each code snippet 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.)

Correct Answer:

QUESTION 110

You are developing a page for a Windows Store app.

You have the following requirements for the page:

– Display a button on the bottom app bar that allows the user to insert a picture. This button must be bound to the Insert command in the view model.

– Display a button in the main content area of the page that allows the user to open documents. This button must be bound to the Open command in the view model.

You need to ensure that the requirements are met. 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 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.)