70-481 95 Q&S Essentials of Developing Windows Metro style Apps using HTML5 and JavaScript

Which property of the StandardDataFormats class should you use?

You are developing a newsreader app that provides users with daily aggregated articles from popular news sites.
You must allow users to share the URI of the articles.
The app must allow at least one of the following ways to share the URI:
With another Windows Store app
With the user’s default web browser
You need to implement the sharing functionality.
Which property of the StandardDataFormats class should you use?
A. StorageItems
B. Rtf
C. ApplicationLink
D. Text


Answer Clike
Which code segment should you insert at line 04?

You are developing a Windows Store app that includes a handler for the onactivated event.
A portion of the event handler is shown in the following code. (Line numbers are included for reference only.)

You need to ensure that the app responds to printing requests from the Devices charm.
Which code segment should you insert at line 04?
A. printManager.printer.onprinttaskreguested = onPrint; printManager.printer. showPrintUIAsync ();
B. printManager.onPrint = onPrint;
C. printManager.onprinttaskrequested = onPrint;
D. printManager.printer.showPrintUIAsync ();


Answer Clike
Which code segment should you use?

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?
A. Windows.Media.PlayTo.PlayToManager.showPlayToUI();
B. Windows.Media.Devices.MediaDevicesControl.bind("flyout");
C. Windows.Media.PlayTo.PlayToManager-playTo();
D. Windows.Media.Devices.VideoDeviceController.bind("flyout");


Answer Clike
HOTSPOT

HOTSPOT
You develop a Windows Store app by using JavaScript. The current environment is shown in the following diagram.

A central cloud server must be able to push notifications to all mobile platforms including, but not limited to, Windows 8.x devices and Windows 8 Phones.
You need to configure the environment.
Select the correct answer from each list based on the information presented in the diagram. Each correct selection is worth one point.
Hot Area:



Answer Clike
Which project template should you use?

You are developing a Windows Store app by using Microsoft Visual Studio.
The app must use a flat navigation pattern.
You need to start the app development from a built-in Visual Studio project template.
Which project template should you use?
A. Blank App
B. Grid App
C. Hub App
D. Split App


Answer Clike
Which code segment should you insert at line 02?

You are developing a Windows Store app. The app includes a handler for the suggestionsrequested event.
The empty event handler is shown in the following code. (Line numbers are included for reference only.)

The app must meet the following requirements:
Provide an app-defined list of choices in the Search pane that responds to user query text changes.
Provide suggested search topics only when the user enters a query that contains the text "products".
You need to add code to meet the requirements.
Which code segment should you insert at line 02?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
What should you do?

You develop a Windows Store app that uses a peer-to-peer scenario. You submit the app to the Windows Store.
The app fails Windows Store certification.
You need to ensure that the app meets Windows Store certification guidelines.
What should you do?
A. Enable the Proximity capability in the app manifest.
B. In the Settings charm for the app, include a link to the privacy policy.
C. Enable the Shared User Certificates capability in the app manifest.
D. Enable the Location capability in the app manifest.


Answer Clike
HOTSPOT

HOTSPOT
The following image depicts three apps. App1 and App3 have been launched by App2.

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



Answer Clike
Which event should you listen for?

You develop a Windows Store app. The app is a memory game that displays a 6×6 grid of squares.
When the user taps or swipes a square, the square must flip over to display an image.
When testing the app, you find that swiping the tile does not cause it to flip over.
You need to ensure that the game responds correctly to user input.
Which event should you listen for?
A. pointerover
B. pointerenter
C. pointercancel
D. pointerleave


Answer Clike
HOTSPOT

HOTSPOT
You are developing a Windows Store game.
The app tile must display the user’s name and current high score.
The following image displays various app tiles.

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



Answer Clike
You are developing a Windows Store game.

HOTSPOT
You are developing a Windows Store game. The Menu page displays when the game launches. The Game page displays when you launch a game. The Game page reloads each time the player chooses an incorrect answer.
The following code segment runs each time the user navigates to the Game page. 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.
Hot Area:



