Microsoft Advanced Windows Store App Dev using HTML5 and JavaScript (070-482) Free Practice Test
Question 1
You are developing a Windows Store app by using JavaScript. The app will allow users to customize various features. The customizations will be persisted by using the saveMySettings function.
You need to persist the customizations.
Which code segment should you use?

You need to persist the customizations.
Which code segment should you use?

Correct Answer: C
Question 2
HOTSPOT
You are developing a Windows Store app.
The app triggers a background task at specific intervals. The background task must display
an on-screen message when the triggering event occurs.
You need to complete the development of the background task.
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.
The app triggers a background task at specific intervals. The background task must display
an on-screen message when the triggering event occurs.
You need to complete the development of the background task.
How should you complete the relevant code? (To answer, select the correct code segment
from each drop-down list in the answer area.)

Correct Answer:

Question 3
HOTSPOT
You develop a Windows Store app by using JavaScript. The app contains content that must be translated as the screen loads.
You need to ensure that only specific content is translated.
How should you complete the relevant code? (To answer, select the appropriate code segment from the drop-down list in the answer area.)

You develop a Windows Store app by using JavaScript. The app contains content that must be translated as the screen loads.
You need to ensure that only specific content is translated.
How should you complete the relevant code? (To answer, select the appropriate code segment from the drop-down list in the answer area.)

Correct Answer:

Question 4
HOTSPOT
You develop a Windows Store app that updates the user's daily calendar. The app includes the following code. Line numbers are included for reference only.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.

You develop a Windows Store app that updates the user's daily calendar. The app includes the following code. Line numbers are included for reference only.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.

Correct Answer:

Question 5
DRAG DROP
You are preparing a Windows Store app that will be distributed through the Windows Store.
You install the app on a test computer that runs Windows 8.
You must run functional test cases by using the Windows App Certification Kit.
You need to test the app before you deploy it to the Windows Store.
Which four 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 preparing a Windows Store app that will be distributed through the Windows Store.
You install the app on a test computer that runs Windows 8.
You must run functional test cases by using the Windows App Certification Kit.
You need to test the app before you deploy it to the Windows Store.
Which four 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.)

Correct Answer:

Question 6
You develop a Windows Store app that allows users to modify images by using filters and image-processing algorithms.
The app must meet the following requirements:
- Use a web worker to initiate the image-processing algorithms on a separate thread. - Clean up the web worker after processing the algorithms.
You need to ensure that the web worker releases memory after processing the algorithms.
What should you do?
The app must meet the following requirements:
- Use a web worker to initiate the image-processing algorithms on a separate thread. - Clean up the web worker after processing the algorithms.
You need to ensure that the web worker releases memory after processing the algorithms.
What should you do?
Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 7
You are developing a Windows Store photography app by using JavaScript. The app includes the following code segment. (Line numbers are included for reference only.)

You need to ensure that the app captures all pictures as landscape-oriented photos at the maximum resolution.
Which code segment should you insert at line 03?


You need to ensure that the app captures all pictures as landscape-oriented photos at the maximum resolution.
Which code segment should you insert at line 03?

Correct Answer: A
Question 8
You need to ensure that drivers can be updated,
What should you do?
What should you do?
Correct Answer: A
Question 9
DRAG DROP
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.)

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

Correct Answer:

Question 10
You are developing a Windows Store app by using JavaScript. The app persists a list of
stocks in the app's settings. The stock list is identified by a key of stockList.
The app must allow users to remove their stock lists from the app's settings. The following
function call removes the stockList setting:
deleteAppSetting("stockList") ;
You need to remove only stockList from the settings storage without disrupting other
settings.
Which code segment should you use?

stocks in the app's settings. The stock list is identified by a key of stockList.
The app must allow users to remove their stock lists from the app's settings. The following
function call removes the stockList setting:
deleteAppSetting("stockList") ;
You need to remove only stockList from the settings storage without disrupting other
settings.
Which code segment should you use?

Correct Answer: A
Question 11
You develop a Windows Store app that consumes a WinMD component from Contoso.Class1. Class1 contains an overloaded method named GetValue. The method overloads have the characteristics described in the following table.

The app includes the JavaScript code shown in the following code segment.

You need to correctly evaluate the output of the myOutput.innerHTML attribute.
What is the output value?

The app includes the JavaScript code shown in the following code segment.

You need to correctly evaluate the output of the myOutput.innerHTML attribute.
What is the output value?
Correct Answer: A
Question 12
You need to retrieve and register a DLNA-compatible device.
Which code segment should you insert at line PL16?
Which code segment should you insert at line PL16?
Correct Answer: B
Question 13
HOTSPOT
You develop a Windows Store app.
Users report that the user interface is sluggish and the data on the main screen of the app does not appear immediately. You run the Microsoft Visual Studio 2013 Performance and Diagnostics hub. The results are shown in the following image.

Select the correct answer from each list based on the information presented in the image. Each correct selection is worth one point.

You develop a Windows Store app.
Users report that the user interface is sluggish and the data on the main screen of the app does not appear immediately. You run the Microsoft Visual Studio 2013 Performance and Diagnostics hub. The results are shown in the following image.

Select the correct answer from each list based on the information presented in the image. Each correct selection is worth one point.

Correct Answer:

Question 14
DRAG DROP
You are developing 3 Windows Store app that uses a canvas object.
When the page loads, a blue rectangle must move across the canvas from left to right.
The following code calls the function to perform the animation:

You need to create the animateShape function.
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.)

You are developing 3 Windows Store app that uses a canvas object.
When the page loads, a blue rectangle must move across the canvas from left to right.
The following code calls the function to perform the animation:

You need to create the animateShape function.
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.)

Correct Answer:

Question 15
You need to implement the Search features for the app.
What should you do?
What should you do?
Correct Answer: A