Download








PRACTICAL NO:- 01(A) Study and implementation of Use Case Diagrams.


AIM:-Draw a use-case diagram using StarUML for the “ATM Bank” explained below.

Customers use a 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 to the ATM



C:\Users\ADMIN\Downloads\image (1).png



PRACTICAL NO:- 01(B) Study and implementation of Use Case Diagrams.


AIM:-Draw a use-case diagram using StarUML for the “Hospital Reception Subsystem” explained below:

“Hospital Reception Subsystem” supports some of the many job duties of hospital

receptionists. Receptionists schedule patient’s appointments with the doctor and also schedule patient hospital admission. If a doctor is available and admission to the hospital is possible then the receptionist can extend the service to patient registration by collecting the patient information on patient arrival or over the phone. Patient registration is an integral part of patient Hospital Administration usecase. Hospital administration usecase is further generalized into outpatient hospital admission and inpatient hospital administration. Note that for the patient that will stay in the hospital, he or she should have a bed allotted in a ward. Receptionists might also receive patient’s payments, record the min a database and provide receipts, file insurance claims and medical.







PRACTICAL NO.02. (A) CLASS DIAGRAM


AIM:- Draw a class diagram using StarUML for the scenario given below.

This is an example that models University Courses. Assume three classes’ such as course, lecturer, student and an interface person. Each course object maintains a list of students on that course and lecturer who has been assigned to teach that course. The course object has behavior that allows adding and removing students to and from the course, assigning the teacher and getting a list of currently assigned student and currently assigned teacher. A teacher may teach several courses but a course only has a single teacher.A lecturer object maintains a list of courses that it teaches taught_courses(), course is attended by 0 or more student and student may attend multiple courses. A person interface will have getName() and getEmailAddress() methods both lecturer and student are shown to be the type of person.








PRACTICAL NO.02.(B).(COMPANIES REPORTING SYSTEM)

AIM:-Draw a class diagram using StarUML for the scenario given below.

This scenario is from a system that models companies for a payroll or reporting system. Company object has properties such as name and employees_list and getName() and getEmployees() as its behavior. Employee object includes employee no, name, salary and manager as its properties getName(), getEmplyoeeNo(), getSalary() getManager() as its methods. getManager() accepts the object of manager. Company may have one or more employees. A manager object keeps managers as list property and addTeamMember(employee_list) and getTeamMember() as its behaviors. One or more employees can be managed by manager objects. Some employees are contractual employees who are within a lieu of a contractor object.






PRACTICAL NO.03(A).ENTITY RELATIONSHIP DIAGRAM AIM:-

  1. Draw an ER diagram for the given scenario of buying an article.

Entities: Article, Source, Order, Copyright Agency, Country, Buyer Attributes:

Article: Title(PK),authors, pdf file, fee

Source: Title(PK), publisher, issue, date, pages

Order: Order number(PK), total payment, date, tax status Copyright Agency: name, address

Country: copyright from, taxrate ,CopyRight_ID Buyer: name, address, email(PK), billing info

Following relationships are to be set:

  1. Article is published in source. Many articles can be published in many sources.

  2. The buyer places an order. He can place zero or more orders.

  3. Orders deliver articles. One article can be delivered in many orders and one order can deliver many articles as well.

  4. Source pays fees to the Copyright agency for every article published.

  5. Every country has a single source of publication.

OUTPUT:-



  1. Construct a clean and concise ER diagram for the National Hockey League (NHL) database

  • Team: Attributes include Name (primary key), City, and Coach.

  • Player: Attributes include Player Name (primary key), Position, and Skill Level.

  • Game: Attributes include Game Date (partial key with teams), Score, Host Team, and Guest Team.

  • Injury Record: Attributes include Injury Date, Description, and Severity. This is a weak entity, dependent on the Player entity.

Team, Player, Injury, and Game are main entities.

  • One team has many players.

  • A player belongs to only one team.

  • A player can have many injury records.

  • A captain is a player of the team.

  • Each game is played between two teams (host and guest).

OUTPUT:-







ChatGPT Image Mar 22, 2026, 04_49_10 PM



PRACTICAL NO.03(B).



  1. Construct a clean and concise ER diagram for the National Hockey League (NHL) database

  • Team: Attributes include Name (primary key), City, and Coach.

  • Player: Attributes include Player Name (primary key), Position, and Skill Level.

  • Game: Attributes include Game Date (partial key with teams), Score, Host Team, and Guest Team.

  • Injury Record: Attributes include Injury Date, Description, and Severity. This is a weak entity, dependent on the Player entity.

Team, Player, Injury, and Game are main entities.

  • One team has many players.

  • A player belongs to only one team.

  • A player can have many injury records.

  • A captain is a player of the team.

  • Each game is played between two teams (host and guest).



ChatGPT Image Mar 22, 2026, 04_55_17 PM




PRACTICAL NO.04(A).SEQUENCE DIAGRAM ONLINE BOOK SHOPING

AIM:-Construct a high level sequence diagram for an online bookshop. Online customers can search a book catalog, view the description of a selected book, add the book to the shopping cart, or checkout


OUTPUT







