70-547 MCPD Braindump
ExamSoon 70-547 Exams
Microsoft PRO:Design and Develop Web-Basd Apps by Using MS.NET Frmwk
O rder : 70-547 Exam
Practice Exam: 70-547
Exam Number/Code: 70-547
Exam Name: PRO:Design and Develop Web-Basd Apps by Using MS.NET Frmwk
Questions and Answers: 73 Q&As
Free 70-547 Braindumps
Exam : Microsoft 70-547
Title : PRO:Design and Develop Web-Basd Apps by Using MS.NET Frmwk
1. You create Web-based applications. You are creating an Internet banking application.
You write the following lines of code to represent a method in your application. (Line numbers are included for
reference only.)
You use the Microsoft Visual Studio 2005 test feature to automatically generate the following unit test. (Line numbers
are included for reference only.)
You need to change the test method to return a conclusive result.
Which line of code should replace the code on line 09 of the unit test?
A. Assert.AreEqual (400M, target.Balance);
B. Assert.IsTrue (target.Balance != 400M);
C. Debug.Assert (target.Balance == 400M,"passed");
D. Debug.Assert (target.Balance == 400M,"failed");
Answer: A
2. You create Web-based applications. You are creating an Internet banking application. The application will be used
by bank account holders.
You are creating a method to withdraw money from an account. The method must change the account balance
according to one of the following rules:
You are translating the specification given here into pseudo code. You start by writing the following code.
You need to insert the correct pseudo code.
Which code segment should you insert?
A. If amount < balance then balance - = amount
If amount < balance + 500 then balance = balance - (amount + 35)
If amount > balance + 500 then throw exception
B. If amount <= balance then balance - = amount
If amount <= balance + 500 then balance = balance - (amount + 35)
If amount > balance + 500 then throw exception
C. If amount < balance then balance - = amount
Else If amount < balance + 500 then balance = balance - (amount + 35)
Else throw e