Microsoft Essentials of Developing Windows Store Apps using HTML5 and JavaScript Sample Questions:
1. 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 Scheduled delivery notification when the app is running, and use the Push delivery notification when the app is suspended.
D) Use the Local delivery notification when the app is running, and use the Push delivery notification when the app is suspended.
2. DRAG DROP
You need to configure the app to receive push notifications. 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.
3. You are developing a Windows Store app. The app has an app bar that is defined as shown in the following code segment.
You need to style the app bar to match the style of the app.
Which CSS class should you use?
A) win-viewport
B) win-appbar
C) win-commandlayout
D) win-surface
E) win-listview
4. 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.)
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) @ media screen and (-ms-view-state: fullscreen-landscape)
B) @ device screen and (-ms-view-state: fullscreen-landscape) {
C) @ device screen and (-ms-view-state: fullscreen-snapped) {
D) @ media all and (-ms-view-state: fullscreen-snapped) {
5. 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:
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) Option B
B) Option D
C) Option A
D) Option C
Solutions:
| Question # 1 Answer: D | Question # 2 Answer: Only visible for members | Question # 3 Answer: B | Question # 4 Answer: A | Question # 5 Answer: D |
We're so confident of our products that we provide no hassle product exchange.


By Rory

