Issuu on Google+

From May.23 to June.23, candidates can enjoy 20% discount on all exams, the promo code is “7years”. Besides, Exampdf also provides 10-usd vouchers for people to save money. The vouchers are below: 5wBh7DXC, RQj636KV, OBX9Pg6L, XbZp1Klw, WI2kpBgD, eY3sY8RK, iUHd762k, Yh3yxnN2, WO5wRS9S. Use them now.. Microsoft certifications contain: MCP, MTA, MCSE, MCDST, MCSA, MCSD, and so on. Hot Microsoft exams at Exampdf: 74-343 74-344 70-331 70-332


The safer , easier way to help you pass any IT exams.

Exam

: 70-485

Title

: Advanced Windows Store App Development using C#

Version : DEMO

1/6


The safer , easier way to help you pass any IT exams.

For example How to answer Drag and Drop? The Drag and Drop subject will appear "Drag and Drop", which is after the

number.

The real question is as follows: How can we mark them? A, B, C and D represent the boxes on the right.These boxes from top to bottom, in turn, are A, B, C and D. 1, 2, 3 and 4 represent the boxes on the left.These boxes from top to bottom, in turn, are 1, 2, 3 and 4.

Answer:

We marked them as follows:

2/6


The safer , easier way to help you pass any IT exams.

So the answer of choice question is

A2 AND B3

1.You need to set the PlayTo source in the LoadFile() method.Which line of code should you insert at line PT30? A.playToManager.SetSource(stream, contentType); B.element.SetSource(stream, contentType); C.element.SetSource(videoFile, contentType); D.dispatcher.SetSource(stream, contentType); Answer: B 2. [DRAG And DROP] You are developing a Windows Store app.The GetData() method returns an integer.You need to run the method as an asynchronous task.How should you complete the code segment? (To answer, drag the appropriate expression to the correct position in the .Each expression 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.) 1.Task<int> 2.Finalize 3.Task 4.StartNew 5.(int)Task 6.Equals Answer: A1,B5 3.You are developing a Windows Store app that invokes asynchronous methods to keep the app responsive to user actions.The app must handle exceptions gracefully, so they are never displayed to the user.Which code segment should you use? A.private async void SearchButton_Click(object sender, RoutedEventArgs e){try{var result = await this.SearchAsync();searchLabel.Text = "Found " + result.Count + " results" + Environment.NewLine;...}catch (Exception ex){...}} B.private async void SearchButton_Click(objectsender, RoutedEventArgse){varresult = awaitthis.SearchAsync();try{searchLabel.Text = "Found " + result.Count + " results"+ Environment.NewLine;...}catch(Exceptionex){...}} C.private dynamic SearchButton_Click(object sender, RoutedEventArgs e){try{var result = this.SearchAsync();searchLabel.Text = "Found " + result.Count + " results" + Environment.NewLine;...}catch (Exception ex){...}} D.private async void SearchButton_Click(objectsender, RoutedEventArgs e){varresult =

3/6


The safer , easier way to help you pass any IT exams.

this.SearchAsync() await;try{searchLabel.Text = "Found "+ result.Count + " results"+ Environment.NewLine;...}catch(AsynchronousExceptionex){...}} Answer: A 4.You need to meet the business requirements about downloading and uploading.How should you configure the app? (To answer, select the appropriate options from each drop-down list in the .) 1.User actions 2.Control channel 3.Wide Logo Only 4.Playback status 5.Device availability 6.Badge Logo and Wide Logo 7.Photo file stream 8.Badge and Tile Text 9.Tile 10.Badge Logo and Tile Image 11.Tile Image Only Answer: A3,B6,C8 5.You are developing a Windows Store app that saves a file to a cloud service for other apps to use.You need to configure the app manifest.Which declaration should you use? (To answer, select the appropriate declaration from the drop-down list in the .)

Answer: B 6.You need to ascertain whether the device that the app is running on has a compass.Which line of code should you insert at line CE43?

4/6


The safer , easier way to help you pass any IT exams.

A.while(Windows.Devices.Sensors == Compass) B.if (Compass.GetDefault() != null) C.if (Compass.GetDefault() == Compass.FirstOrDefault) D.if(Compass.GetCurrentReading() != null) Answer: B 7.You are developing a Windows Store app.You need to create and run unit tests for the app.Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the and arrange them in the correct order.) A.Create a new unit test solution. B.Create a unit test project in the existing solution. C.Add code to the test classes and run the tests. D.Modify the Package.appxmanifest file with the appropriate settings. E.Create a Unittest.appxmanifest file to store the test settings. F.Modify the production classes to implement the test code. Answer: BCE 8.You need to implement downloading of media files and other content.Which code segment should you add to App.xaml.cs? A.private GetPendingDownloadsList(){IReadOnlyList<DownloadOperation> downloads = awaitBackgroundDownloader.GetCurrentDownloadsAsync();if (downloads.Count > 0){List<Task> myTasks = new List<Task>();for (int i=0; i < downloads.count; i++){await HandleMyPendingDownloads(downloads[i], true);}await Task.WhenAll(myTasks);}} B.private async Task GetPendingDownloadsList(){IReadOnlyList<DownloadOperation> downloads = awaitBackgroundDownloader.GetCurrentDownloadsAsync();if (downloads.Count > 0){List<Task> myTasks = new List<Task>();foreach (DownloadOperation download in downloads){myTasks.Add(HandleDownloadAsync(download, false));}await Task.WhenAll(myTasks);}} C.private Task GetPendingDownloadsList(){IReadOnlyList<DownloadOperation> downloads =BackgroundDownloader.CreateDownloadAsync();if (downloads.Count > 0){List<Task> myTasks = new List<Task>();foreach (DownloadOperation download in downloads){myTasks.Add(HandleDownloadAsync(download, false));}Task.WhenAll(myTasks);}} D.private async Task GetPendingDownloadsList(){IReadOnlyList<DownloadOperation> downloads = awaitBackgroundDownloader.GetCurrentDownloadsAsync();if (downloads.Count > 0){List<Task> myTasks = new List<Task>();for (int i=0; i < downloads.count; i++){await HandleMyPendingDownloads(downloads[i], true);}await Task.WhenAll(myTasks);}} Answer: B 9.You need to ascertain whether a camera can support zooming.Which code segment should you insert at line CA28? A.if (!media.Zoom.Capabilities.Supported)throw new Exception("Device must support zoom"); B.if (video.Zoom.Capabilities.Current == 0)throw new Exception("Device must support zoom"); C.if (!video.Zoom.Capabilities.Supported)throw new Exception("Device must support zoom"); D.if (!media.VideoDeviceController.Zoom)throw new Exception("Device must support zoom"); Answer: C

5/6


The safer , easier way to help you pass any IT exams.

10.You need to implement a custom control to display thumbnail images of video clips.Which code segment should you use? A.public sealed class DownloadedVideoList: FlipView{public DownloadedVideoList(){this.DefaultStyleKey = typeof(ListView);}} B.public sealed class DownloadedVideoList: ListView{public DownloadedVideoList(){this.DefaultStyleKey = typeof(DownloadedVideoList);}} C.public sealed class DownloadedVideoList: ListView{public DownloadedVideoList(){this.DefaultStyleKey = typeof(ListView);}} D.public sealed class DownloadedVideoList: FlipView{public DownloadedVideoList(){this.DefaultStyleKey = typeof(DownloadedVideoList);}} Answer: B

6/6


Exampdf 70 485 training material