PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

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?

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?

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