PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

You need to identify whether the app has permission to use the webcam

You are developing a Windows Store app that will access a device’s webcam. All necessary
device capabilities have been declared in the app manifest.
The app must not throw an error if the user has declined or revoked permission to the
webcam.
You need to identify whether the app has permission to use the webcam.
What should you do?

Which code should you insert at line 04?

HOTSPOT
You are developing an application in C#.
The application will display the temperature and the time at which the temperature was
recorded. You have the following method (line numbers are included for reference only):

You need to ensure that the message displayed in the lblMessage object shows the time
formatted according to the following requirements:
The time must be formatted as hour:minute AM/PM, for example 2:00 PM.
The date must be formatted as month/day/year, for example 04/21/2013.
The temperature must be formatted to have two decimal places, for example 23-45.
Which code should you insert at line 04? (To answer, select the appropriate options in the answer area.)

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.)

You need to implement the button functionality

DRAG DROP
You are developing 3 Windows Store game. The game uses a JavaScript library named
GetGame.js.
The game interface will include two buttons. One button will start a new game and one
button will cancel the game.
You need to implement the button functionality.
Develop the solution by arranging the code segments in the correct order. You will need all
of the code segments.

How should you complete the relevant code?

HOTSPOT
You are developing an application that includes a Windows Communication Foundation
(WCF) service. The service includes a custom TraceSource object named ts and a method
named DoWork. The application must meet the following requirements:
Collect trace information when the DoWork() method executes.
Group all traces for a single execution of the DoWork() method as an activity that can be
viewed in the WCF Service Trace Viewer Tool.
You need to ensure that the application meets the requirements.
How should you complete the relevant code? (To answer, select the correct code segment
from each drop-down list in the answer area.)