Answer Clike
Which code segments should you use?

HOTSPOT
You are developing a Windows Store app by using HTML5 and JavaScript.
The app defines the following objects:
InkManager is an object to process and manipulate the ink-related data from the stylus.
InkContext is an object to hold the surface context.
CurrentPenId is an object to restrict input processing to one stroke at a time.
The app must support the following requirements:
Support the use of a stylus input device.
Begin capturing input when the stylus first touches the screen.
Render stylus movements in real time.
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.)
Hot Area:



Answer Clike
What should you do?

You have an enterprise app that has been distributed outside of the Windows Store. The app deployment includes devices that are joined to an enterprise domain and devices that are not.
Installation of the app and all updates are required for all domain-joined devices.
You need to push a critical update to the app.
What should you do?
A. Require a mandatory update in the versioning model.
B. Distribute the update by using group policy.
C. Distribute the update by deploying a resource pack.
D. Deploy an .appxupload file.


Answer Clike
Which code segment should you add?

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?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segments should you use?

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

A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
F. Option F


Answer Clike
Which CSS class should you use?

You are developing a Windows Store app. The app has an app bar that is defined as shown in the following code segment.

You need to style the app bar to match the style of the app.
Which CSS class should you use?
A. win-commandlayout
B. win-surface
C. win-appbar
D. win-listview
E. win-viewport


Answer Clike
HOTSPOT

HOTSPOT
You develop a Windows Store app that uses a grid layout. The grid is defined by the following CSS 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.
Hot Area:



Answer Clike
Which code segment should you insert at line 05?

You are developing a Windows Store app. The app includes a handler for the datarequested event.
A portion of the code for the event handler is shown in the following code segment:

The app must meet the following requirements:
The app must share an order tracking link with target apps.
The app must share URI-type data only.
You need to ensure that the app meets the requirements.
Which code segment should you insert at line 05?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segments should you use?

DRAG DROP
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, 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.)
Select and Place:



Answer Clike
Which code segment should you use?

HOTSPOT
You are developing a Windows Store app.
You need to ensure that a remote file is updated when the app is activated.
Which code segment should you use? (To answer, select the correct option from the drop-down list in the answer area.)
Hot Area:



Answer Clike
Which navigation member should you use?

You are developing a Windows Store app.
You need to ensure that the app logs pages that are viewed by the user.
Which navigation member should you use?
A. onnavigated
B. canGoForward
C. canGoBack
D. onbeforenavigate


Answer Clike
Which tab in Visual Studio should you use?

HOTSPOT
You are developing a Windows Store app.
The app must use toast notifications to alert users when the app is operating in the background.
You need configure the app to support toast notifications.
Which tab in Visual Studio should you use? (To answer, select the appropriate tab in the answer area.)
Hot Area:



Answer Clike
Which Windows library should you use?

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?
A. Windows.UI.Input
B. Windows.Media.Devices
C. Windows.Devices.Enumeration
D. Windows.Devices.Input


Answer Clike
How should you use delivery notifications?

You are developing a Windows Store app by using HTML5 and JavaScript. The app will be used to monitor road traffic conditions.
The app must support live tile notifications, in accordance with the following requirements:
Update the tile every five minutes when the app is in the running state.
Update the tile once in the morning and once in the evening when the app is in the suspended state.
Implement updates to tiles to optimize the power and resource consumption when the app is suspended or not otherwise running.
You need to implement delivery notifications to ensure that the requirements are met.
How should you use delivery notifications?
A. Use the Periodic delivery notification when the app is running, and use the Scheduled delivery notification when the app is suspended.
B. Use the Push delivery notification when the app is running, and use the Local delivery notification when the app is suspended.
C. Use the Local delivery notification when the app is running, and use the Push delivery notification when the app is suspended.
D. Use the Scheduled delivery notification when the app is running, and use the Push delivery notification when the app is suspended.


Answer Clike
Which code segments should you use?

