Advanced Windows Store App Development using HTML5 and JavaScript v8.0 (70-482)

Page:    1 / 12   
Total 175 questions

You are developing a Windows Store app that uses Windows Push Notification Services
(WNS).
The app includes the following code:


You need to initiate polling.
Which code segment should you insert at line 05?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : B

You are developing a Windows Store app by using JavaScript.
The app will exchange small amounts of data with peerapps by using near field communication, The peerapps run on other computers within range.
You need to advertise the app by using proximity tapping.
Which function call or calls should you use?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : D

Reference: http://msdn.microsoft.com/en-us/library/windows/apps/br241210.aspx

You are developing a Windows Store app that will allow users to take photos by using the built-in device camera. The app will immediately open the photo for editing.
You need to programmatically specify the location from which to open the most recent photo taken by the app.
What is the best option to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer.

  • A. KnownFolders.pictureslibrary
  • B. SkyDrive.Pictures
  • C. KnownFolders.savedPictures
  • D. KnownFolders.cameraRoll


Answer : D

You develop a Windows Store app that uses several new user interface features.
You need to declare capabilities in the application manifest so that you can submit the app to the Windows Store.
How should you complete the relevant markup? (To answer, drag the appropriate markup segments to the correct locations in the answer area. Each markup 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.)




Answer :

You develop a Windows Store app.
You need to implement a testing strategy for the app.
Which actions should you perform? To answer, drag the appropriate actions to the correct targets. Each answer 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.




Answer :

You are developing a Windows Store app for an airline. The app will provide current flight status information.
The app will display the flight status on the lock screen if the user grants permission.
You have the following requirements:
-> Display a dialog box that requests access to the lock screen.
-> Display a message that indicates whether the user has granted access to the lock screen.
You need to ensure that the requirements are met.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)





Answer :

You develop a Windows Store app that allows users to share pictures with friends. You submit the app to the Windows Store.
You need to implement a privacy policy for the app.
Which three actions should you perform? Each correct answer presents part of the solution.

  • A. Post the privacy policy to the Windows Dev Center.
  • B. Post the privacy policy to your website.
  • C. Display a link to the privacy policy in the Settings charm for the app.
  • D. Display a link to the privacy policy in the app description section of the Windows Store.
  • E. Display a link to the privacy policy in the app bar for the app.


Answer : B,C,D

Explanation: B: The privacy policy file needs to be hosted somewhere, and you have a few options, but they all have to be online:
1. Website2. Azure website 3. Amazon Simple Storage Service (Amazon S3) 4. A cloud drive
* A link to your Privacy Policy if you have Internet Connection declared in your capabilities.
Forgetting to do this is the most common certification blocker!
CD: Your app must have a privacy statement if it is network-capable
If your app has the technical ability to transmit data, you must maintain a privacy policy.
You must provide access to your privacy policy in the Description page of your app, as well as in the apps settings as displayed in the Windows Settings charm.

You are developing a Windows Store app that will access a device's webcam.
The app will use a custom control panel to enable camera modifications.
You need to specify that the app will use the custom control panel.
What should you do in the Visual Studio IDE?

  • A. In the Extension Manager, set a reference to the Windows.Devices.Enumeration.winmd file.
  • B. On the Capabilities tab of the Manifest Designer, select the Webcam check box.
  • C. On the Declarations tab of the Manifest Designer, choose Camera Settings.
  • D. In the Reference Manager, set a reference to the Windows.Devices.Sensors.winmd file.


Answer : C

You are developing a Windows Store app by using HTML5 and JavaScript. The app has
HEADER, NAV, and SECTION elements. The SECTION element displays a list of records.
The app will allow users to sort records multiple times.
The app must meet the following requirements:
-> Each time the user performs a sort, replace the content in the SECTION element with the sorted records.
-> Animate the updated content by sliding the sorted records into the SECTION element.
You need to use the WinJS library to apply the animation to the SECTION element.
Which function should you use?

  • A. enterPage( )
  • B. enterContent( )
  • C. createExpandAnimation ( )
  • D. createPeekAnimation ( )


Answer : B

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?

  • A. The app will prompt the user to select a local video file for viewing in the video1 control.
  • B. The video will play in Windows Media Player on the host device.
  • C. The application will prompt the user to select a target device for streaming the video by using the video1 control.
  • D. The selected video file will play in the video1 control on the app screen.


Answer : D

You have a Windows Store app. You are reviewing code that caches data.
The code includes the following segment. Line numbers are included for reference only.
01 function setLocaiStorage(value) {
02 var storage = window.localStorage;
03 var value = document.getElement3yId('textToAdd').text;
04 storage.name = 'John';
05 storage.phone = ' 555-555-0100';
06 storage.message = value;
07 }
For each of the following statements, select Yes if the statement is true. Otherwise, select
No. Each correct selection is worth one point.




Answer :

Explanation:


C:\Users\Kamran\Desktop\image.jpg

You are developing a Windows Store game that requires access to a Bluetooth-enabled human interface device (HID).
You need to implement access to the HID device.
Which code elements should you include? To answer, drag the appropriate code or markup segments to the correct targets. Each code or markup 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.




Answer :

You are developing a Windows Store style app by using JavaScript.
You plan to use Windows Push Notification Services (WNS).
You need to register the app with WNS to receive push notifications.
Which credentials should you provide to WNS? (Each correct answer presents part of the solution. Choose all that apply.)

  • A. Package security identifier
  • B. Package private key
  • C. Publisher security identifier
  • D. Client secret
  • E. Package name


Answer : A,B,C

You are developing a fitness app for distribution through the Windows Store.
The app must interact with the following USB device classes:
-> Webcam
-> Infrared thermometer
-> Scale
-> Printer
You need to modify the app manifest file as required to support the devices.
Which two device classes should you include? Each correct answer presents part of the solution.

  • A. AudioVideo
  • B. IrDa
  • C. PersonalHealthcare
  • D. Printer


Answer : B,C

You are developing a Windows Store app that will include a <div> element.
You are applying animation to the app. The animation must provide visual feedback that the <div> element has been tapped or clicked.
You need to implement the animation by using a JavaScript library.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)





Answer :

Page:    1 / 12   
Total 175 questions