Microsoft TS: Windows Applications Development with Microsoft .NET Framework 4 認定 70-511 試験問題:
1. You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment to bind a customer object to several controls in a window.
<TextBox Text="{Binding Path=CustomerName}" Name="textBoxl" />
When the application executes, you receive the following error message:
"System.Windows.Data Error: 35: BindingExpression path error: 'CustomerName' property not found on 'object' "Customer1 (HashCode=22613453). BindingExpression:Path=CustomerNarne; DataItem='Customer' (HashCode=22613453);
target element is 'TextBox' (Name='textBoxl'); target property is 'Text' (type 'String')"
You need to identify the source of the error.
What should you do?
A) Use the WPF Visualizer.
B) Use a Debug object.
C) Use a Trace object.
D) Use a PresentationTraceSources object.
2. You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You need to ensure that users can view content in a book-reading format that displays two pages at a time.
Which control should you use?
A) FlowDocumentReader
B) FlowDocumentScrollViewer
C) FlowDocumentPageViewer
D) FlowDocument
3. You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a
Windows Presentation Foundation (WPF) application.
You suspect that the data returned from the database is incorrect.
You need to capture interactions to the database by using IntelliTrace.
Which event type should you capture?
A) ADO.NET
B) DataBinding
C) ServiceModel
D) Tracing
4. You are developing a Windows Presentation Foundation (WPF) application.
A UserControl named usercontroll contains the following controls.
<StackPane1>
<Label Name="Label1" Content="Hello Exam!!!" />
</StackPanel>
You need to ensure that the content of the label displays "New Content!!!" programmatically from the code-behind of the application window that contains the UserControl.
Which code segment should you use?
A) DependencyProperty dp =
DependencyPropercy.Register("label1",
typeof(Label), typeof(Window), new PropertyMetadata("New Content!!!"));
userControl1.CoerceValue(dp);
B) var label = userControll.FindName ("label1") as Label;
label.Content = "New Content!!!";
C) var label = userControl1.FindResource("label1") as Label;
label.Content = "New Content!!!";
D) userControl1.Content = "New Content!!!";
5. You are developing a Windows Presentation Foundation (WPF) application by using
Microsoft Visual Studio 2010.
While testing the application, you discover that a control is not positioned properly within a
canvas.
You need to view the Dependency properties of the control at run time. Which tool should you use?
A) Watch List
B) WPF Tree Visualizer
C) Locals List
D) Disassembly Window
質問と回答:
| 質問 # 1 正解: D | 質問 # 2 正解: A | 質問 # 3 正解: A | 質問 # 4 正解: B | 質問 # 5 正解: B |














1279 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
