Exam 70-511 : Windows Applications Development with Microsoft .NET Framework 4 Part – 8

Question: You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a game where a ball drops from the top to the bottom of a window. You plan to create a single animation for the game. You need to ensure that the animation shows the ball bounce. What should you do? Use the KeySpline property of a SplineDoubleKeyFrame object. Use the EasingFunction property of an EasingDoubleKeyFrame object. Use the DecelerationRatio and AutoReverse properties of a StoryBoard object. Use the DecelerationRatio and AccelerationRatio properties of a StoryBoard object. Correct Answer: 2 Question: You use Microsoft … Click here to continue…..

Exam 70-511 : Windows Applications Development with Microsoft .NET Framework 4 Part – 7

Question: You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You have a page named myPage that contains the following code fragment.

You need to ensure that other pages in your application can use CustomerNameBrush. What should you do? Move CustomerNameBrush to the App.xaml file. Inherit from myPage in all additional pages that use CustomerNameBrush. Add a reference to myPage to all additional pages that use CustomerNameBrush. Bind controls that need CustomerNameBrush to myPage.Resources.CustomerNameBrush. Correct Answer: 1 Question: You use Microsoft .NET Framework 4 to create a custom Windows … Click here to continue…..

Exam 70-511 : Windows Applications Development with Microsoft .NET Framework 4 Part – 6

Question: You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You want the application to contain a window as shown in the following exhibit. The application contains the following code fragment. (Line numbers are included for reference only.) 01<Grid ShowGridLines=”True”> 02<Grid.ColumnDefinitions> 03<ColumnDefinition /> 04<ColumnDefinition /> 05<ColumnDefinition /> 06</Grid.ColumnDefinitions> 07<Grid.RowDefinitions> 08<RowDefinition /> 09<RowDefinition /> 10<RowDefinition /> 11</Grid.RowDefinitions> 12 13<TextBlock FontWeight=”Bold” Grid.Row=”1″ Grid.Column=”0″>Quarter</TextBlock> 14<TextBlock FontWeight=”Bold” Grid.Row=”1″ Grid.Column=”1″>Quarter 1</TextBlock> 15<TextBlock FontWeight=”Bold” Grid.Row=”1″ Grid.Column=”2″>Quarter 2</TextBlock> 16<TextBlock FontWeight=”Bold” Grid.Row=”2″ Grid.Column=”0″>Products</TextBlock> 17<TextBlock Grid.Row=”2″ Grid.Column=”1″>100000</TextBlock> 18<TextBlock Grid.Row=”2″ Grid.Column=”2″>150000</TextBlock> 19</Grid> You need to create the application window. Which code fragment should you insert … Click here to continue…..

Exam 70-511 : Windows Applications Development with Microsoft .NET Framework 4 Part – 5

Question: You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application that allows users to arrange images. You need to ensure that users can arrange child elements in a panel without affecting the size of the elements. You also need to ensure that child elements are oriented horizontally. Which control should you use? ListBox DockPanel WrapPanel StackPanel Correct Answer: 4 Question: You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that the application meets the following requirements: Displays a menu that is specific to the control selected … Click here to continue…..

Exam 70-511 : Windows Applications Development with Microsoft .NET Framework 4 Part – 4

Question: You use Microsoft .NET Framework 4 to create an application. The application contains a partially trusted client assembly and a server assembly. You create a custom sandboxed application domain. You need to ensure that the application can be executed in a partial-trust environment. What should you do? Apply the following attribute to the server assembly.

Apply the following attribute to the server assembly.

Apply the following attribute to the client assembly.

Apply the following attribute to the client assembly.

Correct Answer: 2 Question: You upgrade a Windows Forms application to Microsoft .NET Framework 4. The … Click here to continue…..