PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which line of code should you identify?

You are developing a Windows Store app. The app consumes data from a popular social
networking site. The requestUri variable represents the address of the social networking site.
The code contains an error.
You need to identify the cause of the error.
You have the following code. (Line numbers are included for reference only.)

Which line of code should you identify?

What should you include in the recommendation?

You are developing a Windows Store app that has four pages.
Page 1 and page 2 share a set of styles. Page 3 and page 4 share a different set of styles.
You need to recommend a solution to manage the styles.
The solution must meet the following requirements:
• Ensure that the styles can be used by every app that you develop.
• Minimize the amount of effort required to update the styles across multiple apps.
What should you include in the recommendation?

How should you complete the relevant code?

DRAG DROP
You are developing a page for a Windows Store app.
You have the following requirements for the page:
• Display a button on the bottom app bar that allows the user to insert a picture. This
button must be bound to the Insert command in the view model.
• Display a button in the main content area of the page that allows the user to open
documents. This button must be bound to the Open command in the view model.
You need to ensure that the requirements are met.
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.)

What should you include in the recommendation?

You are developing a Windows Store app that has four pages.
Page 1 and page 2 share a set of styles. Page 3 and page 4 share a different set of styles.
You need to recommend a solution to manage the styles. The solution must meet the
following requirements:
• Ensure that the styles can be used by every app that you develop.
• Minimize the amount of effort required to update the styles across multiple apps.
What should you include in the recommendation?

You need to create the grid and populate the first row of the grid

An object of type AccountViewModel contains properties named Name and Amount.
You are creating a user control that will allow you to view and edit information in the
AccountViewModel object. All items must be properly bound to the control regardless of
what page the control is applied to. The user control must display a two-column grid that is
arranged as shown in the following table.

You need to create the grid and populate the first row of the grid.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)