HOTSPOT
You are developing a Windows Store app by using HTML5 and JavaScript.
The app defines the following objects:
InkManager is an object to process and manipulate the ink-related data from the stylus.
InkContext is an object to hold the surface context.
CurrentPenId is an object to restrict input processing to one stroke at a time.
The app must support the following requirements:
Support the use of a stylus input device.
Begin capturing input when the stylus first touches the screen.
Render stylus movements in real time.
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.)
Hot Area:



Answer Clike
Which navigation member should you use?

You are developing a Windows Store app.
You need to ensure that unauthenticated users are redirected to the login screen when they attempt to navigate to secure pages
Which navigation member should you use?
A. canGoBack
B. onbeforenavigate
C. canGoForward
D. onnavigated


Answer Clike
Which code segment should you add?

You are developing a Windows Store app.
Users must be able to initiate searches by using the Search charm. The app must display the search text in a DIV element named searchBox.
You need to add code to meet this requirement.
Which code segment should you add?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
What should you do?

You are developing two Windows Store apps named CameraApp and PhotoAlbum.
The apps must meet the following requirements:
CameraApp must have access to images on the local computer on which CameraApp is running.
PhotoAlbum must be able to access the images from CameraApp.
You need to configure the deployment package settings for both apps to ensure that the requirements are met.
What should you do?
A. Add the URI of CameraApp to the Content URIs list for PhotoAlbum, and add the URI of PhotoAlbum to the Content URIs list for CameraApp.
B. Add the Pictures Library setting to the list of capabilities for PhotoAlbum, and add the Share Target setting to the list of declarations for PhotoAlbum.
C. Add the ShareTarget setting to the list of declarations for PhotoAlbum, and add the Pictures Library setting to the list of capabilities for CameraApp.
D. Add the Pictures Library setting to the list of declarations for CameraApp, and add the Share Target setting to the list of capabilities for PhotoAtbum.


Answer Clike
Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app will be used to retrieve data from a web service.
The app must retrieve the current date and time in UTC format from the web service by using the URL http://www.treyresearch.net/
GetDateTimeinUTC.asmx. Errors must be handled.
You must ensure that data is retrieved successfully.
Which code segment should you use?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
How should you define the toast notification?

DRAG DROP
You are developing a Windows Store alarm clock app.
When an alarm is triggered, the app must present a toast notification that plays a repeating audio alert until dismissed.
You need to ensure that the repeating audio alert is played.
How should you define the toast notification? (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.)
Select and Place:



Answer Clike
Which data access strategies should you use?

DRAG DROP
You are developing a Windows Store app for purchasing school supplies.
The app has the following storage requirements:
Inventory data must be accessible to the app and over the Internet to external suppliers. Suppliers will access the data over HTTP by using OData.
App storage for the high volume sales periods must be able to scale rapidly, but at the lowest possible cost.
Color preferences for the user must be stored on the host device.
You need to choose the appropriate data access strategy for each requirement.
Which data access strategies should you use? (To answer, drag the appropriate data access strategies to the correct requirements in the answer area. Each data access strategy 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.)
Select and Place:



Answer Clike
Which properties should you use?

DRAG DROP
You are developing a Windows Store app that uses a CredentialPicker control to collect the user’s user name and password credentials.
The CredentialPicker control has the following requirements:
The Remember my credentials check box must be selected by default.
The text "Enter user name and password" must be displayed in the message header of the dialog box.
You need to ensure that the requirements are met.
Which properties should you use? (To answer, drag the appropriate properties to the correct locations in the answer area. Each property 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.)

Select and Place:



Answer Clike
What should you do?

You are developing a Windows Store app by using HTML5 and JavaScript. The app will be used to display image files from a folder.
The app has the following requirements:
The file name, size, and a thumbnail view of the image must be displayed in a ListView control.
The user must be able to group the files into an album.
You need to ensure that the requirements are met.
What should you do?
A. Create a custom DataSource object.
Implement only the IListDataSource interface of the DataSource object.
B. Create a WinJS.UI.FIipView object.
Bind the object to the ListView control.
C. Create a custom DataSource object.
Implement only the IListDataAdapter interface of the DataSource object.
D. Create a WinJS.UI.StorageDataSource object.
Bind the object to the ListView control.


