PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

How should you complete the relevant code?

You are implementing a method that creates an instance of a class named User. The User class contains a
public event named Renamed. The following code segment defines the Renamed event: Public event
EventHandler<RenameEventArgs> Renamed;
You need to create an event handler for the Renamedevent by using a lambda expression.
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 effects result from the design principles?

You are developing a Windows Store app.
You need to identify the effects of applying Microsoft design principles to the user interface.
Which effects result from the design principles? (To answer, drag the appropriate effects to the correct
locations in the answer area. Each effect 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.)

How should you complete the relevant code?

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 bebound 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 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 add?

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

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 formatof the paragraph meets the requirements. Which code
segment should you add?

How should you complete the relevant code?

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 bebound 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 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 four code segments should you use in sequence?

You are developing an application by using C#. The application will output the text string “First Line”
followed by the text string “Second Line”.
You need to ensure that an empty line separates thetext strings.
Which four code segments should you use in sequence? (To answer, move the appropriate code segments
to the answer area and arrange them in the correct order.)