Get Smart with free download 70-511 ebook

Microsoft 70-511 online training course may be the shortest way to 70-511 certification. Today success isnt far from you! Its easy to work with our Microsoft Microsoft exam items. Download the totally free Pdf questions and answers on your own PC after paying. Along with the test powerplant of Microsoft 70-511 may offer a person a similar setting as the true exam scenario. All the answers tend to be in particulars which make you understand the Microsoft 70-511 thoroughly. Microsoft 70-511 exam dumps contain the principle topics that can aid you throughout analyzing your weak as well as strong factors.

2017 Jan mcts 70-511 preparation:

Q61. - (Topic 2) 

You are developing a Windows Presentation Foundation (WPF) application. 

Two styles, Blue and Green, are used for Border objects. The two styles have the same values for the CornerRadius and BrushThickness properties and different values for the Background property. 

You need to define the CornerRadius and BrushThickness settings in either the Blue or the Green style, but not both. 

What should you do? 

A. Separate Blue and Green into two files. Put the base settings in Blue and use MergedDictionaries. Ensure that the Blue file is second in the list. 

B. Separate Blue and Green into two files. Put the base settings in Blue and use MergedDictionaries. Ensure that the Green file is second in the list. 

C. Put Blue and Green into the same file. Put the base settings in Blue and mark Green as BasedOn Blue. 

D. Put Blue and Green into the same file. Put the base settings in Blue and mark Blue as BasedOn Green. 

Answer:


Q62. - (Topic 1) 

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. 

The application contains a set of Button controls. 

You need to ensure that any button that contains no content is highlighted when the mouse pointer is located over it. 

Which code fragment should you use? 

A. < Style TargetType="{x:Type Button}" > 

… 

< Setter Property="Background" Value="Yellow" / > 

< Style.Triggers > 

< MultiTrigger > 

< MultiTrigger.Conditions > 

< Condition Property="IsMouseOver" Value="True" / 

< Condition Property="Content" Value="{x:Null}" / 

< /MultiTrigger.Conditions > 

< /MultiTrigger > 

< /Style.Triggers > 

< /Style > 

B. < Style TargetType="{x:Type Button}" > 

… 

< Style.Triggers > 

< Trigger Property="IsMouseOver" Value="True" > 

< Setter Property="Background" Value="Yellow" / > 

< /Trigger > 

< Trigger Property="Content" Value="{ x :Null} " > 

< Setter Property="Background" Value="Yellow" / > 

< /Trigger > 

< /Style.Triggers > 

</Style > 

C. < Style TargetType="{x:Type Button)" > 

… 

< Setter Property="Background" Value="Yellow" /> 

< Style.Triggers > 

< MultiTrigger > 

< MultiTrigger.Conditions > 

< Condition Property="IsHouseOver" Value="True" /> 

< Condition Property="Content" Value="Empty" / > 

< /MultiTrigger.Conditions > 

< /MultiTrigger > 

< /Style.Triggers > 

</Style > 

D. <Style TargetType="{x:Type Button)" > 

… 

< Style.Triggers > 

< Trigger Property="IsMouseOver" Value="True" > 

< Setter Property="Background" Value="Yellow" / > 

< /Trigger > 

< Trigger Property="Content" Value="Empty" > 

< Setter Property="Background" Value="Yellow" / > 

< /Trigger > 

< /Style.Triggers > 

</Style > 

Answer:


Q63. - (Topic 2) 

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe. You use Microsoft Windows Installer to package the application. 

You create an icon file named Application.ico. 

You need to associate Application.ico with MyApp.exe when MyApp.exe is deployed. 

What should you do? 

A. Use the File Types Editor tool. 

B. Rename the icon file to MyApp.exe.ico. 

C. Set the AddRemoveProgramsIcon property to Application.ico. 

D. Use the File System Editor tool to set the Icon property to Application.ico. 

Answer:

213. - (Topic 2) 

You develop a Windows Presentation Foundation (WPF) application. The application runs on 64-bit machines only. 

The application architects want to store application settings in the registry. The users do not have write access to these settings. 

These application settings apply to everyone using the application. 

You need to read the application settings successfully from the registry. 

Which code segment should you use? 

A. RegistryKey 

•OpenBaseKey{RegistryHive.LocalMachine, RegistryView.Registry64) 

•OpenSubKey(@"Sofware\MyProgram") 

•GetValue("ConnectionString") ; 

B. RegistryKey 

•OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64) 

•CreateSubKey(@"Software\MyProgram") 

•GetValue("ConnectionString"); 

C. RegiatryKey 

•OpenBaseKey(RegistryHive.LocalMachine. RegistryView.Registry64) 

