Ensurepass


QUESTION 21

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

Correct Answer: A


QUESTION 22

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

clip_image001

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

B. clip_image003

C. clip_image004

D. clip_image005

Correct Answer: C


QUESTION 23

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

B. clip_image007

C. clip_image008

D. clip_image009

E. clip_image010

F. clip_image011

Correct Answer: AE


QUESTION 24

A Batch 1

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;

Correct Answer: C


QUESTION 25

A Batch 1

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

A. clip_image012

B.clip_image013

C. clip_image014

D.clip_image015

Correct Answer: D


QUESTION 26

A Batch 1

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

A. clip_image016

B. clip_image017

C. clip_image018

D. clip_image019

Correct Answer: D


QUESTION 27

A Batch 1

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

A. picker.selectionMode = Windows.ApplicationModel.Contacts.ContactSelectionMode.fields;

B. picker.selectionMode = Windows.ApplicationModel.Contacts.ContactSelectionMode.contacts;

C. picker.desiredFields.append(Windows.ApplicationModel.Contacts.ContactField("Email",string));

D. picker.desiredFields.append(Windows.ApplicationModel.Contacts.KnownContactField.email);

Correct Answer: D


QUESTION 28

A Batch 1

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. return (pointerDeviceType === "Pen" || (pointerDeviceType === "Mouse" && evt.button === 1));

B. return (pointerDeviceType === "Pen" || (pointerDeviceType === "Mouse" && evt.button === 0));

C. return (pointerDeviceType === "Pen" || (pointerDeviceType === "Mouse" && evt.type === 0));

D. return (pointerDeviceType === "Pen" || (pointerDeviceType === "Mouse" && evt.type === 1));

Correct Answer: B


QUESTION 29

A Batch 1

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

B. clip_image021

C. clip_image022

D. clip_image023

Correct Answer: A


QUESTION 30

A Batch 1

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 });

Correct Answer: B

Download Latest 70-481 Real Free Tests , help you to pass exam 100%.

Comments are closed.