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 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.)
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 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.)
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 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.)
Which code segment should you insert at line 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?
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?
Which code segment should you use?
You are developing a Windows Store app by using JavaScript. The app persists a list of restaurants in
the app’s settings. The restaurant list is identified by a key of city. The app must allow users to
remove their restaurant lists from the app’s settings. The following function call removes the city
setting:
deleteListSetting(“city”) ;
You need to remove only city from the settings storage without disrupting other settings.
Which code segment should you use?