PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

How should you complete the relevant code?

You are developing a Windows Store app.
You have the following requirements:
– The app tile must update every 30 minutes.
– Content must be pushed to the app tile from multiple URLs.
You need to schedule the app tile updates.
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 maybe used once, more than once, or not at all. You may
need to drag the split bar between panes or scroll to view content.)

How should you complete the relevant code?

You are developing an application that includes a class named Customer.
The application will output the Customer class as astructured XML document by using the following code
segment:

You need to ensure that the Customer class will serialize to XML.
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 orscroll to view content.)

Which four actions should you perform in sequence?

HOTSPOT
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 theanswer area and arrange them in the correct order.)

Which code segment should you insert at line 04?

An application will upload data by using HTML form-based encoding. The application uses a method
named SendMessage.
The SendMessage() method includes the following code. (Line numbers are included for reference only.)

The receiving URL accepts parameters as form-encoded values.
You need to send the values intA and intB as form-encoded values named a and b, respectively. Which
code segment should you insert at line 04?

How should you complete the relevant code?

You are developing a Windows Store checkers game.
Players will drag game pieces around the board on the screen by using mouse, finger, or pen gestures.
You need to ensure that game pieces move when they are dragged.
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 maybe used once, more than once, or not at all. You may
need to drag the split bar between panes or scroll to view content.)

Which code segment should you insert at line 20?

You are developing an application. The application converts a Location object to a string by using a
method named WriteObject.
The WriteObject() method accepts two parameters, a Location object and an XmlObjectSerializer object.
The application includes the following code. (Line numbers are included for reference only.)

You need to serialize the Location object as XML. Which code segment should you insert at line 20?

Which collection type should you use?

You are developing an application that includes a class named Order. The application will store a collection of
Order objects.
The collection must meet the following requirements:
-Internally store a key and a value for each collection item. -Provide objects to Iterators in ascending order
based on the key. -Ensure that item are accessible by zero-based index or by key.
You need to use a collection type that meets the requirements.
Which collection type should you use?