Microsoft 70-357 Developing Mobile Apps Exam Practice Test

Page: 1 / 14
Total 51 questions
Question 1

You need to design the navigation tor the timeline.

What navigation should you use?



Answer : A

From scenario:

Here we can use a hierarchy with each parent node having only one single child node.

Hierarchical structures are good for organizing complex content that spans lots of pages or when pages should be viewed in a particular order. The downside is that hierarchical pages introduce some navigation overhead: the deeper the structure, the more clicks it takes for users to get from page to page.

We recommend a hiearchical structure when:

You expect the user to traverse the pages in a specific order. Arrange the hierarchy to enforce that order.

There is a clear parent-child relationship between one of the pages and the other pages in the group.

There are more than 7 pages in the group.

When there are more than 7 pages in the group, it might be difficult for users to understand how the pages are unique or to understand their current location within the group. If you don't think that's an issue for your app, go ahead and make the pages peers


Question 2

You need to configure networking.

Which two networking technologies should you use? Each correct answer presents a complete solution.



Answer : A, C


Question 3

Note: This question is part of a series of questions that present the same scenario. Each

question in the series contains n unique solution. Determine whether the solution meets the stated goals.

You need to implement the appropriate XAML layout for the Timeline app.

Solution: You create an instance of a StackPanel class.

Does this meet the goal?



Answer : B

StackPanel is a simple layout panel that arranges its child elements into a single line that can be oriented horizontally or vertically. StackPanel controls are typically used in scenarios where you want to arrange a small subsection of the UI on your page.

The following XAML shows how to create a vertical StackPanel of items.

XAML

<StackPanel>

<Rectangle Fill='Red' Height='44'/>

<Rectangle Fill='Blue' Height='44'/>

<Rectangle Fill='Green' Height='44'/>

<Rectangle Fill='Orange' Height='44'/>

</StackPanel>

The result looks like this.


Question 4

You need to ensure that the Timeline app meets the XAML coding requirements.

In Settings.xaml, which markup segment should you select to replace the markup segment at line

AS06?



Answer : A

From scenario: All code and markup must conform to the following style guidelines:

Use resource dictionaries for styles that are used more than once.

Use built-in properties of existing panels instead of using separate style objects.

XAML resources are objects that are referenced from markup more than once. Resources are defined in a ResourceDictionary, typically in a separate file or at the top of the markup page. In this scenario the ResourceDictionary is defined in the ResourceDictionery.xaml file.

You access members of the resource dictionary like any other dictionary.


Question 5

You are developing a Universal Windows Platform (UWP) a pp.

The app must be available on Windows Phone, Windows tablet devices, and Xbox.

When the app is running on a device, you need to determine which members of a specific class you can use.

Which of the following methods should you use?



Answer : D

The AppExtensionCatalog class represents a device. This class allows access to well-known device properties as well as additional properties specified during device enumeration.

A Successful completion of FindAllAsync results in a DeviceInformationCollection containing DeviceInformation objects.


Question 6

You are developing a Universal Windows Platform (UWP) app that uses XAML and C#. The app must use the Model-View-ViewModel (MVVM) pattern.

The user interface (UI) triggers an event.

You need to bind the event to a view model method.

What should you do?



Answer : B

Commands are an implementation of the ICommand interface that is part of the .NET Framework. This interface is used a lot in MVVM applications.


Question 7

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.

You must create a project for shared code.

Solution: You implement the shared code in a Windows Runtime component.

Does this meet the goal?



Answer : A


Page:    1 / 14   
Total 51 questions