Answer Clike
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?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segments should you use?

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 copy the text.
You need to enable the copy feature.
Which code segments should you use? (Each correct answer presents part of the solution. Choose all that apply.)

A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
F. Option F


Answer Clike
Which code segment should you add?

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 between two columns.
Columns must be separated by vertical lines that are two pixels wide.
You need to ensure that the format of the paragraph meets the requirements.
Which code segment should you add?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which features should you add to the app bar?

DRAG DROP
You are designing a Windows Store app. The app displays prices and other information for various stocks.
The app must allow the user to perform the following actions:
Add and remove stocks.
Search by stocks name.
Display information about stocks.
You need to add the appropriate features to the app bar.
Which features should you add to the app bar? (To answer, drag the appropriate features to the correct locations in the answer area. Each feature 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.)
Select and Place:



Answer Clike
Where should you place each command?

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.)
Select and Place:



Answer Clike
Which code segment should you insert at line 01?

You are developing a Windows Store app. The app will be used on devices that are capable of changing view states.
The app contains the following CSS code segment. (Line numbers are included for reference only.)

The app has the following requirements when the host device is in a landscape orientation:
The app’s client area must be the same height as the device’s height.
The app’s client area must be the same width as the device’s width.
You need to ensure that the layout of the device screen meets the requirements.
Which code segment should you insert at line 01?
A. @ device screen and (-ms-view-state: fullscreen-landscape) {
B. @ device screen and (-ms-view-state: fullscreen-snapped) {
C. @ media screen and (-ms-view-state: fullscreen-landscape)
D. @ media all and (-ms-view-state: fullscreen-snapped) {


Answer Clike
Which four actions should you perform in sequence?

DRAG DROP
You are developing a Windows Store app that allows the user to write reviews for a company’s products.
The product selection page must switch to a vertical list layout when the app is snapped.
You need to ensure that the product layout is updated.
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.)
Select and Place:



Answer Clike
Which media feature should you evaluate?

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?
A. -ms-application-state
B. -resolution
C. -ms-view-state
D. -aspect-ratio


Answer Clike
How should you complete the HTML?

DRAG DROP
You are developing a Windows Store travel-planning app. An array named dataArray stores information about travel categories.
The array is defined in the following code:

The app must display the title and image for each travel category in a ListView control.
You need to define the HTML for the ListView control.
How should you complete the HTML? (To answer, drag each appropriate attribute or object to the correct location or locations in the answer area. Each attribute or object 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.)
Select and Place:



Answer Clike
Which code segments should you use?

DRAG DROP
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.)
Select and Place:



Answer Clike
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.)
A. Configure settings in the app manifest to display the splash screen until the data is fully available.
B. Create an image that duplicates the splash screen, load the image from the dismissed event of the splash screen, and display the image until the data is fully available.
C. Create an image that duplicates the splash screen, and display the image by using fragment loading until the data is fully available.
D. Configure settings in the app manifest to display the splash screen for 10 seconds.


Answer Clike
What should you do?

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?
A. Specify both the element properties and the resource names of data-win-res attributes, and process the data-win-res attributes in the onactivated event.
B. Specify only the properties of data-win-res attributes, and process the data-win-res attributes prior to the DOMContentLoaded event.
C. Specify both the element properties and the resource names of data-win-res attributes, and process the data-win-res attributes immediately after the DOMContentLoaded event.
D. Specify only the resource names of data-win-res attributes, and process the data-win-res attributes in the onactivated event.


Answer Clike
How many packages should you use?

You are planning to deploy a Windows Store app to a large number of users. The size of the app is approximately 5 GB.
You need to package the app to prepare it for deployment to the Windows Store.
How many packages should you use?
A. 3
B. 1
C. 2
D. 4


Answer Clike
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.)
A. Set the tabIndex attribute for interactive elements. Dynamically manage the tabIndex attribute for composite elements.
B. Set the aria-live attribute of user interface elements to polite for important content that changes dynamically.
C. Ensure that visible text has a minimum luminosity contrast ratio of 1:1 against the background.
D. Implement event handlers for invoking default functionality.


