Microsoft TS: Windows Applications Development with Microsoft .NET Framework 4 Sample Questions:
1. You use Microsoft .NET Framework 4 to create a Windows application. You use ClickOnce technology to install the application on computers that run Windows 7 with User Access Control (UAC) enabled.
The application requires access to environment variables on each computer.
You need to ensure that users who do not have administrative permissions can install the application.
Which deployment method should you use?
A) Start from network share.
B) Start from Web.
C) Install from network share.
D) Install from Web.
2. You are migrating a Windows Forms application to a Windows Presentation Foundation (WPF) application.
You need to create a window to display controls. The controls must be positioned by using fixed coordinates.
Which control should you use in the WPF application?
A) Grid
B) StackPanel
C) WrapPanel
D) UniformGrid
E) Canvas
3. You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application contains a window as shown in the following exhibit.
You need to define a DockPanel control that fits the window. Which code fragment should you use?
A) <DockPanel>
<Button Content="Top" DockPanel.Dock="Top"/>
<Button Content="Left"/>
<Button Content="Center'7>
<Button Content="Bottoiti" DockPanel. Dock="Bottoinr7>
</DockPanel>
B) <DockPanel>
<Button Content="Leftp7>
<Button Content="Top" DockPanel.Dock="Top"/>
<Button Content="Center">
<Button Content="Bottom" DockPanel. Dock="Bottom">
</DockPanel>
C) <DockPanel>
<Button Content="Top" DockPanel.Dock="Top"/>
<Button Content="Bottom" DockPanel. Dock="Bottom">
<Button Content="Left"/>
<Button Content="Center'7>
</DockPanel>
D) <DockPanel>
<Button Content="Left"/>
<Button Content="Top" DockPanel.Dock="Top">
<Button Content="Bottom" DockPanel.Dock="Bottom"/>
<Button Content="Center"/>
</DockPanel>
4. You are developing a Windows Presentation Foundation (WPF) application.
The application contains stylized body text and heading test. The heading text is a slight variation of the body text.
You need to ensure that if the body text changes, the heading text automatically inherits those changes.
What should you do?
A) Set the TargetType property of the heading style to TextBlock.
B) Set the BasedOn property of the heading style to point to a static resource for the body text style.
C) Set the Key property of the heading style to start with the name of the body text style.
D) Set the Value property of the style setter to point to a static resource.
5. HOTSPOT
You are developing a Windows Presentation Foundation (WPF) application that will be
deployed by using ClickOnce.
You have a file named CONTOSOEULA.docx that is part of the project.
CONTOSOEULA.docx must be deployed during the setup of the application.
You discover that CONTOSOEULA.docx does not appear in the Application Files settings.
You need to ensure that CONTOSOEULA.docx is included in the Application Files. Which Build Action should you use? (To answer, select the appropriate Build Action in the answer area.)
Solutions:
| Question # 1 Answer: C | Question # 2 Answer: E | Question # 3 Answer: C | Question # 4 Answer: D | Question # 5 Answer: Only visible for members |


PDF Version Demo






We are confident about the products and aim to help you pass with ease. In case of failure, we will provide a no hassle full money back guarantee for the purchasing fee.
1279 Customer Reviews
Quality and ValueITbraindumps Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.
Tested and ApprovedWe are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
Easy to PassIf you prepare for the exams using our ITbraindumps testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
Try Before BuyITbraindumps offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.