SDF-II Lab Eval-2
SDF-II Lab Eval-2
EVEN 2025
Q1 [8 Marks]: Refer to the UML diagram given below (University Management system) and
write a code in C++ to model relationships (aggregation, association) and Inheritance amongst
different classes above.
Q2[7 Marks]: Write a C++ program to implement an Advanced Banking System with the
following functionalities:
• The system should support multiple bank accounts, where each account has:
o Account holder’s name, unique account number, balance, and account type
(Savings or Current).
• The system should allow customers to:
o Deposit and withdraw money.
o Transfer money between accounts.
o Check account balance and transaction history.
• Implement an interest system where:
o Savings accounts accrue interest at a fixed rate periodically.
o Current accounts do not accrue interest but allow overdrafts up to a limit.
• Implement a loan system where:
o Customers can apply for a loan, specifying the amount and repayment period.
o The system checks if the customer is eligible based on their balance and account
type.
o Loan details (amount, interest rate, and monthly installment) are stored and
displayed.
• Provide functionality for admin actions, including:
o Displaying all registered accounts.
o Displaying loan details of all customers.