70-482 Exam Introduction

Page 1

Questions And Answers PDF

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

Version: DEMO

http://www.TestWarrior.com/70-482-practice-exam.html

FOR 70-482 Candidates: We offer Two Products:  1st - We have Practice Tests Software with Actual Exam Questions  2nd - Questions and Answers in PDF Format. Try a Free DEMO of these Exam Products via below Link:

http://www.TestWarrior.com/70-482-practice-exam.html

TestWarrior.com

1


Questions And Answers PDF

Case Study: 1 Scenario 1 Application Information You are developing two Windows Store apps by using JavaScript: a Personal Trainer app and a Client app. The apps will allow personal fitness trainers to interact with their remote clients. Business Requirements- Personal Trainer Application The Personal Trainer app must allow trainers to perform the following tasks: • Create and store video and audio recordings of workout routines. • View the profile and workout recordings for only one client at any time. Business Requirements- Client Application The Client app must allow clients to perform the following tasks: • Browse a list of the trainer's workout recordings. • Record workouts by using the built-in webcam. • Play, pause, restart, and stop workout recordings. • If the capability is supported, allow the client's webcam to pan as the client moves around the room. • Upload workout recordings for trainer review. • Update their individual profiles to indicate workouts completed, calories burned, and current weight. The Client app must validate that the client's subscription is valid. Technical Requirements- General The Client app must allow clients to perform the following tasks: • Browse a list of the trainer's workout recordings. • Record workouts by using the built-in webcam. • Play, pause, restart, and stop workout recordings. • If the capability is supported, allow the client's webcam to pan as the client moves around the room. • Upload workout recordings for trainer review. • Update their individual profiles to indicate workouts completed, calories burned, and current weight. The Client app must validate that the client's subscription is valid. Technical Requirements- Hardware Requirements The Personal Trainer and Client apps must support the following hardware requirements: • Windows 8 • Webcam, microphone, and speakers • Internet connection While testing the apps, you identify the following issues: • When you start the app for the first time, the system displays this warning message: "This app needs permission to use your camera, which you can change in the app's settings." • When you run the loadClientProfile( ) method in the clientData.js file, you receive an "Access Denied" exception.

TestWarrior.com

2


Questions And Answers PDF

• The findCamera( ) method in the video.js file throws an exception on some devices. • The recordVideo( ) method in the video.js file throws an exception when the device does not support tilting.

TestWarrior.com

3


Questions And Answers PDF

Question: 1 You need to complete the code to start the background task. Which code segment should you insert at line BG07? A. Windows.Applicatonnodel.Background..ystemTriggerType.connected.tateehangee true B. Windows.Applicatonnodel.Background..ystemTriggerType.network.tateehangee false

TestWarrior.com

4


Questions And Answers PDF

e. Windows.Applicatonnodel.Background..ystemTriggerType.sessioneonnectede true D. Windows.Applicatonnodel.Background..ystemTriggerType.internetAAailablee false

