Advanced Windows Store App Development using C# v11.0 (70-485)

Page:    1 / 11   
Total 171 questions

You plan to develop several Windows Store apps.
You plan to use a CheckBox control in all of the apps. The CheckBox control will use a custom visual display.
You create XAML markup to customize the control. The code contains all of the necessary visual components for the control, including elements named checkedGlyph and indeterminateGlyph.
You need to ensure that the check box meets the following requirements:
-> If a value for the check box was NOT set, the check box must display indeterminateGlyph.
-> When the check box is selected, the check box must display checkedGlyph.
-> If the check box is cleared, the check box must NOT display any glyphs.
You have the following XAML markup:


Which code snippets should you insert in Target 1, Target 2, Target 3, Target 4, Target 5 and Target 6 to complete the XAML markup? (To answer, select the correct code snippet from each drop-down list in the answer area.)




Answer :

You are developing a Windows Store app.
The app must send video from a phone to a TV by using the Play To contract.
You need to complete the SourceRequest event of the PlayToManager object.
How should you complete the code segment? (To answer, drag the appropriate lines of code to the correct location or locations. 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.)




Answer :

You are developing a Windows Store app named GeoLoc.
You have the following code:


When you run the app on some devices, you receive the following error message: "An exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll but was not handled in user code."
You need to resolve the issue that causes the exception to occur.
Which file should you modify?

  • A. Package.appxmanifest
  • B. Assemblyinfo.es
  • C. App.xaml
  • D. Geoloc.csproj


Answer : A

Reference: http://stackoverflow.com/questions/22753843/an-exception-of-type-system- unauthorizedaccessexception-occurred-in-mscorlib-d

You are developing a Windows Store app that beeps when a device is turned upside down.
You need to identify which type of sensor to use for the app.
Which sensor should you identify?

  • A. Gyrometer
  • B. Accelerometer
  • C. SimpleOrientationSensor
  • D. Compass


Answer : B

You are developing a Windows Store app.
You need to profile the app performance.
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.)




Answer :

You are developing a Windows Store app that allows users to copy music from their local computers to removable storage.
The app displays songs grouped by the month the song was downloaded and allows individual songs to be copied to the removable storage device. The user interface for selecting and copying songs uses data binding.
You need to load and return songs in a format appropriate for data binding.
How should you complete the code segment? (To answer, select the appropriate line of code from each drop-down list in the answer area.)




Answer :

You are developing your first Windows Store app and submitting it to the Windows Store.
The app uses a cloud server to send notifications by using Windows Push Notification
Service (WNS).
You need to authenticate the cloud server with WNS.
Which five 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.)




Answer :

You develop several Windows Store apps.
You need to use a control to display multiple elements.
The control has the following requirements:
-> Each item must be displayed as a button.
-> When a user clicks a button, the button must show that it was clicked.
-> Developers must be able to bind the control to a collection.
-> Developers must be able to handle an event when items are selected.
-> Developers must be able to specify whether the control provides users with the ability to select either one or multiple items.
What should you use? (More than one answer choice may achieve the goal. Select the
BEST answer.)

  • A. A custom control that inherits from ListBox
  • B. A control template for the ComboBox control
  • C. A custom control that inherits from ComboBox
  • D. A control template for the ListBox control


Answer : D

You are developing a Windows Store app to view MP4 videos.
You need to ensure that when a user double-clicks an MP4 file, the app starts and plays back the video automatically.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)

  • A. Add the Videos Library capability to the Appxmanifest file.
  • B. Modify the OnActivated event of the App.xaml.cs file to pass ProtocolActivatedEventArgs to the page if ActivatedEventArgs.Kind == ProtocolActivatedEventArgs.
  • C. Add a File Type Associations declaration to the Appxmanifest file.
  • D. Add an OnFileActivated event handler to the App.xaml.cs file.
  • E. Add an AutoPlay Content declaration to the Appxmanifest file.


Answer : C,D

You are developing a Windows Store app.
The app has numerous features that should be enabled or disabled based on the license information of the app.
You need to test the trial functionality by using the CurrentAppSimulator class.
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,)




Answer :

You are developing a Windows Store app.
You must create a custom soft input panel (SIP).
You need to animate the input panel with Show/Hide animations.
Which transition class should you use?

  • A. EntranceThemeTransition
  • B. EdgeUIThemeTransition
  • C. PaneThemeTransition
  • D. AddDeleteThemeTransition


Answer : C

You plan to create a custom panel that displays a pie chart. Each value of the pie chart will have a control.
You need to register a custom dependency property to the panel.
Which code segment should you use?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : C

You are developing a Windows Store app.
The app receives badge notifications from Windows Push Notification Services (WNS).
You configure the app to establish a communication channel with WNS, You use a variable named pushChannel to store the notification channel object used for communication. You add the following line of code to the app:


Which code snippets should you insert in Target 1, Target 2 and Target 3 to complete the code? (To answer, select the correct code snippet from each drop-down list in the answer area.)




Answer :

You are developing a Windows Store app.
You need to use text resources in the app for localization.
You have the following code:


Which code snippets should you include in Target 1, Target 2 and Target 3 to complete the code? (To answer, drag the appropriate code snippets to the correct targets in the answer area. Each code snippet 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.)



Answer :

You are developing a Windows Store game that downloads virtual store information from two servers. Store information from Server1 is sent as a hex string. Store information from
Server2 is sent as Base64 encoding.
Data from Server1 is configuration data and must be captured before data from Server2 is captured.
You need to compare the strings from each server to verify that the cryptographic buffers match.
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,)




Answer :

Page:    1 / 11   
Total 171 questions