How should you complete the relevant code?
DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will be used in
multiple geographic regions.
You need to ensure that the app displays dates in the region-specific full date format.
How should you complete the relevant code? (To answer, drag the appropriate code
segments to the correct locations in the answer are a.
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.)
How should you complete the relevant code?
HOTSPOT
You are developing a Windows Store app for an airline. The app will provide current flight
status information.
The app will display the flight status on the lock screen if the user grants permission.
You have the following requirements:
• Display a dialog box that requests access to the lock screen.
• Display a message that indicates whether the user has granted access to the lock
screen.
You need to ensure that the requirements are met.
How should you complete the relevant code? (To answer, select the correct code segment
from each drop-down list in the answer area.)
How should you complete the relevant code?
DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will call a WinMD
component to convert temperature.
The component exposes the following two members:
• A static variable named Fahrenheit
• A public method named GetInCelsius( ) that accepts an integer
You need to ensure that the app will display the temperature in Celsius and Fahrenheit.
How should you complete the relevant code? (To answer, drag the appropriate code
segments to the correct locations in the answer are a.
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.)
Which three actions should you perform in sequence?
DRAG DROP
You are writing a Windows Store app by using JavaScript.
You need to authenticate a cloud server as a source for Windows Push Notification Services (WNS).
Which three 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.)
Which code segments should you insert at lines 02 and 05?
You are developing a Window Store app by using JavaScript. The app will allow users to
print documents by using a local printer.
The following code segment registers the print contract:
You need to ensure that the app uses the Devices charm to access printers.
Which code segments should you insert at lines 02 and 05?
Which three actions should you perform in sequence?
DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will be used to print documents.
You need to ensure that the app allows the user to specify the number of copies to print.
Which three 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.)
Which code segment should you insert at line 05?
Which code segment should you insert at line 05?
You are developing a Windows Store app by using JavaScript. The app will use a custom
print template for printing documents. The template will be provided in a file named
customTemplate.htm.
The file will be deployed as part of the app package.
The code segment below references two objects:
You need to ensure that the app displays the custom print template while printing the documents.
Which code segment should you insert at line 05?
Which code segment should you insert at line 05?
What will occur when the event fires?
You are debugging a Windows Store app that another developer created by using HTML5
and JavaScript.
The default.js file contains the following code segment:
The app has a screen that plays video files. The HTML5 video control on the screen has an
ID of video1.
You need to identify the effect of firing the source requested event. What will occur when the
event fires?