Answer: D Question: 2 You need to identfy the required camera specifcatons. Which code segment should you insert at line VD06? A. Aar maxZoom = AideoDeA.zoom.capabilites.maxx B. Aar cameraType = AideoDeA.extendedZoomPropertess(cameraType("x e. Aar cameraZoom = AideoDeA.zoomx D. Aar minZoom = mediaeapture.etngs.min.millimetersx

Answer: A Question: 3 You need to atach the background task. Which code segment should you insert at line BG09? A. Aar task = builder.registers "x B. Aar task = Windows. Applicatonnodel.Background.BackgroundTaskBuilder.insert sbuilder"x e. Aar task: = Windows.Applicatonnodel.Background.BackgroundTaskBuilder.insert sbuildere this"x D. Aar task = builder.setTrigger s "x

Answer: A Question: 4 You need to set the default storage locaton for the client profles. Which code segment should you insert at line eD04? A. fop.defaultFolder = Windows..torage.Pickers.PickerLocatonnd.documentsLibraryx B. fop.defaultFolder = enAironment.getFolderPath senAironment.specialFolder.applicatonData"x e. fop.suggested.tartLocaton = (%AppData%(x D. fop.suggested.tartLocaton = Windows..torage.Pickers.PickerLocatonnd.documentsLibraryx

Answer: A Question: 5 You need to preAent the excepton that is being thrown by the fndeameras " method. What should you do? A. eheck the deAices collecton for multple deAices. B. Place a try block immediately afer line VD12 and a catch block immediately before line VD17. nn

TestWarrior.com

5


Questions And Answers PDF

the catch blocke display the message property of the excepton object to the user. e. nn line VD10e set the cameranD Aariable to null. D. eheck the deAices collecton for null before setng the cameranD Aariable.

Answer: D Question: 6 You need to debug the error that is displayed in the warning message. What should you do? A. nn the package.appxmanifest flee set the Webcam property in the eapabilites list. B. nnsert the following code segment at line VD18: Aar dialog = new Windows.nedia.eapture.eameraeaptureUns dialog.photo.etngs.enableeameras "x e. nn the package.appxmanifest flee add eamera .etngs to the aAailable declaratons. D. nnsert the following code segment at line VD18: Aar dialog = new Windows.nedia.eapture.eameraeaptureUTs "x dialog.Aideo.et tngs.enableeamera s "x

"x

Answer: A Question: 7 You need to ensure that client profles can be saAed in the required fle format. Which code segment should you insert at line eD21? A. fop.suggested.aAeFile = (*.txt(x B. sp.fleTypeehoices.inserts(elient Files(e [(.txt(]"x e. sp.fleTypeehoices = new.fleTypentems(elient Files(e [(.xml(]"x D. sp.fleTypeehoices.inserts(elient Files(e (.xml(]"x

Answer: D Question: 8 You need to Aalidate whether the additonal Aideo recording functonality for the elient app is supported. Which code segment should you insert at line VD05? A. Aar B. Aar e. Aar D. Aar

canPan = mediaeapture.etngs.pan.capabilites.supportedx canPan = AideoDeA.pan.capabilites.supportedx canTilt = AideoDeA.getDeAicePropertys(tlt("x canTilt = AideoEeA.getDeAicePropertys(tlt supported("x

Answer: B Question: 9

TestWarrior.com

6


Questions And Answers PDF

You need to handle the excepton error in the clientData.js fle. What should you do? A. nodify the display functon to handle the error. B. nnsert a try statement immediately afer line eD07 and a catch block immediately before line eD14. Handle the error in the catch block. e. nodify the processError functon to handle the error. D. nnsert a try statement immediately afer line eD01 and a catch block immediately before line eD15. Handle the error in the catch block.

Answer: A Question: 10 You need to Aalidate whether the additonal Aideo recording functonality for the elient app is supported. Which code segment should you insert at line VD05? A. Aar B. Aar e. Aar D. Aar

canFocus = AideoDeA.getEeAicePropertys(focus("x car.Zoom = AideoDeA.getEeAiceProperty s(zoom(" x canPan = AideoDeA.pan.capabilites.supportedx canPan = mediaeapture.etngs.pan.capabilites .supportedx

Answer: C Question: 11 You need to atach the background task. Which code segment should you insert at line BG09? A. Aar task = builder.setTriggersthis"x B. Aar task = builder.setTriggers "x e. Aar task = builder.register s "x D. Aar task = builder.register sthis"x

Answer: C Question: 12 You need to enable trainers to select client profles. Which code segment should you insert at line eD06? A. fop.picknultpleFileAsync s ". thens B. fop.pickFileAsync s ". then s e. fop.pick.ingleFileAsync s " .then{ D. fop.pick.ingleFile s ".then s

Answer: C

TestWarrior.com

7


Questions And Answers PDF

Question: 13 You need to preAent the deAice-specifc tltng excepton. What should you do in the Aideo.js fle? A. nnsert a try statement immediately afer line VD01 and a catch block immediately before line VD08. Handle the VideoNotFound excepton. B. EAaluate the canTilt Aariable. nf truee bypass the code that tlts the camera. e. EAaluate the canTilt Aariable. nf falsee bypass the code that tlts the camera. D. nnsert a try statement immediately afer line VD01 and a catch block immediately before line VD08. Handle the nediaNotFound excepton.

Answer: C Question: 14 You need to retrieAe the background task collecton for the iteraton loop. Which code segment should you insert at line BG14?

A. Opton A B. Opton B e. Opton e D. Opton D

Answer: A Question: 15 You need to separate the business and complex logic into components. Which actons should you perform? sEach correct answer presents part of the soluton. ehoose all that apply." A. nn the JaAa.cript codee register the handler for the extension/mime-type. B. nn the package.appxmanifest flee create an Extensions secton and register the component .dll fle. e. nn Windows Explorere drag the component .dll fle to the project bin directory. D. nn nicrosof Visual .tudio .oluton Explorere right-click the References folder and then click .cope to This.

Answer: AB Explanaton:

TestWarrior.com

8


Questions And Answers PDF

A: nn nicrosof nnternet Explorer 4.0 and latere nnnE type determinaton occurs in URL monikers through the FindnimeFromData method. Determining the nnnE type allows URL monikers and other components to fnd and launch the correct object serAer or applicaton to handle the associated conten B: * An applicaton that registers a background task needs to declare the feature in the applicaton manifest as an extensione as well as the eAents that will trigger the task. nf you forget these stepse the registraton will fail. There is no <Extensions> secton in the applicaton manifest of the nicrosof Visual .tudio standard template by defaulte so you need to insert it as a child of the Applicaton tag. * You can implement Windows RunTime components for your appse but you must register those components with the operatng system for them to run correctly. To register a Windows RunTime componente you must put the registraton informaton in the WinnD fles and in the app manifest. nf a project implements a Windows RunTime componente the build output of the project will contain a WinnD fle. Visual .tudio extracts the Windows RunTime registraton informaton from the WinnD fle and generates the appropriate Extensions elements in the app manifest. The system supports two forms of serAers: .dll serAers sin-process" and .exe serAers sout-of-process". These serAers require similar but diferent registraton informaton that must be copied into the app manifest. Visual .tudio supports generatng manifest only for .dll serAerse and the DLL.erAer extension is required to register .dll serAers. The following Aalues in the app manifest are taken from the WinnD fles to construct the DLL.erAer Extension: DllPath ActAatableelassnd Threadingnodel ActAatableelass sActAatableelassnd atribute" Here's an example of the output XnL: <extension category=�nicrosof.Windows.ActAatableelass�> <dll.erAer> <dllPath>Fabrikam.dll</dllPath> <actAatableelass actAatableelassnd=(Fabrikam.nyelass( threadingnodel=(sta( /> </dll.erAer> </extension>

Question: 16 You need to enable debugging on the Personal Trainer app. Which JaAa.cript project propertes should you set? sEach correct answer presents part of the soluton ehoose all that apply." A. .et Allow Local Network Loopback to No. B. .et Debugger Type to .cript Only. e. .et Debugger Type to nanaged Only. D. .et Debugger to launch to Local nachine.

Answer: BD Explanaton: B: ehoose one of these debuggers from the Debugger Type list: * .cript Only Debug JaAa.cript code in your app. nanaged code and natAe code are ignored. Etc. D: ehoose one of these optons from the Debugger to launch list:

TestWarrior.com

9


Questions And Answers PDF

Local nachine .imulator Remote nachine

TestWarrior.com

10


Questions And Answers PDF

Thank You for Trying Our Product Visit Our Site to Purchase the Full Set of Actual 70-482 Exam Questions With Answers.

http://www.TestWarrior.com/70-482-practice-exam.html We Also Provide Practice Exam Software That Simulates Real Exam Environment And Has Many Self-Assessment Features. Download Free Product Demo From:

Download Free Product Demo from: http://www.TestWarrior.com/70-482-practice-exam.html

Check Out Our Customer Testimonials

TestWarrior.com

11


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.