PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

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?