最新的Microsoft Advanced Windows Store App Dev using HTML5 and JavaScript - 070-482免費考試真題
問題1
HOTSPOT
You are developing a Windows Store app by using JavaScript. The app will call a WinMD component to convert temperature.
The component exposes the following two members:
- A static variable named Fahrenheit
- A public method named GetInCelsius( ) that accepts an integer
You need to ensure that the app will display the temperature in Celsius and Fahrenheit.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)

You are developing a Windows Store app by using JavaScript. The app will call a WinMD component to convert temperature.
The component exposes the following two members:
- A static variable named Fahrenheit
- A public method named GetInCelsius( ) that accepts an integer
You need to ensure that the app will display the temperature in Celsius and Fahrenheit.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)

正確答案:

問題2
You need to separate the business and complex logic into components.
Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)
Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)
正確答案: A,B
說明:(僅 VCESoft 成員可見)
問題3
HOTSPOT
You are developing a Windows Store app by using JavaScript.
You plan to add an animation to the navigation button. The animation must do the following:
- Show motion when tapped.
- Move to the next app screen after completing the animation sequence.
You need to add the animation to the button.
How should you complete the relevant code? (To answer, select the correct code segment in each drop-down list in the answer area.)

You are developing a Windows Store app by using JavaScript.
You plan to add an animation to the navigation button. The animation must do the following:
- Show motion when tapped.
- Move to the next app screen after completing the animation sequence.
You need to add the animation to the button.
How should you complete the relevant code? (To answer, select the correct code segment in each drop-down list in the answer area.)

正確答案:

問題4
DRAG DROP
You are writing a Windows Store app by using JavaScript.
You need to authenticate a cloud server as a source for Windows Push Notification Services (WNS).
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

You are writing a Windows Store app by using JavaScript.
You need to authenticate a cloud server as a source for Windows Push Notification Services (WNS).
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

正確答案:

問題5
HOTSPOT
You are developing a Windows Store app that uses the Microsoft in-app purchase functionality.
You need to display a list of features that can be purchased from within the app.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)


You are developing a Windows Store app that uses the Microsoft in-app purchase functionality.
You need to display a list of features that can be purchased from within the app.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)


正確答案:

問題6
You need to handle the location-detection problem.
What should you do?
What should you do?
正確答案: C
問題7
You are developing a Windows Store app by using JavaScript.
You need to ensure that the user can capture video with the built-in camera and then
process the resulting file.
Which code segment should you use?

You need to ensure that the user can capture video with the built-in camera and then
process the resulting file.
Which code segment should you use?

正確答案: D
問題8
DRAG DROP
You are developing a Windows Store app that will display a list of items. Users should be able to expand any list item to display valid actions for that item.
The JavaScript code includes the following elements:
elemExpand represents the element to be expanded.
elemAffected represents the adjacent element.
You need to animate the expansion action when the user clicks a list item.
Which three code segments should you use in sequence? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order. 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.

You are developing a Windows Store app that will display a list of items. Users should be able to expand any list item to display valid actions for that item.
The JavaScript code includes the following elements:
elemExpand represents the element to be expanded.
elemAffected represents the adjacent element.
You need to animate the expansion action when the user clicks a list item.
Which three code segments should you use in sequence? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order. 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.

正確答案:

問題9
HOTSPOT
You are designing a testing strategy for a Windows Store app by using HTML5, JavaScript, and CSS3.
You need to use testing strategies that validate for the best performance.
Which testing strategies should you select? (To answer, select the correct action from each drop-down list in the answer area.)

You are designing a testing strategy for a Windows Store app by using HTML5, JavaScript, and CSS3.
You need to use testing strategies that validate for the best performance.
Which testing strategies should you select? (To answer, select the correct action from each drop-down list in the answer area.)

正確答案:

問題10
You need to identify the required camera specifications.
Which code segment should you insert at line VD06?
Which code segment should you insert at line VD06?
正確答案: B
問題11
You need to ensure that the Printer Survey task meets the technical requirements. Which code segment should you insert at line PS24?


正確答案: C
問題12
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?

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?

正確答案: B
說明:(僅 VCESoft 成員可見)
問題13
You need to implement the audit log.
What should you do?
What should you do?
正確答案: C
問題14
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.)


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


正確答案:

問題15
HOTSPOT
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 region-specific full date format.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)

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 region-specific full date format.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)

正確答案:


