70-548CSharp MCPD Braindump
ExamSoon 70-548CSharp Exams
Microsoft PRO:Design & Develop Wdws-Based Appl by Using MS.NET Frmwk
O rder : 70-548CSharp Exam
Practice Exam: 70-548CSharp
Exam Number/Code: 70-548CSharp
Exam Name: PRO:Design & Develop Wdws-Based Appl by Using MS.NET
Frmwk
Questions and Answers: 72 Q&As
Free 70-548CSharp Braindumps
Exam : Microsoft 70-548CSharp
Title : PRO:Design & Develop Wdws-Based Appl by Using MS.NET Frmwk
1. 1 balance = balance + 3 * monthlyPayment
2.2 balance = (1 + quarterlyRate) * balance
B. 01 Declare integer variable, x
02 For x=1 to months/3
2.1 balance = balance + 2 * monthlyPayment
2.2 balance = (1 + quarterlyRate) * balance
2.3 balance = balance + monthlyPayment
C. 01 Declare integer variable, x
02 For x=1 to months
2.1 balance = balance + monthlyPayment
2.2 if x mod 3 is 0 then balance = (1 + quarterlyRate) * balance
D. 01 Declare integer variable, x
02 For x=1 to months
2.1 if x mod 3 is 0 then balance = (1 + quarterlyRate) * balance
2.2 balance = balance + monthlyPayment
Answer: D
2. You create Microsoft Windows-based applications. You are reviewing code for an application that is created for a
bank.
You find that a Microsoft Windows Form includes the following code segment.
public partial class ATMDeposit : Form {
private BankAccount account;
public ATMDeposit() {
InitializeComponent();
}
private void ATMDeposit_Load(object sender, EventArgs e) {
account = new BankAccount();
}
private void cmdDeposit_Click(object sender, EventArgs e) {
account.Deposit(decimal.Parse(txtAmount.Text));
}
}
You analyze the code segment and find that the form handles no other events.
You need to suggest changes to improve reliability.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Add an event handler for the TextChanged event for the txtAmount textbox to validate the data typed by the user.
B. Add an event handler for the Validating event for the txtAmount textbox to validate the data typed by the user.
C. Add a T