•CreateSubKey(@"Software\MyProgram") 

•GetValue("ConnectionString") ; 

D. RegistryKey 

•OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64) 

•OpenSubKey(@"Software\MyProgram") 

•GetValue("ConnectionString"); 

Answer:


Q64. - (Topic 2) 

You are developing a Windows Presentation Foundation (WPF) application to display loan types by bank and students by loan type. You add the following markup segment to the MainWindow.xaml file. (Line numbers are included for reference only.) 

You need to ensure that the data appears in hierarchical form in a TreeView control. 

What should you do? 

A. At line 09, set the Resource Key to LoanList. 

B. lire 15, set the Resource Key to Students. 

C. At line 09, set the Resource Key to Students. At line 15, set the Resource Key to LoanList. 

D. At line 09, set the Resource Key to Lender. At line 15, set the Resource Key to BankList. 

E. At line 09, set the Resource Key to BankList. At line 15, set the Resource Key to Lender. 

Answer:


Q65. - (Topic 2) 

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. 

You discover that when the application runs, a user control is not rendered correctly. 

You need to find out the user interface (UI) element of the window that is causing the rendering problem. 

What should you do? 

A. Use the Local Window. 

B. Use the WPF Visualizer. 

C. Generate a trace log by using IntelliTrace. 

D. Set a breakpoint at the control. Run the application. 

Answer:

199. - (Topic 2) 

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. 

You need to implement the MyProject.MyConverter class. 

What should you do? 

A. Implement the IValueConverter interface. 

B. Implement the IMultiValueConverter interface. 

C. Inherit from the TypeConverter class. 

D. Apply the TypeConverterAttribute attribute. 

Answer:


Renew 70-511 practice:

Q66. - (Topic 2) 

You are developing a Windows Presentation Foundation (WPF) application. 

You need to ensure that the application includes a container control that supports logical scrolling by default. 

Which control should you select? 

A. StackPanel 

B. WrapPanel 

C. Canvas 

D. Grid 

Answer:


Q67. - (Topic 2) 

You use Microsoft .NET Framework 4 to create a Windows Forms application. 

You write the following code segment. (Line numbers are included for reference only.) 

01 NotInheritable Class FormSettings 02 Inherits ApplicationSettingsBase 03 04 Public Property Description() As [String] 05 Get 06 Return DirectCast(He("Description"), [String]) 07 End Get 08 Set 09 Me("Description") -value 10 End Set 11 End Property 12 End Class 

You need to ensure that the first time each user opens the application, a text field displays the following message: "Please enter your setting." 

Which code segment should you insert at line 03? 

A. <UserScopedSetting() > 

<DefaultSettingValue("Please enter your setting.")> 

B. <UserScopedSetting()> 

<SettingsDescription("Description: Please enter your setting.")> 

C. <ApplicationScopedSetting()> 

<DefaultSettingValue("Please enter your setting.")> 

D. <ApplicationScopedSetting()> 

<SettingsDescription("Description: Please enter your setting.")> 

Answer:


Q68. - (Topic 1) 

You are developing a Windows Presentation Foundation (WPF) application. 

The application configuration file is maintained in source control and must not be modified. 

You need to ensure that developers can override individual settings. 

Which XML segment should you use in the application configuration file? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q69. - (Topic 2) 

You are developing a Windows Presentation Foundation (WPF) application. 

You are planning the deployment strategy for the application. 

You need to write specific information to the registry during deployment for each user. 

Which deployment strategy should you use? 

A. XBAP 

B. Xcopy 

C. ClickOnce 

D. Setup Project 

Answer:


Q70. - (Topic 2) 

You are developing a Windows Presentation Foundation (WPF) application. The application contains a converter named DateOutputConverter that formats dates. 

The window is defined as follows. (Line numbers are included for reference only.) 

The window must display the OrderDate value found in shippedOrder. The text box must display the OrderDate formatted by the DateOutputConverter. 

You need to ensure that the OrderDate is displayed and formatted correctly. 

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.) 

A. insert the following code at line 10. 

<textBox Text="{Binding OrderDate}"/> 

B. Insert the following code at line 07. 

<m:DataOutputConverter x:Key"DataOutputConverter"/> 

C. Insert the following code at line 10. 

<textBox Text="{Binding OrderDate, 

Converter={StaticResource internationalDateConverter}}" 

DataContext.="{StaticResource ResourceKey=shippedOrder}"/> 

D. Insert the following code at line 07. 

<m:DateOutputConverter x:Key="internationalDateConverter"/> 

Answer: C,D 



see more http://www.2passeasy.com/exam/70-511/