0% found this document useful (0 votes)
44 views28 pages

ADvance Sftware Engin.

The document describes various UML diagrams for different systems including an ATM machine, microwave oven, railway reservation system, banking system, student admission system, library management system, and online book shop. UML diagrams include use case diagrams, sequence diagrams, class diagrams, object diagrams, activity diagrams, state chart diagrams, component diagrams, and deployment diagrams.

Uploaded by

riyasainwal123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views28 pages

ADvance Sftware Engin.

The document describes various UML diagrams for different systems including an ATM machine, microwave oven, railway reservation system, banking system, student admission system, library management system, and online book shop. UML diagrams include use case diagrams, sequence diagrams, class diagrams, object diagrams, activity diagrams, state chart diagrams, component diagrams, and deployment diagrams.

Uploaded by

riyasainwal123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 28

SHRI GURU RAM RAI UNIVERSITY

PRACTICAL FILE
BCA-DSE5.1
Advance Software Engineering

Course :- BCA
Semester :- 6th
(School of CA & IT)

Submitted by:- Submitted to:-


Name: Mrs. Meenakshi Bisht
Name: Riya Sainwal
Designation: Associate Professor
Enrollment No.: R210529052
INDEX
S.no. Title Pg No.
1. Case study and use case diagram of ATM Machine. 3-6

2. Sequence diagram of Microwave Oven. 7-8

3. Use Case diagram of Railway Reservation System. 9

4. Object diagram and class diagram of Banking system. 10

5. Activity diagram of account opening system. 11-12

6. Sequence diagram of account opening system. 13

7. State chart diagram of Student admission in University. 14

8. UML diagram of Library management system. 15-21

9. UML diagram of online book shop. 22-29


Q1. Write the Case study and Use case diagram of ATM Machine.

Ans. Case Study : ATM Machine

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.

Bank ATM Transactions and Customer Authentication Use Cases Example.


Customer may need some help from the ATM. ATM Transaction use case is extended via
extension point called menu by the ATM Help use case whenever ATM Transaction is at the
location specified by the menu and the bank customer requests help, e.g. by selecting Help menu
item.

Bank ATM Maintenance, Repair, Diagnostics Use Cases Example.

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.

Here's a simplified sequence diagram for a microwave oven:


1. User Interaction:
 The user interacts with the microwave control panel by pressing buttons to set the
cooking time and power level.
 The control panel sends signals corresponding to the user input to the microwave
internals.

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.

6. User Interaction (END):


 The user opens the microwave door to retrieve the cooked food.
 The microwave internals deactivate the magnetron and reset any parameters for
the next use.
Sequence diagram of Microwave oven
Q3. Use case diagram of Railway reservation system.
Ans.
Q4. Object diagram and Class diagram of Banking System.

Ans. Object Diagram of Banking System:-

Class Diagram of Banking System:-


Q5. Activity diagram of account opening system.
This diagram represents the sequential flow of activities in the account opening system:

1. Start Process: The system initiates the account opening process.

2. Gather Information: Relevant information such as personal details, identification

documents, and contact information are collected from the user.

3. Verify Information: The collected information is verified for accuracy and validity,

typically through automated checks or manual review.

4. Create Account: If the information passes verification, the system creates a new account

for the user.

5. Provide Confirmation: The user is provided with confirmation that their account has

been successfully opened.

6. End Process: The account opening process is concluded.


Q6. Sequence diagram of Account Opening System.

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.

Ans. Use case Diagram:


Class Diagram:
Sequence Diagram:
Collaboration Diagram:
State Chart diagram:
Activity Diagram:
Deployment Diagram:
Q9. UML diagram of Online Book Shop.

Ans. Class diagram:

Use Case Diagram:


Sequence Diagram:
Collaboration Diagram:
State Chart Diagram:
Activity Diagram:
Component Diagram:

Component diagram business classes

Component diagram view classes

Component diagram data access classes


Deployment Diagram:

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy