問題1
You need to ensure that the JavaScript object that is defined in the credentialManager.js file can be consumed by other Windows Store apps that are written in different programming languages.
How should you rewrite the code?
You need to ensure that the JavaScript object that is defined in the credentialManager.js file can be consumed by other Windows Store apps that are written in different programming languages.
How should you rewrite the code?
正確答案: C
問題2
You are developing a newsreader app that provides users with daily aggregated articles from popular news sites.
You must allow users to share the URI of the articles.
The app must allow at least one of the following ways to share the URI:
- With another Windows Store app
- With the user's default web browser
You need to implement the sharing functionality.
Which property of the StandardDataFormats class should you use?
You are developing a newsreader app that provides users with daily aggregated articles from popular news sites.
You must allow users to share the URI of the articles.
The app must allow at least one of the following ways to share the URI:
- With another Windows Store app
- With the user's default web browser
You need to implement the sharing functionality.
Which property of the StandardDataFormats class should you use?
正確答案: B
問題3
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 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.)


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 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.)


正確答案:

問題4
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 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.)


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 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.)


正確答案:

問題5
You are developing a Windows Store text editor app by using HTML5 and JavaScript.
Users must be able to select text within the app and then cut the text.
You need to enable the Cut feature.
Which code segments should you use? (Each correct answer presents part of the solution.
Choose all that apply.)

You are developing a Windows Store text editor app by using HTML5 and JavaScript.
Users must be able to select text within the app and then cut the text.
You need to enable the Cut feature.
Which code segments should you use? (Each correct answer presents part of the solution.
Choose all that apply.)

正確答案: A,B
問題6
You need to ensure that the about.html page is displayed. Which code segment should you insert at line DF13?

You need to ensure that the about.html page is displayed. Which code segment should you insert at line DF13?

正確答案: A
問題7
You are developing a Windows Store app that will be used to display daily high temperatures and other weather conditions for five cities.
The app must meet the following requirements:
- A splash screen is displayed on the device until the data is retrieved from the Internet. - The user must be able to view weather information as soon as the data is fully available.
You need to ensure that the splash screen is displayed at startup until the app has completed loading updated data.
Which actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose all that apply.)
You are developing a Windows Store app that will be used to display daily high temperatures and other weather conditions for five cities.
The app must meet the following requirements:
- A splash screen is displayed on the device until the data is retrieved from the Internet. - The user must be able to view weather information as soon as the data is fully available.
You need to ensure that the splash screen is displayed at startup until the app has completed loading updated data.
Which actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose all that apply.)
正確答案: B,C
問題8
You need to ensure that the app displays only contacts that meet the requirements. Which code segment should you insert at line EJ03?

You need to ensure that the app displays only contacts that meet the requirements. Which code segment should you insert at line EJ03?

正確答案: C
問題9
You are developing two Windows Store apps named PhotoApp and PictureAlbum.
The apps must meet the following requirements:
- PhotoApp must have access to images on the local computer on which PhotoApp is running. - PictureAlbum must be able to access the images from PhotoApp.
You need to configure the deployment package settings for both apps to ensure that the requirements are met.
What should you do?
You are developing two Windows Store apps named PhotoApp and PictureAlbum.
The apps must meet the following requirements:
- PhotoApp must have access to images on the local computer on which PhotoApp is running. - PictureAlbum must be able to access the images from PhotoApp.
You need to configure the deployment package settings for both apps to ensure that the requirements are met.
What should you do?
正確答案: B