Upgrade: Transition your MCPD Windows Developer Skills to MCPD Windows Developer 3
科目編號:70-566
科目名稱:Upgrade: Transition your MCPD Windows Developer Skills to MCPD Windows Developer 3
語言: 英語
考生: 開發人員
技術: 微軟Visual Studio 2008
類型: 監考考試
相關:TS
Testinside題庫價格:$ 115.00 $ 28.50
MicrosoftUpgrade: Transition your MCPD Windows Developer Skills to MCPD Windows Developer 3認證作為全球IT領域專家Microsoft熱門認證之一,是許多大中IT企業選擇人才標準的必備條件。
70-566考試概述:
This exam is for candidates who already hold a certification as an MCPD Windows Developer 2.0 and want to upgrade to the .NET Framework 3.5 version.
Questions that contain code will be presented in either VB or C#. Candidates can select one of these languages when they start the exam.
Audience Profile
Candidates for this exam work on a team in a development environment that uses Microsoft Visual Studio .NET 2008 and the Microsoft .NET Framework 3.5 to create Windows-based applications. Candidates should have at least one year of experience developing Windows-based applications by using the .NET Framework 2.0 and should be able to demonstrate the following:
a solid understanding of Windows Forms applications in the context of the.NET Framework 3.5 solution stack
experience programming against the System.Windows.Forms object model
experience creating graphical user interface applications
experience creating data-driven user interfaces (UI)
experience deploying Windows applications
Credit Toward Certification
When you pass Exam 70-566: UPGRADE: Transition your MCPD Windows Developer Skills to MCPD Windows Developer 3.5, you complete the requirements for the following certification(s):
MCPD: Windows Developer 3.5
70-566考試大綱:
Creating a UI for a Windows Forms Application by Using Standard Controls
Add and configure a Windows Forms control
Create and configure menus
Create event handlers for Windows Forms and controls.
Integrating Data in a Windows Forms Application
Implement data-bound controls
Manage connections and transactions
Create, add, delete, and edit data in a disconnected environment
Implementing Printing and Reporting Functionality in a Windows Forms Application
Manage the print process by using print dialogs
Construct print documents
Enhancing Usability
Implement globalization and localization for a Windows Forms application
Create and configure multiple-document interface (MDI) forms
Create, configure, and customize user assistance controls and components
Implementing Asynchronous Programming Techniques to Improve the User Experience
Manage a background process by using the BackgroundWorker component
Implement an asynchronous method
Deploying Windows Forms Controls
Configuring and Deploying Applications
Configure the installation of a Windows Forms application by using ClickOnce technology
Configure and work with Windows Vista User Account Control (UAC) by using ClickOnce deployments
Create a Windows Forms setup application
Configure security features in an application
Validating an application design against specifications
Analyze the technical feasibility of application design
Evaluate testing requirements
Evaluate design against available resources
Planning Data Management
Plan data access strategy
Select a data storage mechanism
Plan data caching and persistence strategy
Planning user interaction and presentation strategy
Plan data capture
Design user interface components
Design a data binding strategy
Designing security implementation
Design role-based security
Design data transmission and storage
Design authentication and authorization
Planning application deployment and maintenance
Plan for multiple component application deployment
Plan performance monitoring strategy
Plan exception management strategy
Designing the application architecture
Design n-layer architecture
Plan component reuse strategy
Plan Multi-threaded implementation and UI responsiveness
Designing for optimized performance
Plan optimized data retrieval
Design state management
Plan resource management
Exam : Microsoft 70-566
Title : Upgrade: Transition your MCPD Windows Developer Skills to MCPD Windows Developer 3
1. You are creating a Windows Forms application by using the .NET Framework 3.5.
You plan to modify a list of orders within a DataGridView control in the application.
You need to ensure that a value is required in the first column of the grid control.
Which code segment should you use?
A. Private Sub dataGridOrders_CellValidated( _
ByVal sender As Object, _
ByVal e As DataGridViewCellEventArgs) _
Handles dataGridOrders.CellValidated
If e.ColumnIndex = 0 Then
Dim cellValue = dataGridOrders(e.ColumnIndex, e.RowIndex).Value
If cellValue = Nothing _
Or String.IsNullOrEmpty(cellValue.ToString()) Then
dataGridOrders.EndEdit()
End If
End If
End Sub
B. Private Sub dataGridOrders_Validated( _
ByVal sender As Object, _
ByVal e As EventArgs) _
Handles dataGridOrders.Validated
If dataGridOrders.CurrentCell.ColumnIndex = 0 Then
Dim cellValue = dataGridOrders.Text
If cellValue = Nothing Or _
String.IsNullOrEmpty(cellValue.ToString()) Then
dataGridOrders.EndEdit()
End If
End If
End Sub
C. Private Sub dataGridOrders_Validating( _
ByVal sender As Object, _
ByVal e As CancelEventArgs) _
Handles dataGridOrders.Validating
If dataGridOrders.CurrentCell.ColumnIndex = 0 Then
Dim cellValue = dataGridOrders.Text
If cellValue = Nothing Or _
String.IsNullOrEmpty(cellValue.ToString()) Then
e.Cancel = True
End If
End If
End Sub
D. Private Sub dataGridOrders_CellValidating( _
ByVal sender As Object, _
ByVal e As DataGridViewCellValidatingEventArgs) _
Handles dataGridOrders.CellValidating
If e.ColumnIndex = 0 Then
If e.FormattedValue = Nothing _
Or String.IsNullOrEmpty(e.FormattedValue.ToString()) Then
e.Cancel = True
End If
End If
End Sub
Answer: D
2. You are creating a Windows Forms application by using the .NET Framework 3.5.
You write the following code segment to update multiple databases on a SQL Server 2008 database. (Line numbers
are included for reference only.)
01 Dim connectionStringCustomer As String = “Data
Source=CUSTOMER;Integrated Security = SSPI;”
02 Dim connectionStringOrders As String = “Data
Source=ORDER;Integrated Security = SSPI;”
03 Dim cmdCustomer As SqlCommand = New SqlCommand()
04 Dim cmdOrders As SqlCommand = New SqlCommand()
05 Dim cnnCustomer As SqlConnection = New
SqlConnection(connectionStringCustomer)
06 Dim cnnOrders As SqlConnection = New
SqlConnection(connectionStringOrders)
07
You need to ensure that all database updates are included in a single distributed transaction.
Which code fragment should you add at line 07?
A. cnnCustomer.Open()
cnnOrders.Open()
&
cmdOrders.ExecuteNonQuery()
&
cmdCustomer.ExecuteNonQuery()
cnnOrders.Close()
cnnCustomer.Close()
B. Dim scope As TransactionScope = New TransactionScope()
cnnCustomer.Open()
cnnOrders.Open()
&
cmdOrders.ExecuteNonQuery()
&
cmdCustomer.ExecuteNonQuery()
cnnOrders.Close()
cnnCustomer.Close()
scope.Complete();
C. Using customerScope = New TransactionScope()
cnnCustomer.Open()
&
cmdCustomer.ExecuteNonQuery()
cnnCustomer.Close()
customerScope.Complete()
End Using
Using ordersScope = New TransactionScope()
cnnOrders.Open()
&
cmdOrders.ExecuteNonQuery()
cnnOrders.Close()
?ordersScope.Complete()
End Using
D. Try
cmdOrders.Transaction = cnnOrders.BeginTransaction()
cmdOrders.ExecuteNonQuery()
&
cmdCustomer.Transaction = cnnCustomer.BeginTransaction()
cmdCustomer.ExecuteNonQuery()
&
cmdCustomer.Transaction.Commit()
cmdOrders.Transaction.Commit()
Catch ex As Exception
cmdCustomer.Transaction.Rollback()
cmdCustomer.Transaction.Rollback()
End Try
Answer: B