How should you complete the relevant code?
DRAG DROP
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, 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.)
How should you complete the relevant code?
HOTSPOT
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, select the correct code segment from
each drop-down list in the answer area.)
How should you complete the relevant code?
HOTSPOT
You are developing a Windows Store style app by using JavaScript. The app will send and
receive encoded information and will display the encoded information to the user in a
decrypted and recognizable state.
You need to appropriately decrypt the encoded information.
How should you complete the relevant code? (To answer, select the correct code segment
from each drop-down list in the answer area.)
Which code segment should you use?
You are developing a Windows Store app by using JavaScript. The app persists a list of
stocks in the app’s settings. The stock list is identified by a key of stockList.
The app must allow users to remove their stock lists from the app’s settings. The following
function call removes the stockList setting:
deleteAppSetting(“stockList”) ;
You need to remove only stockList from the settings storage without disrupting other settings.
Which code segment should you use?
Which code segment should you use?
How should you complete the relevant code?
HOTSPOT
You are developing a Windows Store app by using JavaScript. The app will be used to
create video blogs. The app uses the device’s internal camera.
The app must meet the following requirements:
Allow the user to record audio and video.
Save files in the .mp4 file format.
Store files in the user’s Videos library.
You need to ensure that the app meets the requirements.
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?
HOTSPOT
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, 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 custom date picker control for a Windows Store app.
The control must meet the following requirements:
• Inherit from the WinJS DatePicker control.
• Provide an additional property to set if the date selection is required.
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.)
Which code segment should you use?
You are developing a Windows Store app by using JavaScript. The app will be used in
multiple geographic locations. The app implements character grouping.
You need to ensure that the app can access only the first character group.
Which code segment should you use?
How should you complete the relevant code?
HOTSPOT
You develop a Windows Store app by using JavaScript. The app displays a list of video
controls. The user can add video controls to the list.
You need to animate the video control list when the user adds a control to the list.
How should you complete the relevant code? (To answer, select the correct code segment
from each drop-down list in the answer area.)