Answer Clike
Which code segment should you use?

HOTSPOT
You are developing a Windows Store app.
You need to ensure that a file that is launched by the app is handled when the app is activated.
Which code segment should you use? (To answer, select the correct option from the drop-down list in the answer area.)
Hot Area:



Answer Clike
What should you do?

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?
A. Add the Pictures Library setting to the list of declarations for PhotoApp, and add the Share Target setting to the list of capabilities for PictureAlbum.
B. Add the Share Target setting to the list of declarations for PictureAlbum, and add the Pictures Library setting to the list of capabilities for PhotoApp.
C. Add the Pictures Library setting to the list of capabilities for PictureAlbum, and add the Share Target setting to the list of declarations for PictureAlbum.
D. Add the URI of PhotoApp to the Content URIs list for PictureAlbum, and add the URI of PictureAlbum to the Content URIs list for PhotoApp.


Answer Clike
Which project template should you choose?

HOTSPOT
You need to begin the project development.
Which project template should you choose? To answer, select the appropriate project template type in the answer area.
Hot Area:



Answer Clike
Which code segment should you add?

You are developing a Windows Store app.
Users must be able to initiate searches by using the Search charm. The app must display the search text in a DIV element named statusMessage.
You need to add code to meet this requirement.
Which code segment should you add?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you insert at line 05?

You are developing a Windows Store app. The app includes a handler for the datarequested event.
A portion of the code for the event handler is shown in the following code segment:

The app must meet the following requirements:
The app must share an order tracking link with target apps.
The app must share URI-type data only.
You need to ensure that the app meets the requirements.
Which code segment should you insert at line 05?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
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.)
Hot Area:



Answer Clike
Which three actions should you perform in sequence?

DRAG DROP
You are developing a Windows Store app.
You need to allow the app to share content with other applications.
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.)
Select and Place:



Answer Clike
Which four actions should you perform in sequence?

DRAG DROP
You need to configure the app to receive push notifications.
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.
Select and Place:



Answer Clike
Which markup segment should you insert at line SH07?

You need to implement the app bar for the Service Record screen.
Which markup segment should you insert at line SH07?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
What should you do?

You need to modify the app so that the user can play videos by tapping the screen.
What should you do?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
What should you do?

You need to implement the navigation between screen categories.
What should you do?
A. Place one link for each category on every screen and use an <href> tag to go to the category screens.
B. Implement category navigation controls on the nav bar on every screen.
C. Place one button for each category on every screen and use the WinJS.navigate command to go to the category screens.
D. Implement category navigation controls on the app bar on every screen.


Answer Clike
Which navigation design patterns should you implement?

You need to implement the business requirement for the layout of the user interface.
Which navigation design patterns should you implement? (Each answer presents part of the solution. Choose all that apply)
A. Use the Detail pages hierarchical system design pattern to display toys that belong to a category.
B. Use the Flat system design pattern to navigate the different toy categories.
C. Use the Hub pages hierarchical system design pattern to navigate the different toy categories.
D. Use the Section pages hierarchical system design pattern to display toys that belong to a category.


Answer Clike
Which code segment should you insert at line UL15?

You need to ensure that the app meets the business requirements for user interface design.
Which code segment should you insert at line UL15?
A. layout: new ui.GridLayout({ groupHeaderPosition: "left" })
B. layout: new ui.GridLayout({ groupHeaderPosition: "top" })
C. layout: new ui.GridLayout( ui. ListLayout{ groupHeaderPosition: "left" })
D. layout: new ui.GridLayout( ui. listLayout{ groupHeaderPosition: "top" })


Answer Clike
Which compiler and associated switch should you use?

You need to ensure that the compiler-generated metadata for the ToyInventory library meets the requirements.
Which compiler and associated switch should you use?
A. Use the MIDL.exe compiler with the /win64 switch.
B. Use the MIDLRT.exe compiler with the /winmd switch.
C. Use the MIDLRT.exe compiler with the /winrt switch
D. Use the MDMERGE.exe compiler.with the /v switch.


