How should you complete the relevant code?
DRAG DROP
You are developing a custom control named Modal Dialog for a Windows Store app.
The control must display product details when the user selects a product from a list. The
product details are contained within a variable named selectedProduct.
You need to correctly bind the product details to the source property of the ModalOialog
control.
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.)
Which HTML markup segment should you use to localize the greeting?
You need to activate the barcode scanner, Which class and method should you use?
Which function call or calls should you use?
You are developing a Windows Store app by using JavaScript.
The app will exchange small amounts of data with peerapps by using near field
communication, The peerapps run on other computers within range.
You need to advertise the app by using proximity tapping.
Which function call or calls should you use?
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.HumaninterfaceDevice namespace to detect the
available devices.
What types of devices can you detect?
How should you complete the relevant code?
HOTSPOT
You are developing a Windows Store app for a handheld device.
The app will modify the content when the user rotates the device to a Portrait Down
orientation.
You need to identify whether the device is in a Portrait Down orientation.
How should you complete the relevant code? (To answer, select the correct code segment
from each drop-down list in the answer area.)
You are developing a Windows Store app that must meet the following requirements:
DRAG DROP
You are developing a Windows Store app. The app uses hardware devices that are attached
to the computer. The app must meet the following requirements:
• Display a list of currently available hardware devices when the app launches.
• Detect when a hardware device is connected to or removed from the computer.
Develop the solution by selecting and arranging the required code segments in the correct
order. You may not need all of the code segments.
Which code segment should you insert at line 03?
You are developing a Windows Store photography app by using JavaScript. The app
includes the following code segment. (Line numbers are included for reference only.)
You need to ensure that the app captures all pictures as landscape-oriented photos at the
maximum resolution.
Which code segment should you insert at line 03?
which order should you perform the actions?
DRAG DROP
A Microsoft Visual Studio solution contains a Windows Store app project that is written by
using JavaScript code. You add a Windows Runtime Metadata file named Contoso.winmd to
the solution. The WinMD component is written by using C# code.
The Windows Store app must consume the WinMD component.
You need to ensure that IntelliSense can identify the methods of the WinMD component as
soon as possible.
In which order should you perform the actions? To answer, move all actions from the list of
actions to the answer area and arrange them in the correct order.
How should you complete the relevant code?
HOTSPOT
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, select the correct code segment
from each drop-down list in the answer area.)