PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will be used to
create video blogs. The app uses the device’s internal camera. The app must meet the
following requirements:
• Allow the user to record audio and video.
• Save files in the .mp4 file format.
• Store files in the user’s Videos library.
You need to ensure that the app meets the requirements. 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.)

How should you complete the relevant code?

HOTSPOT
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.)

Which code segment should you use to call the base method?

You are developing a custom tooltip control that inherits from an existing WinJS tooltip
control. The custom control overrides the open ( ) method of the base control to extend the
functionality. The following code segment depicts the structure of the method override.
Open: function (type) {
• • •
}
You need to ensure that the base method executes at the start of the override. Which code
segment should you use to call the base method?

How should you complete the relevant code?

DRAG DROP
You develop a Windows Store app by using JavaScript. The app displays a list of video
controls. The user can add video controls to the list. You need to animate the video control
list when the user adds a control to the list. 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.)

How should you complete the relevant code?

HOTSPOT
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.)

How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will be used in
multiple geographic regions. You need to ensure that the app displays dates in the regionspecific full date format. 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.)