Microsoft Essentials of Developing Windows Store Apps using HTML5 and JavaScript (70-481) Free Practice Test
Question 1
You are developing a Windows Store app by using HTML5 and JavaScript.
You need to list all the keyboard, stylus, mouse, and touch input devices that are connected to the local computer system.
Which Windows library should you use?
You need to list all the keyboard, stylus, mouse, and touch input devices that are connected to the local computer system.
Which Windows library should you use?
Correct Answer: B
Question 2
You are developing a Windows Store text editor app by using HTML5 and JavaScript.
Users must be able to select text within the app and then cut the text.
You need to enable the Cut feature.
Which code segments should you use? (Each correct answer presents part of the solution.
Choose all that apply.)

Users must be able to select text within the app and then cut the text.
You need to enable the Cut feature.
Which code segments should you use? (Each correct answer presents part of the solution.
Choose all that apply.)

Correct Answer: C,D
Question 3
You need to ensure that the settings for the About page meet the business requirements.
Which attribute should you add to the DIV element in line AB07?
Which attribute should you add to the DIV element in line AB07?
Correct Answer: B
Question 4
You are developing a Windows Store app that uses a fluid layout for all user interface elements.
You need to ensure that app elements are styled appropriately based on the size and orientation of the app on the screen.
Which media feature should you evaluate?
You need to ensure that app elements are styled appropriately based on the size and orientation of the app on the screen.
Which media feature should you evaluate?
Correct Answer: C
Question 5
You are developing a Windows Store app that will play video files stored locally on the user's computer. The app will support the Play To feature.
The app includes a button that must programmatically invoke the Play To flyout when pressed.
You need to ensure that clicking the button displays the Play To flyout.
Which code segment should you use?
The app includes a button that must programmatically invoke the Play To flyout when pressed.
You need to ensure that clicking the button displays the Play To flyout.
Which code segment should you use?
Correct Answer: C
Question 6
HOTSPOT
You are developing a Windows Store app. The app allows users to browse contacts from a social networking site.
The app has the following requirements:
- The user must be able to select more than one contact at a time.
- The app must display all of the details for the selected contacts. You need to ensure that the requirements are met.
Which code segments should you use? (To answer, select the correct option from each drop-down list in the answer area.)


You are developing a Windows Store app. The app allows users to browse contacts from a social networking site.
The app has the following requirements:
- The user must be able to select more than one contact at a time.
- The app must display all of the details for the selected contacts. You need to ensure that the requirements are met.
Which code segments should you use? (To answer, select the correct option from each drop-down list in the answer area.)


Correct Answer:

Question 7
You are developing a Windows Store app that will be used to display daily high temperatures and other weather conditions for five cities.
The app must meet the following requirements:
- A splash screen is displayed on the device until the data is retrieved from the Internet. - The user must be able to view weather information as soon as the data is fully available.
You need to ensure that the splash screen is displayed at startup until the app has completed loading updated data.
Which actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose all that apply.)
The app must meet the following requirements:
- A splash screen is displayed on the device until the data is retrieved from the Internet. - The user must be able to view weather information as soon as the data is fully available.
You need to ensure that the splash screen is displayed at startup until the app has completed loading updated data.
Which actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose all that apply.)
Correct Answer: C,D
Question 8
You are developing a Windows Store app. The app will format a paragraph of text to resemble the following image.

The app must format the paragraph to meet the following requirements:
- The paragraph must be divided among three columns.
- Columns must be separated by vertical lines that are one pixel wide. You need to ensure that the format of the paragraph meets the requirements.
Which code segment should you add?


The app must format the paragraph to meet the following requirements:
- The paragraph must be divided among three columns.
- Columns must be separated by vertical lines that are one pixel wide. You need to ensure that the format of the paragraph meets the requirements.
Which code segment should you add?

Correct Answer: B
Question 9
DRAG DROP
You are developing a Windows Store app. The app will be used to manage a task list.
The app has the following requirements:
- Support commands to add, remove, filter, and select all items in the task list.
- Support navigation to the previous screen.
You need to ensure that the commands are placed according to Microsoft design style guidelines.
Where should you place each command? (To answer, drag each command to the correct placement location. Each answer must be used only once. You may need to drag the split bar between panes or scroll to view content.)

You are developing a Windows Store app. The app will be used to manage a task list.
The app has the following requirements:
- Support commands to add, remove, filter, and select all items in the task list.
- Support navigation to the previous screen.
You need to ensure that the commands are placed according to Microsoft design style guidelines.
Where should you place each command? (To answer, drag each command to the correct placement location. Each answer must be used only once. You may need to drag the split bar between panes or scroll to view content.)

Correct Answer:

Question 10
You need to ensure that the requirements for capturing user input on the newsltem.html page are met.
Which code segments should you use? (Each correct answer presents part of the solution. Choose all that apply.)
Which code segments should you use? (Each correct answer presents part of the solution. Choose all that apply.)
Correct Answer: B,D