Microsoft 70-482 - Advanced Windows Store App Development using HTML5 and JavaScript Exam
Page: 2 / 35
Total 175 questions
Question #6 (Topic: Topic 1)
You need to validate whether the additional video recording functionality for the Client app
is supported.
Which code segment should you insert at line VD05?
is supported.
Which code segment should you insert at line VD05?
A. var canPan = mediaCaptureSettings.pan.capabilities.supported;
B. var canPan = videoDev.pan.capabilities.supported;
C. var canTilt = videoDev.getDeviceProperty("tilt");
D. var canTilt = videoEev.getDeviceProperty("tilt supported");
Answer: B
Question #7 (Topic: Topic 1)
You need to set the default storage location for the client profiles.
Which code segment should you insert at line CD04?
Which code segment should you insert at line CD04?
A. fop.defaultFolder = Windows.Storage.Pickers.PickerLocationId.documentsLibrary;
B. fop.defaultFolder = environment.getFolderPath (environment.specialFolder.applicationData);
C. fop.suggestedStartLocation = "%AppData%";
D. fop.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.documentsLibrary;
Answer: A
Question #8 (Topic: Topic 1)
You need to attach the background task.
Which code segment should you insert at line BG09?
Which code segment should you insert at line BG09?
A. var task = builder.register( );
B. var task = Windows. ApplicationModel.Background.BackgroundTaskBuilder.insert (builder);
C. var task: = Windows.ApplicationModel.Background.BackgroundTaskBuilder.insert (builder, this);
D. var task = builder.setTrigger ( );
Answer: A
Question #9 (Topic: Topic 1)
You need to enable debugging on the Personal Trainer app.
Which JavaScript project properties should you set? (Each correct answer presents part of
the solution Choose all that apply.)
Which JavaScript project properties should you set? (Each correct answer presents part of
the solution Choose all that apply.)
A. Set Allow Local Network Loopback to No.
B. Set Debugger Type to Script Only.
C. Set Debugger Type to Managed Only.
D. Set Debugger to launch to Local Machine.
Answer: B,D
Question #10 (Topic: Topic 1)
You need to debug the error that is displayed in the warning message.
What should you do?
What should you do?
A. In the package.appxmanifest file, set the Webcam property in the Capabilities list.
B. Insert the following code segment at line VD18: var dialog = new Windows.Media.Capture.CameraCaptureUI( ); dialog.photoSettings.enableCamera( );
C. In the package.appxmanifest file, add Camera Settings to the available declarations.
D. Insert the following code segment at line VD18: var dialog = new Windows.Media.Capture.CameraCaptureUT( ); dialog.videoSet tings.enableCamera ( );
Answer: A