UNIVERSITY OF MAKATI
J.P. Rizal Extension, West Rembo, Makati City
College of Computing and Information Sciences
LABORATORY ACTIVITY # 5
OOPROGR using C#
Date: _________________
Class: ________________
Name: ________________________________ Student No.: ___________________ Score:
Name: ________________________________ Student No.: ___________________
GENERAL INSTRUCTIONS: Read and understand the Machine Problem and give the needed requirements. Filename:
Surname1_Surname2_LABACT5.rar
PROGRAMMING TASK
GUI Design:
Properties settings:
Control Name Text Property
Label lblPrincipal Principal:
lblIntRate Annual Interest Rate (%):
lblTerm Term (Years):
lblPayment Monthly Payment:
Button btnCalculate Calculate Payment
btnExit Exit
btnClear Clear
TextBox txtPrincipal
txtIntRate
txtTerm
txtMonthlyPayment ReadOnly: True
Form frmLoanCalcu Loan Calculator Program
Instructions:
1) Give the source code to make this program run.
2) Set the Tab Order in proper sequence.
3) Set the Hotkey as shortcuts using ALT button in the keyboard for 3 buttons.
4) Use this formula:
where n is number of months, and i is the interest rate per month in decimal form
Test Case 1: Test Case 2:
Principal: 10,000 Principal: 550,000
Annual Interest Rate (%): 3 Annual Interest Rate (%): 1.25
Term (Years): 5 Term (Years): 7
Monthly Payment: 179.69 Monthly Payment: 6,841.66
SCORING RUBRIC
(Encircle the score that reflects the actual accomplishment)
Criteria Rating Scale Remarks
5 – Complete
A. Adherence to all requirements
2- Incomplete
10 – Perfect
4 – Running but has serious problems (on computation and
B. Correctness of the program output
validation)
1 – Not Running