Multiple Choice
Which of the following sections of code will calculate the monthly payment for a $150,000 house with a 30 year mortgage at an annual rate of 5.5%, and assign the result to dblMPay?
A) Dim dblAIntRate as Double = 5.5
Dim dblLoanAmt as Double = 150000
Dim intYears as Integer = 30
Dim dblMPay as Double
DblMPay = Pmt(dblAIntRate / 12, intYears * 12, -dblLoanAmt)
B) Dim dblAIntRate as Double = 5.5
Dim dblLoanAmt as Double = 150000
Dim intYears as Integer = 30
Dim dblMPay as Double
DblMPay = Pmt(dblAIntRate, intYears, -dblLoanAmt)
C) Dim dblAIntRate as Double = 5.5
Dim dblLoanAmt as Double = 150000
Dim intYears as Integer = 30
Dim dblMPay as Double
DblMPay = Pmt(dblAIntRate / 12, intYears, -dblLoanAmt)
D) Dim dblAIntRate as Double = 5.5
Dim dblLoanAmt as Double = 150000
Dim intYears as Integer = 30
Dim dblMPay as Double
DblMPay = Pmt(dblAIntRate, intYears * 12, -dblLoanAmt)
Correct Answer:

Verified
Correct Answer:
Verified
Q10: This method erases all the items in
Q11: A _is a loop inside another loop.<br>A)
Q12: What is the difference in the execution
Q13: All of the following are valid <b>ComboBox</b>
Q14: What is wrong with the following code?
Q16: The <b>SelectedItem</b> property of a ListBox _.<br>A)
Q17: Which standard Visual Basic function returns the
Q18: Which type of loop repeats as long
Q19: A ToolTip is a _that allows the
Q20: Which of the following controls and methods