ADvance Sftware Engin.
ADvance Sftware Engin.
PRACTICAL FILE
BCA-DSE5.1
Advance Software Engineering
Course :- BCA
Semester :- 6th
(School of CA & IT)
Introduction:-
An Automated Teller Machine (ATM) is a convenient and widely used banking service that
allows customers to perform various financial transactions without the need for human
intervention. This case study focuses on the use case diagram for an ATM machine, illustrating
the interactions between users and the system.
An automated teller machine (ATM) or the automatic banking machine (ABM) is a banking
subsystem (subject) that provides bank customers with access to financial transactions in a public
space without the need for a cashier, clerk, or bank teller.
Actors:
1. Customer: The primary actor who interacts with the ATM to perform transactions.
2. Bank: The entity responsible for managing the ATM system and maintaining the
accounts of customers.
3. Cash Dispenser: A device within the ATM responsible for dispensing cash to customers.
Use Cases:
1. Login: The customer inserts their bank card and enters their Personal Identification
Number (PIN) to authenticate themselves.
2. Withdraw Cash: The customer selects the option to withdraw cash, specifies the
amount, and confirms the transaction.
3. Deposit Cash: The customer chooses the option to deposit cash, inserts the cash into the
ATM, and confirms the deposit.
4. Check Balance: The customer requests to check the balance of their account.
5. Change PIN: The customer selects the option to change their PIN and provides a new
PIN.
6. Transfer Funds: The customer initiates a transfer of funds between accounts, specifying
the recipient account and the amount.
7. Print Receipt: The customer requests a printed receipt for their transaction.
8. View Transaction History: The customer requests to view their transaction history.
Customer (actor) uses bank ATM to Check Balances of his/her bank accounts, Deposit Funds,
Withdraw Cash and/or Transfer Funds (use cases). ATM Technician provides Maintenance and
Repairs. All these use cases also involve Bank actor whether it is related to customer transactions
or to the ATM servicing.
An example of use case diagram for Bank ATM subsystem - top level use cases.
On most bank ATMs, the customer is authenticated by inserting a plastic ATM card and entering
a personal identification number (PIN). Customer Authentication use case is required for every
ATM transaction so we show it as include relationship. Including this use case as well as
transaction generalizations make the ATM Transaction an abstract use case.
ATM Technician maintains or repairs Bank ATM. Maintenance use case includes Replenishing
ATM with cash, ink or printer paper, Upgrades of hardware, firmware or software, and remote or
on-site Diagnostics. Diagnostics is also included in (shared with) Repair use case.
Q2. Draw a Sequence diagram of Microwave oven.
Ans. A sequence diagram shows the interactions between objects in a particular scenario. In the
case of a microwave oven, the objects involved might include the user, the microwave control
panel, the microwave internals (like the magnetron), and possibly other devices like sensors or
timers.
2. Microwave Initialization:
The microwave internals receive the signals from the control panel and initialize
the cooking process.
This might involve setting up the timer, power level, and other parameters based
on the user input.
3. Cooking Process:
The microwave internals activate the magnetron to generate microwave radiation.
The radiation heats the food placed inside the microwave.
4. Timer Monitoring:
Throughout the cooking process, the timer is monitored by the microwave
internals.
Once the set time elapses, the microwave stops the cooking process.
5. End of cooking:
The microwave signals the control panel that the cooking process is complete.
The control panel may emit a beep or other notification to alert the user.
3. Verify Information: The collected information is verified for accuracy and validity,
4. Create Account: If the information passes verification, the system creates a new account
5. Provide Confirmation: The user is provided with confirmation that their account has
This sequence diagram provides a high-level overview of the interactions between the various
components involved in the account opening process. Depending on the specific requirements
and design of the system, the diagram may include more detailed interactions and additional
components.
Q7. State chart diagram Student admission system in University.
give application
collect
requirements
submit
requirements
get schedule
ok
take form
give exam
submit form
take result
schedule for
pay fee exam
take interview
take receipt
interview
taking receipt
Q8. UML diagram of Library management system.