PrepAway - Latest Free Exam Questions & Answers

Category: 70-511 (v.1)

Exam 70-511: TS: Windows Applications Development with Microsoft .NET Framework 4 (update July 31th, 2014)

Which of the following actions should you use to achieve this?

You are employed as an application developer at ABC.com. ABC.com makes use of Microsoft
.NET Framework 4 for Windows Presentation Foundation (WPF) application development.
You have been tasked with developing an application that contains a form, which requires the use
of drag-and-drop operations. After making the necessary configurations, you are informed that as
soon as the pointer passes the limits of the form the drag-and-drop processes should end.
Which of the following actions should you use to achieve this?

Which of the following statements are TRUE with regards to the configuration?

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You have created a new application, and written the code shown below:
MediaPlayer player = new MediaPlayer();
player.Open(new URI(AudioFilePath), UriKind.Relative)); player.play();
You then inserted this code into the button onclick event.
Which of the following statements are TRUE with regards to the configuration?

Which of the following statements are TRUE?

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You have recenty created an application, and cofigured it to have a composite user control. You
also configured the user control to have a TextBox control, named txtEntry. You then configure the
user control to be stored in a window, and include the following code in the constructor of the user
control:
AddHandler(TextBox.TextChangedEvent, new RoutedEventHandler(Audit_TextChanged), true);
Which of the following statements are TRUE? (Choose all that apply.)

Which combination of the following actions should you take?

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
After developing an application, named ABCApp22, you configure a Button control and a
MenuItem control that will be hosted by a window. The Button control and the MenuItem control
have both been named Add.
You have configured the exact same RoutedCommand, named AddCommand, as the Command
properties of these two controls. You then write the code shown below:
Private void CanAdd (object sender, CanExecuteRoutedEventArgs e) { … }
You are then informed that the two controls should be disabled when the CanExecute property is
set to to false.

Which combination of the following actions should you take? (Choose all that apply.)

Which of the following actions should you take?

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Forms applications. After developing a new application, named
ABCApp13, you include a custom class named ABCClient.
You have configured a new object data source, and also added a BindingSource component
named ABCclientBindingSource to a Windows Form. The ABCclientBindingSource component is
configured to be data-bound to the ABCClient data source.
You then configure the Windows form to have two TextBox controls for presenting and modifying
ABCClient. You have bound the data of these controls to its own ABCclientBindingSource
property. The Windows form is also configured to contain an ErrorProvider component, named
errorProvider. The data entries for the TextBox controls will be validated by the ErrorProvider
component.
You want to configure the validation process to occur automatically.
Which of the following actions should you take?

Which of the following options are TRUE with regards to the code?

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Forms applications.
You have recently created a new application. You then wrote the code shown below:
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
Which of the following options are TRUE with regards to the code?

Which of the following actions should you take?

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You are in the process of developing a new application, named ABCApp35, which has a server
assembly, as well as a partially trusted client assembly configured. After configuring customized
sandboxed application domain, you are required to make sure that you are able to run ABCApp35
in a partial-trust setting.
Which of the following actions should you take?

Which of the following options should you write?

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Forms applications.
After creating a new client application, you configure a default form size in the UserScopedSetting
of the the ApplicationSettingsBase class.
Then application makes use of the Form1 type form, which includes a FormSettings object named
frmSettings1.
You have been instructed to write code that allows for the user’s preferred form size to be used
whenever the user opens the application.
Which of the following options should you write?

Which of the following options suitably represents the required code?

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Forms applications.
You have been instructed to create a new application. The application must present a text
message requesting users to update their settings. This should occur whenever a user starts the
application.
Which of the following options suitably represents the required code?

Which of the following actions should you take?

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You are in the process of developing a new application named ABCApp13. ABCApp13 must be
able to present data to application users two consecutive pages at one time.
Which of the following actions should you take?


Page 1 of 512345