PRACTICAL N0.04(B). SEQUENCE DIAGRAM ATM AIM:-

  1. The sequence of actions when a user wishes to withdraw cash from an automated teller machine (ATM). You should read a sequence diagram from top to bottom to see the order of the actions that take place. there are three basic sub-sequences:


  • Validate card: The user’s card is validated by checking the card number and user’s PIN.


  • Handle request: The user's request is handled by the system. For a withdrawal, the database must be queried to check the user's balance and to debit the amount withdrawn. Notice the exception here if the requestor does not have enough money in their account.


  • Complete transaction: The user’s card is returned and, when it is removed, the cash and receipt are delivered.




OUTPUT:-













PRACTICAL NO.05(A) STATE ACTIVITY DIAGRAM


  1. Following is an illustration for the State Chart diagram of a coffee brewing machine.


  1. Once the machine is turned ON, it starts to heat the water.



  1. You then need to place a coffee pod in the pod holder.



  1. We need to select the brew size and after which the water output is adjusted and coffee is brewed. Finally the coffee brew is complete.






OUTPUT:-



ChatGPT Image Mar 22, 2026, 05_03_32 PM

























PRACTICAL NO.05.(B) State transition diagram for the Airport check-in process.


AIM:-Draw a state transition diagram for the Airport check-in process. The ticket

reservation verification is done for the passenger at the entry level at the airport. If there is any issue about the reservation then the passenger will be sent to the travel agency for

resolving the query. If the ticket is valid then according to the preferences of the

passenger’s ticket boarding pass gets printed and given to the passenger. At the same time the passenger’s baggage is also checked and its receipt is given to the passenger. The

passenger after completing this check-in can proceed for the tour. The passenger`s details were also forwarded to the travel agency for record.



ChatGPT Image Mar 22, 2026, 05_07_32 PM




OUTPUT:-



Practical No.06.(A) ACTIVITY DIAGRAM

AIM:-Draw an Activity Diagram for the ATM Withdrawal System using StarUML to represent the sequence of actions involved in a cash withdrawal transaction.

Thediagram should include activities such as inserting the ATM card, entering andverifying the PIN, displaying the transaction menu, selecting the withdrawal option,entering the withdrawal amount, and checking account balance. Use decision nodes to show PIN validation and balance sufficiency. If the PIN is valid and sufficient balance is available, the system should deduct the amount, dispense cash, print a receipt, and eject the card. If the PIN is invalid or the balance is insufficient, display an error message and end the transaction.


OUTPUT:-







ChatGPT Image Mar 22, 2026, 05_14_42 PM













PRACTICAL NO.06(B) AIM:-


The Retail Store Management System is a system designed for managing i.e. For ordering, arranging and selling goods.

The Retailer checks for the availability of goods in the store. If the stock of goods is less than retailers place orders for goods. While ordering the goods, the goods are received at the store, the retailer then arranges them by product or by price, and then retailer makes payment. If the stock of goods is available then he will arrange goods for selling.

The retailer then sells the goods directly to the customer. The customer buys the items from the retailer. The retailer prepares a bill for goods purchased by the customer, he receives the amount by credit or by cash from the customer. The supplier supplies the goods to the store in the system. The overall system is used to manage the goods in the store.



OUTPUT:-



ChatGPT Image Mar 22, 2026, 08_57_12 PM




PRACTICAL NO.7(A)Draw a Data Flow Diagram for the following case:

AIM:

Video-Rental LTD case study Video-Rental LTD is a small video rental store. The store lends videos to customers for a fee, and purchases its videos from a local supplier. A customer wishing to borrow a video provides the empty box of the video they desire, their membership card, and paymentpayment is always with the credit card used to open the customer account.

The customer then returns the video to the store after watching it. If a loaned video is overdue by a day the customer's credit card is charged, and a reminder letter is sent to them. Each day after that a further card is made, and each week a reminder letter is sent. This continues until either the customer returns the video, or the charges are equal to the cost of replacing the video.

New customers fill out a form with their personal details and credit card details, and the counter staff gives the new customer a membership card. Each new customer's form is added to the customer file. The local video supplier sends a list of available titles to Video-Rental LTD, who decide whether to send them an order and payment. If an order is sent then the supplier sends the requested videos to the store. For each new video a new stock form is completed and placed in the stock file.

OUTPUT:-




image (3)






7(B)Draw a Data Flow Diagram for the following case: Estate Agency


Draw a Data Flow Diagram for the following case: Estate Agency

  • Estate Agency case study Clients wishing to put their property on the market visit the estate agent, who will take details of their house, flat or bungalow and enter them on a card which is filed according to the area, price range and type of property.


  • Potential buyers complete a similar type of card which is filed by buyer name in an A4 binder.


  • Weekly, the estate agent matches the potential buyer's requirements with the available properties and sends them the details of selected properties.


  • When a sale is completed, the buyer confirms that the contracts have been exchanged, client(seller) details are removed from the property file, and an invoice is sent to the client.


  • The client receives the top copy of a three part set, with the other two copies being filed. On receipt of the payment the invoice copies are stamped and archived.


  • Invoices are checked on a monthly basis and for those accounts not settled within two months a reminder (the third copy of the invoice) is sent to the client.




OUTPUT:-



ChatGPT Image Mar 22, 2026, 09_08_15 PM