Answer Clike
Which code segment should you insert at line ST11?

You need to ensure that the app presents notifications according to the requirements.
Which code segment should you insert at line ST11?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you insert at line ST12?

You need to handle inventory changes according to the requirements.
Which code segment should you insert at line ST12?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which attribute should you add to the DIV element in line AB07?

You need to ensure that the about.html page is displayed according to the requirements.
Which attribute should you add to the DIV element in line AB07?
A. data-win-control="WinJS.UI.GridLayout"
B. data-win-control="WinJS.UI.AppBar
C. data-win-control="WinJS.UI.ListLayout"
D. data-win-control="WinJS.UI.SettingsFlyout"


Answer Clike
Which code segment should you insert at line UL15?

You need to ensure that the app meets the business requirements for user interface design.
Which code segment should you insert at line UL15?
A. layout: new ui.ListLayout ( ui.GridLayout{ horizontal: "false" })
B. layout: new ui.GridLayout({ groupHeaderPosition: "top" })
C. layout: new ui.ListLayout({ horizontal: "false" })
D. layout: new ui.GridLayout( ui. ListLayout{ groupHeaderPosition: "top" })


Answer Clike
Which event handlers should you implement?

You need to ensure that the app maintains information according to the requirements.
Which event handlers should you implement? (Each correct answer presents part of the solution. Choose all that apply.)
A. loaded
B. activated
C. onsettings
D. oncheckpoint


Answer Clike
Which four actions should you perform in sequence?

DRAG DROP
You need to handle the state of the app upon reactivation to meet the requirements.
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.)
Select and Place:



Answer Clike
Which code segment should you use?

You need to implement the event that will provide access to app settings.
Which code segment should you use?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which attribute should you add to the DIV element in line AB07?

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?
A. data-win-options="{width:’narrow’}"
B. data-win-options="{width:’346′}"
C. data-win-options="{size:’narrow’}"
D. data-win-options={size:’346′}"


Answer Clike
Which tab in Visual Studio should you use?

HOTSPOT
You are preparing to deploy the app.
You need to prepare the app according to the technical specifications.
Which tab in Visual Studio should you use? (To answer, select the correct tab in the answer area.)
Hot Area:



Answer Clike
Which code segment should you insert at line DF13?

You need to ensure that the about.html page is displayed.
Which code segment should you insert at line DF13?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
How should you rewrite the code?

You need to ensure that the JavaScript object that is defined in the credentialManager.js file can be consumed by other Windows Store apps that are written in different programming languages.
How should you rewrite the code?
A. As a WinJS.Class object
B. As an ASP.NET server control
C. As a Windows Runtime component
D. As an XAML control


Answer Clike
Which attributes should you use?

DRAG DROP
You need to ensure that product images are displayed according to the requirements.
Which attributes should you use? (To answer, drag the appropriate attributes to the correct locations in the answer area. Each attribute 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.)
Select and Place:



Answer Clike
Which tool should you use to validate the app?

You are preparing to deploy the app.
You need to ensure that the app meets the deployment requirements.
Which tool should you use to validate the app?
A. Windows App Cert Kit
B. System Center Configuration Manager
C. Microsoft Deployment Toolkit
D. SelfCert


Answer Clike
Which code segment should you insert at line CM06?

You need to implement the saveCredentials method.
Which code segment should you insert at line CM06?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which type of object should you create?

You are designing the architecture for the app.
You need to ensure that the logical design fulfills the design pattern requirements.
Which type of object should you create?
A. C# class library
B. Windows Runtime components
C. A single JavaScript file
D. A separate JavaScript file for each page that contains a single enterprise service provider implementation


Answer Clike
Which code segment should you insert at line DF13?

You need to ensure that the about page is displayed.
Which code segment should you insert at line DF13?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you insert at line NP04?

You need to ensure that the navigation requirements for displaying news items are met.
Which code segment should you insert at line NP04?
A. Windows.Devices.Enumeration
B. Windows. Devices.Input
C. Windows.Media.Devices
D. Windows.UI.Input


