Advanced Windows Store App Development using C#
Question No: 91 – (Topic 5)
You are evaluating the following code that is part of a method named SelectMove:
You need to recommend a replacement for the foreach loop to reduce the amount of time that it takes for SelectMove to execute.
Which code segment should you recommend?
Question No: 92 HOTSPOT – (Topic 5)
You are developing a Windows store app that requires text documents. The documents are loaded from a web service and are often larger than 5 MB. The users of the app travel between offices that are located on different continents.
The app must support thousands of documents and use as little local storage as possible. You need to store the documents to meet the requirements.
You have the following code:
Which code snippets should you insert in Target 1 and Target 2 to complete the code? (To answer, select the correct code snippet from each drop-down list in the answer area.)
Question No: 93 HOTSPOT – (Topic 5)
You are developing a Windows Store app. You need to encrypt data.
How should you complete the code segment? (To answer, select the appropriate line of code from each drop-down list in the answer area.)
Question No: 94 DRAG DROP – (Topic 5)
You are developing a Windows Store app that writes data to a file.
You have the following requirements:
->If a file exists with the same name, it should be overwritten by the new file.
->The data must be stored in the app data folder.
The method is defined as follows. (Line numbers are included for reference only.)
You need to complete the method to meet the requirements.
Which three code segments should you arrange in sequence at lines 03, 04, and 05? (To answer, move the appropriate code segment from the list of code segments to the answer area and arrange them in the correct order.)
Step 1: Local is meant to store assets in a local, application-specific folder.
Step 2: ReplaceExisting. Need to replace existing file
Step 3: Write text to your file by calling the WriteTextAsync methods of the FileIO class.
Question No: 95 DRAG DROP – (Topic 5)
You are developing a Windows Store app that downloads large files from the Internet by using background tasks.
The app includes the following:
->TaskInstance is an instance of the IBackgroundTask interface that provides access to a background task instance.
->DownloadFilesAsync() is the asynchronous method that performs the download.
You need to ensure that the app performs the download operation asynchronously in a background task.
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,)
Question No: 96 – (Topic 5)
You are developing a Windows Store app that targets customers who travel frequently.
The app allows users to record audio and video files and save them to their local devices.
You have the following traveler-friendly requirements:
->The audio and video files must be shorter than three minutes in duration.
->The app must finalize recording automatically when the time limit is reached.
->You cannot use continuous polling to test when the time limit is reached.
You need to ensure that the app meets the requirements. What should you do?
Assign a handler to the DefaultAudioCaptureDeviceChanged event to handle the requirements.
Handle the RecordLimitationExceeded event to handle the requirements.
Call the StopRecordAsync() method to end recording.
Handle the AudioTransferRequested event to avoid continuous polling.
Question No: 97 HOTSPOT – (Topic 5)
You are developing a Windows Store app. You have the following resource table.
You need to use text resources in the app. How should you complete the code segment? (To answer, select the appropriate line of code from each drop-down list in the answer area.)
Question No: 98 – (Topic 5)
You are developing a Windows Store app that prints documents. An object named printManager manages the print flow. An object named printDocument sends output to the printer.
You need to ensure that the app allows the user to preview the print layout of the entire document.
Which event should you handle to construct the print preview of the entire document?
Question No: 99 DRAG DROP – (Topic 5)
You are developing a Windows Store app. The app allows users to purchase additional features from within the app.
You need to run the EnableExtendedFeatures() method if the user has purchased extended features.
How should you complete the code segment? (To answer, drag the appropriate lines of code to the correct location or locations. Each line of code 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.)
Question No: 100 – (Topic 5)
You are developing a Windows Store app that uses the Windows Push Notification Service (WNS) to send toast notifications.
You need to ensure that the requests that the app sends to the WNS follow the authorization standard that WNS supports.
Which authorization standard should you use?
|Lowest Price Guarantee||Yes||No||No|
|Free VCE Simulator||Yes||No||No|