PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which code segments should you use?

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 need to configure the deployment package settings for both apps to ensure that the requirements are met

You are developing two Windows Store apps named PhotoApp and PictureAlbum. The apps
must meet the following requirements:
• PhotoApp must have access to images on the local computer on which PhotoApp is
running.
• PictureAlbum must be able to access the images from PhotoApp.
You need to configure the deployment package settings for both apps to ensure that the
requirements are met. What should you do?

Which actions should you perform?

You are developing a Windows Store app by using HTML5. The app will be optimized for
accessibility. The app must meet the following accessibility requirements:
• Provide support for navigating all user interface elements.
• Provide support for invoking default functionality on the user interface.
• Provide support for use of a computer keyboard.
You need to ensure that the app meets the accessibility requirements. Which actions should
you perform? (Each correct answer presents part of the solution. Choose all that apply.)

You need to ensure that the correct language-specific resources are used

You are developing a Windows Store app by using HTML5 and JavaScript. The app will
support both the English and French languages. The app must meet the following
requirements:
• Automatically load language-specific string resources from a resource file, and
access the resources from within the HTML by using data-win res attributes.
• Use the base.js file from the Windows Library for JavaScript.
You need to ensure that the correct language-specific resources are used. What should you
do?

Which code segments should you use?

HOTSPOT
You are developing a Windows Store weather app. You need to restore the state of the app
while the app is being reactivated. Which code segments should you use? (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.)

Which actions can you perform to achieve this goal?

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

Which CSS segment should you add to the style sheet?

You are developing a Windows Store app. The app includes the following HTML markup:

You are creating a Flexible Box layout for the application. The layout must be configured as
shown in the following display.

The Flexible Box layout must conform to the following requirements:
• The Child2 DIV element must appear on the right side of the layout.
• The Child1 DIV element must appear immediately to the left of Child2.
You need to add CSS to ensure that the requirements are met. Which CSS segment should
you add to the style sheet?