Answer Clike
Which HTML element should you insert at line NH06?

You need to implement the code to meet the requirements regarding the display of the newsPage.html page.
Which HTML element should you insert at line NH06?
A. <h2 class ="news-item-title win-type-ellipses" data-win-bind="textContent: title"></ h2>
B. <h2 class="news-item-title win-type-large" data-win-bind="textContent: title"></h2>
C. <h2 class="news-item-titlewin-type-xx-large" data-win-bind="textContent: title"></ h2>
D. <h2 class="news-item-title win-type-x-large" data-win-bind="textContent: title"></ h2>


Answer Clike
Which layout should you choose?

You add an element with an ID of MyFlexbox to newsPage.html.
You need to ensure that the layout for MyFlexbox meets the requirements.
Which layout should you choose?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you insert at line CM13?

You need to implement the getStoredCredentialsFull method.
Which code segment should you insert at line CM13?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which three actions should you perform in sequence?

DRAG DROP
You need to ensure that the product details are displayed.
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.)
Select and Place:



Answer Clike
Which attribute should you add to the DIV element in line AB07?

You need to ensure that the about.html page is displayed according to the requirements.
Which attribute should you add to the DIV element in line AB07?
A. data-win-control="WinJS.UI.ApplicationSettings.SettingsLayout"
B. data-win-control="WinJS.UI.SettingsLayout"
C. data-win-control="WinJS.UI.ApplicationSettings.SettingsPane"
D. data-win-control="WinJS.UI.SettingsPane"


Answer Clike
Which code segment should you use to replace the code in line EJ04?

You need to implement the requirements for sending news items to multiple contacts.
Which code segment should you use to replace the code in line EJ04?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you insert at line NP11?

You need to implement the code to meet the search requirements.
Which code segment should you insert at line NP11?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you add to newsPage.js?

You need to implement the code to retrieve news items according to the requirements.
Which code segment should you add to newsPage.js?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you insert at line EJ03?

You need to ensure that the app displays only contacts that meet the requirements.
Which code segment should you insert at line EJ03?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you insert at line NJ03?

You need to ensure that the user can annotate news items according to the requirements.
Which code segment should you insert at line NJ03?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which event handler should you add to newsltem.js?

You need to implement the code to meet the requirements for handling changes in the annotation area of the newsItem.html page.
Which event handler should you add to newsltem.js?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you insert at line NP04?

You need to ensure that the navigation requirements for displaying news items are met.
Which code segment should you insert at line NP04?
A. nav.navigate("/html/newsPage.html");
B. nav.navigate ("/html/newsItem.html", {item: item});
C. nav.forward ("/html/newsItem.html");
D. nav.forward("/html/newsPage.html", {item: item});


Answer Clike
Which code segment should you insert at line NP19?

You need to implement the code to meet the requirements for displaying content from search results.
Which code segment should you insert at line NP19?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segments should you use?

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.)
A. InkManager.mode = Windows.UI.Input.Inking.InkManipulationMode.selecting;
B. InkManager.mode = Windows.UI.Input.Inking.InkRecognitionTarget.selected;
C. InkManager.mode = Windows.UI.Input.Inking.InkManipulationMode.inking;
D. InkManager.mode = Windows.UI.Input.Inking.InkRecognitionTarget.all;


Answer Clike
Which layout should you choose?

You need to ensure that the layout for newsPage.html meets the requirements.
Which layout should you choose?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you insert at line GC04?

You need to ensure that employees are authenticated across public networks according to the requirements.
Which code segment should you insert at line GC04?

A. Option A
B. Option B
C. Option C
D. Option D


Answer Clike
Which code segment should you insert at line GC04?

You need to configure the CredentialPicker object to meet the requirements.
Which code segment should you insert at line GC04?
A. options.callerSavesCredential = false;
B. options.CredentialSaveOption.unselected;
C. options.CredentialSaveOption.selected;
D. options.callerSavesCredential = true;
E. options.CredentialSaveOption.hidden;


Answer Clike