Microsoft Advanced Windows Store App Dev using HTML5 and JavaScript - 70-482 Exam Practice Test

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.)
Correct Answer:
DRAG DROP
You are developing 3 Windows Store app that uses a canvas object.
When the page loads, a blue rectangle must move across the canvas from left to right.
The following code calls the function to perform the animation:

You need to create the animateShape function.
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.)
Correct Answer:
You are debugging a Windows Store app that another developer created by using HTML5 and JavaScript.
The default.js file contains the following code segment:

The app has a screen that plays video files. The HTML5 video control on the screen has an ID of video1.
You need to identify the effect of firing the source requested event. What will occur when the event fires?
Correct Answer: D
You need to assign the audio stream to the controller declared at line PL20 according to the requirements.
Which code segment should you insert at line PL27?
Correct Answer: C
You are developing a Windows Store app by using JavaScript.
You need to ensure that the user can capture video with the built-in camera and then
process the resulting file.
Which code segment should you use?
Correct Answer: B
You are developing a line-of-business Windows Store app that will interact with a magnetic stripe reader. Your company distributes the magnetic stripe reader to an end user.
You need to activate the magnetic stripe reader.
Which method should you use?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
You need to implement the audit log.
Which action should the app perform when the user touches a button?
Correct Answer: C
You need to update the status of the map pinpoints for the Print Near Me control. Which code segment should you insert at line PM34?
Correct Answer: B
You need to enable the user to save coordinates as specified in the requirements. Which code segment should you insert at line L036?
Correct Answer: B
DRAG DROP
You are preparing a Windows Store app that will be distributed through the Windows Store.
You install the app on a test computer that runs Windows 8.
You must run functional test cases by using the Windows App Certification Kit.
You need to test the app before you deploy it to the Windows Store.
Which four 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.)
Correct Answer:
HOTSPOT
You are developing a Windows Store app by using JavaScript.
You plan to add an animation to the navigation button. The animation must do the following:
- Show motion when tapped.
- Move to the next app screen after completing the animation sequence.
You need to add the animation to the button.
How should you complete the relevant code? (To answer, select the correct code segment in each drop-down list in the answer area.)
Correct Answer:
You are developing a Windows Store app by using JavaScript. The app contains a custom C# Windows Runtime Metadata (WinMD) component.
You receive unexpected results when you run the app.
You need to ensure that you can debug the WinMD component while running the JavaScript app.
What should you do?
Correct Answer: A
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?
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).