Download New Updated (June) Microsoft 70-481 Practice Test 43-50

Ensurepass

QUESTION 43  (Topic 5)

 

 

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: A

 

 

QUESTION 44  (Topic 5)

 

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:

 

clip_image002

 

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?

 

 

 

clip_image004

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Answer: C

 

 

QUESTION 45  (Topic 5)

 

You are developing a Windows Store app. The app will format a paragraph of text to resemble the following image.

 

clip_image006

 

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: D

 

 

QUESTION 46  (Topic 5)

 

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: AB

 

 

QUESTION 47

DRAG DROP  (Topic 5)

 

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

 

clip_image008

 

A.

 

B.

 

C.

 

D.

 

 

Answer:

 

 

QUESTION 48  (Topic 5)

 

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: A

 

 

QUESTION 49  (Topic 5)

 

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: B

 

 

QUESTION 50  (Topic 5)

 

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: D

Free VCE & PDF File for Microsoft 70-481 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…