What types of devices can you detect?
You are creating a Windows Store app for a retail business. You must enumerate the
available human interface devices (HIDs) on the client computer.
You need to use the Windows.Devices.HumanlnterfaceDevice namespace to detect the
available devices.
What types of devices can you detect?
Which two actions should you perform?
You are creating a class named Employee. The class exposes a string property named
EmployeeType. The following code segment defines the Employee class. (Line numbers are
included for reference only.)
The EmployeeType property value must meet the following requirements:
The value must be accessed only by code within the Employee class or within a class
derived from the Employee class.
The value must be modified only by code within the Employee class.
You need to ensure that the implementation of the EmployeeType property meets the
requirements.
Which two actions should you perform? (Each correct answer represents part of the
complete solution. Choose two.)
Which tab meets the requirements?
HOTSPOT
You are developing a Windows Store app by using JavaScript. The app interfaces with a
smart card reader device.
The app will authorize user access by using smart card certificates.
You need to identify the Microsoft Visual Studio tab on which you can configure access to
the smart card certificates.
Which tab meets the requirements? (To answer, select the appropriate tab in the answer area.)
Which garbage collector method should you use?
You are developing an application by using C#.
The application includes an object that performs a long running process.
You need to ensure that the garbage collector does not release the object’s resources until
the process completes.
Which garbage collector method should you use?
How should you complete the relevant code?
HOTSPOT
You are developing a Windows Store app by using JavaScript. Users can run the app on
multiple devices at the same time.
You need to ensure that current user settings are available on any Windows 8 device on
which the user runs the app.
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 Windows Store app that uses the Microsoft in-app purchase
functionality.
You need to display a list of features that can be purchased from within the app.
How should you complete the relevant code? (To answer, drag the appropriate code
segments to the correct locations in the answer are
a. 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 that uses the Microsoft in-app purchase
functionality.
You need to display a list of features that can be purchased from within the app.
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 Windows Store app. The app triggers a background task at specific
intervals.
The background task must display an on-screen message when the triggering event occurs.
You need to complete the development of the background task.
How should you complete the relevant code? (To answer, drag the appropriate code
segments to the correct locations in the answer are a.
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?
DRAG DROP
You are developing a Windows Store app that consumes a file picker object.
You need to reference the object and call it asynchronously.
How should you complete the relevant code? (To answer, drag the appropriate code
segments to the correct locations in the target are a.
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 an application. The application calls a method that returns an array of
integers named customerIds. You define an integer variable named customerIdToRemove
and assign a value to it. You declare an array named filteredCustomerIds.
You have the following requirements.
Remove duplicate integers from the customerIds array.
Sort the array in order from the highest value to the lowest value.
Remove the integer value stored in the customerIdToRemove variable from the customerIds
array.
You need to create a LINQ query to meet the requirements.
Which code segment should you use?