Topic 3, Cycling RaceBackground
You are creating a Windows Store app that allows cycling race officials to capture images of
participating cyclists. The app will monitor location and weather conditions when an image is
captured.
Business Requirements
The app should have the ability to generate and save images of cyclists, and also keep details of
the location and weather conditions where the image is captured. The time that an image is
captured should also be recorded.
App users should have the ability to display this data on devices that supports the PlayTo feature.
Technical Requirements
General:
Captured pictures and picture metadata should be hosted by the Pictures Library. A reusable
component should encapsulate the metadata logic, which should be accessible by Windows Store
apps written in Visual Basic, C#, JavaScript, and C++.
Hardware:
A device with camera, compass, and GPS features, as well as Internet resources should be used.
******************************************************
When users complain about poor execution when they retrieve the location data linked with an
image, you deduce that the problem lies in the GetLocationAsync() method of the Environment
class.
You are preparing to boost the execution of the method.
Which of the following actions should you take? (Choose two.)
A.
You should consider moving the locator variable to a class level variable.
B.
You should consider moving the class level variable to a locator variable.
C.
You should consider initializing it in the Environment constructor.
D.
You should consider initializing it in the GetLocationAsync() method.
Explanation: