Microsoft 70-482 - Advanced Windows Store App Development using HTML5 and JavaScript Exam

Question #11 (Topic: Topic 1)
You need to prevent the device-specific tilting exception.
What should you do in the video.js file?
A. Insert a try statement immediately after line VD01 and a catch block immediately before line VD08. Handle the VideoNotFound exception. B. Evaluate the canTilt variable. If true, bypass the code that tilts the camera. C. Evaluate the canTilt variable. If false, bypass the code that tilts the camera. D. Insert a try statement immediately after line VD01 and a catch block immediately before line VD08. Handle the MediaNotFound exception.
Answer: C
Question #12 (Topic: Topic 1)
You need to retrieve the background task collection for the iteration loop.
Which code segment should you insert at line BG14?
[Microsoft-70-482-8.0/Microsoft-70-482-11_2.png]
A. Option A B. Option B C. Option C D. Option D
Answer: A
Question #13 (Topic: Topic 1)
You need to ensure that client profiles can be saved in the required file format.
Which code segment should you insert at line CD21?
A. fop.suggestedSaveFile = "*.txt"; B. sp.fileTypeChoices.insert("Client Files", [".txt"]); C. sp.fileTypeChoices = new.fileTypeItem("Client Files", [".xml"]); D. sp.fileTypeChoices.insert("Client Files", ".xml"]);
Answer: D
Question #14 (Topic: Topic 1)
You need to identify the required camera specifications.
Which code segment should you insert at line VD06?
A. var maxZoom = videoDev.zoom.capabilities.max; B. var cameraType = videoDev.extendedZoomProperties("cameraType"); C. var cameraZoom = videoDev.zoom; D. var minZoom = mediaCaptureSettings.min.millimeters;
Answer: A
Question #15 (Topic: Topic 1)
You need to prevent the exception that is being thrown by the findCamera( ) method.
What should you do?
A. Check the devices collection for multiple devices. B. Place a try block immediately after line VD12 and a catch block immediately before line VD17. In the catch block, display the message property of the exception object to the user. C. In line VD10, set the cameraID variable to null. D. Check the devices collection for null before setting the cameraID variable.
Answer: D
Download Exam
Page: 3 / 35
Total 175 questions