UML Diagrams Book Store


Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams 

In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-
Q.

Consider a book store in a shopping mall. The customer selects the books from racks to purchase. Prepare a sequence diagram for bookstore checkout system. The customer brings selected books to cashier. The cashier scans each item with checkout system to prepare an order. The cashier requests to customer for payment. The customer gives credit card to cashier. The verifier and checkout system scans the card. The verifier accepts the card and payment is accepted. Customer signs the credit card slip. The purchased books are handed over to customer



Sequence Diagram for Book Store:-

Sequence Diagram for Book Store



Class Diagram for Book Store:-

Class Diagram for Book Store





UML Question in Exams:-
Q.

Consider a book store in a shopping mall. The customer selects the books from racks to purchase. Prepare a collaboration diagram for bookstore checkout system. The customer brings selected books to cashier. The cashier scans each item with checkout system to prepare an order. The cashier requests to customer for payment. The customer gives credit card to cashier. The verifier and checkout system scans the card. The verifier accepts the card and payment is accepted. Customer signs the credit card slip. The purchased books are handed over to customer.


Collaboration Diagram for Book Store:-

Collaboration Diagram for Book Store


Keep on Following this Site for More Notes, Programs and notes for Students. 
Just search the site for More of Programs and Notes for MCA

UML Diagrams for Hospital Management

Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams

CASE STUDY: Hospital Management System


Hospital management system helps in registering information about patients and handles patient’s query. A unique ID is generated for each patient after registration. This helps in implementing customer relationship management and also maintains medical history of patient. This system also monitors the doctor appointments, when the ID is generated the patient receives the appointment time and number from the receptionist and accordingly visit the doctor. This system also deals with testing appointments as and when ID is generated the patient receives the appointment time and number and accordingly undergoes the test.

It also deals with bed allotments to various patients by checking their ID. It also undergoes various operations by diagnosing the patients. The system identifies whether the person is a doctor or staff and handles various activities such as draw salary and give salary, also it adds doctor/staff information into database. This system is responsible for handling various other activities like deleting, editing doctor/staff information into the database. As per doctor diagnoses the patient, gives treatment and gives suggestions to patients and prescribe laboratory tests and medicines. This system also takes care of medical equipment, doctor visit, vitals recording, patient case sheet, diet ordering, blood requisition, transfer information and discharge information, maintenance of wards, inter and intrawards transfers also it generates patient’s discharge summary which includes patients health at the time of discharge, medical history, various diagnosis and drug prescriptions, history of patients illness and course in hospital. Patient can pay bill through credit card, cash or cheque whose information is maintained by this system.


Use Case Diagram:-
UML Use Case Diagram for Hospital Management





Activity Diagram:- Patient Payment
UML Activity Diagram for Hospital Management Patient Payment




Activity Diagram:- Setting Doctor Appointment
UML Activity Diagram for Hospital Management Doctor Appointment





Class Diagram:-
UML Class Diagram for Hospital Management





State Chart Diagram :- Patient
UML State Chart Diagram for Hospital Management Patient




State Chart Diagram :- Doctor
UML State Chart Diagram for Hospital Management Doctor




State Chart Diagram:- Receptionist
UML State Chart Diagram for Hospital Management Receptionist




Sequence Diagram:- Test Appointments
UML Sequence Diagram for Hospital Management Test Appointments



Sequence Diagram:- Bed Allotment
UML Sequence Diagram for Hospital Management Bed Allotment




Collaboration Diagram:- Test Appointments




Collaboration Diagram:- Bed Allotments
UML Collaboration Diagram for Hospital Management Bed Allotment




Component Diagram:-






Deployment Diagram:-


UML Diagrams Hotel Canteen


Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams 

In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-
Q.

The objective of the system is to automate all the activities of the canteen right from purchasing and to maintaining the kitchen. The system should maintain a detailed account of all provisions bought and food served at the canteen. Several inquiry facilities should also be provided to view expenses incurred, planned menus/cash payment. In short following are the list of facilities which should be provided with the system: list of items served with rates, daily menu preparation, daily transactions, availability of information on intranet for reports and inquiries, purchases and issues.


Use Case Diagram for Canteen/Hotel:-

Use Case Diagram for Canteen/Hotel

UML Question in Exams:-
Q.


The objective of the system is to automate all the activities of the canteen right from purchasing and to maintaining the kitchen. The system should maintain a detailed account of all provisions bought and food served at the canteen. Several inquiry facilities should also be provided to view expenses incurred, planned menus/cash payment. In short following are the list of facilities which should be provided with the system: list of items served with rates, daily menu preparation, daily transactions, availability of information on intranet for reports and inquiries, purchases and issues.Draw the class diagram based on use case approach for above description.




Class Diagram for Canteen/Hotel:-

Class Diagram for Canteen/Hotel



Keep on Following this Site for More Notes, Programs and notes for Students. 
Just search the site for More of Programs and Notes for MCA

UML Diagrams Point Of Sale Terminal

Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams

CASE STUDY: Retail Store Management System

Construct a design element for Point of sale terminal management system that can be used for buying and selling of goods in the retail shop.

When the customer arrives at the post check point with the items to purchase. The cashier records each item, price and adds the item information to the running sales transaction. The description and price of the current item are displayed. On completion of the item entry the cashier informs the sales total and tax to the customer. The customer chooses payment type (cash, cheque, credit or debit).After the payment is made the system generates a receipt and automatically updates the inventory. The cashier handovers the receipt to the customer.


USE Case Diagram:-


Use Case Diagram for Point Of Sale Terminal




Activity Diagram :-Sale Transaction




Class Diagram: 





State Chart Diagram



Sequence Diagram:-


Collaboration Diagram:- 


Deployment Diagram:-




Component Diagram:-








UML Diagrams Online Shopping DVD

Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams 



In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-
Q.

A customer decides to upgrade her PC and purchase a DVD player. She begins by calling the sales department of PC vendor and they tell her to contact customer support. She than calls customer support and they put her on hold while talking to engineering. Finally, customer support tells the customer about several supported DVD options. The customer chooses a DVD and it is shipped by the mail department. The customer receives the DVD , installs it satisfactorily and then mails her payment to accounts department. 

Activity Diagram for Online Shopping of DVD system :-

Activity Diagram Online Shopping DVD

UML Question in Exams:-
Q.


A customer decides to upgrade her PC and purchase a DVD player. She begins by calling the sales department of PC vendor and they tell her to contact customer support. She than calls customer support and they put her on hold while talking to engineering. Finally, customer support tells the customer about several supported DVD options. The customer chooses a DVD and it is shipped by the mail department. The customer receives the DVD , installs it satisfactorily and then mails her payment to accounts department. 

Class Diagram for Online Shopping of DVD system :-

Class Diagram for Online Shopping of DVD system


Sequence Diagram for Online Shopping of DVD system :-

Sequence Diagram for Online Shopping of DVD system


UML Question in Exams:-
Q.


A customer decides to upgrade her PC and purchase a DVD player. She begins by calling the sales department of PC vendor and they tell her to contact customer support. She than calls customer support and they put her on hold while talking to engineering. Finally, customer support tells the customer about several supported DVD options. The customer chooses a DVD and it is shipped by the mail department. The customer receives the DVD , installs it satisfactorily and then mails her payment to accounts department. 

Collaboration Diagram for Online Shopping of DVD system :-

Collaboration Diagram for Online Shopping of DVD system




Keep on Following this Site for More Notes, Programs and notes for Students. 
Just search the site for More of Programs and Notes for MCA

UML Diagrams Airport Boarding

Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams


CASE STUDY:- Passenger Check-In and Boarding

  • We differentiate between three options for check-in:
    • Normal check-in with luggage at a normal check-in counter
    • Expres scheck-in without luggage at a special check-in counter
    • Automated check-in without luggage at a machine
  • In addition to the passenger, who representstravelers, there is the check-in representative. The check-in representative isa person who is not the actual passenger, but an agent of the passenger. Thecheck-in representative has the task of performing the check-in with the ticketof the passenger.
  • The check-in procedure includes submitting theticket, baggage check-in, seat reservation, and issuing and handing over theboarding pass.
  • Passengers who only have hand luggage can useexpress check-in. No baggage check-in is performed.
  • During boarding, the boarding pass of thepassenger is verified at the gate.
  • Automated check-in is conducted without the helpof a check-in clerk, directly at a machine (screen). Baggage cannot bechecked in.
  • The passenger can choose between a normalcheck-in, automated check-in, and express check-in. The passenger walks to thegate and presents his or her boarding pass. The check-in representative canperform a regular check-in, but is not able to perform express check-in andautomated check-in.
  • If we take a closer look, we notice that apassenger often travels with luggage, which he or she checks in. Baggagetransportation is responsible for loading luggage into the airplane. Baggagetransportation is carried out by an independent organization, known as ahandling agent. Consequently, it is considered an actor, more specifically, anoutside service provider. It does not matter for our diagram that individualemployees of the partner enterprise perform these tasks.
  • Ten minutes before a flight leaves, baggagetransportation requests a passenger list from passenger services, whichincludes every passenger who checked in, but did not board the airplane. On thebasis of this list all affected luggage will be unloaded again from theairplane. If the flight is an international flight, the customs authorities ofthe country in which the destination airport is located also request apassenger list.


USE CASE DIAGRAM FOR
AIRPORTCHECK-IN AND BOARDING OF PASSENGERS

Use Case Diagram for Airport Case Study




SEQUENCE DIAGRAM FOR AIRPORTCHECK_IN
AND BOARDING OF PASSENGERS




COLLABORATION DIAGRAMFOR AIRPORT CHECK-IN
AND BOARDING PASSENGERS




STATE CHART DIAGRAMFOR CHECK-IN EMPLOYEE [AS OBJECT]





STATE CHART DIAGRAMFOR BOARDING EMPLOYEE
[AS OBJECT]



CLASS DIAGRAM FORAIRPORT CHECK-IN
AND BOARDING OFPASSENGERS





DEPLOYMENTDIAGRAM FOR AIRPORT CHECK-IN
ANDBOARDING OF PASSENGERS



COMPONENT DIAGRAM FOR AIRPORT CHECK-IN
AND BOARDING OF PASSENGERS










Activity Diagram for Restaurant Exam Questions


Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams 

In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-
Q.

Prepare an activity diagram for computing a restaurant bill. There should be a charge for each delivered item. The total amount should be subject to tax and service charge of 18% for groups of six or more. Any coupons charge submitted by the customer is subtracted from bill.


Activity Diagram for Generating Restaurant Bill :-

Activity Diagram for Restaurant Bill




Keep on Following this Site for More Notes, Programs and notes for Students.
Just search the site for More of Programs and Notes for MCA



UML Class Diagram for Document Editor


Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams 

In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-
Q.

Prepare a class diagram for a graphical document editor that supports grouping. Assume that a document consists of several sheets. Each sheet contains drawing objects, including text, geometrical objects and groups. A group is simply a set of drawing objects. A geometrical object includes circle, ellipse, rectangles, lines and squares.

Class Diagram for Document Editor:-


Class Diagram for Document Editor



Keep on Following this Site for More Notes, Programs and notes for Students.
Just search the site for More of Programs and Notes for MCA



UML Diagrams for Software Developer Exam Questions

Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams 

In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-
Q.

Consider the free lancing of software development. The programmers use different programming languages to develop many projects. Assume the programmer Mr.X is involved in two projects accounting system and CAD program. Mr. X is using .NET as a programming language and C Programming for accounting system. Draw the class diagram and instance diagram for above description. (Hint: Use ternary association)

Class Diagram for Software Development Programmer:-

Class diagram for Software Programmer


Object Diagram for Software Programmers:-

Object Diagram for Software Programmer






Keep on Following this Site for More Notes, Programs and notes for Students.
Just search the site for More of Programs and Notes for MCA

UML Diagram for Magazine Subscription Exam Questions

Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-
Q.

A person may have multiple magazine subscriptions. A magazine has multiple subscribers. For each subscription, it is important to track the date and amount of each payment as well as the current expiration date. Draw the class diagram for above description.

Class Diagram for Magazine Subscription

Q.

A person may have multiple magazine subscriptions. A magazine has multiple subscribers. For each subscription, it is important to track the date and amount of each payment as well as the current expiration date. Draw the class diagram with association class for above description. 

Class diagram with Association for Magazine Subscription




Keep on Following this Site for More Notes, Programs and notes for Students. 
Just search the site for More of Programs and Notes for MCA 


Vending Machine UML diagrams & Questions

Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams

In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-

Q. Consider a vending machine. Consider the processes:

  1. Buy a beverage:The vending machine delivers a beverage after a customer selects and pays for it.
  2.  Perform Scheduled Maintenance: The repair technician performs the periodic service on the vending machine necessary to keep it in good working condition.
  3. Make repairs: The repair technician performs the unexpected service on the vending machine necessary to repair a problem in its operation.
  4. Load Items: A stock clerk adds items into the vending machine to add its stock of beverages.
Create a Use Case Diagram for this Vending Machine

Use Case Diagram :-

Use Case Diagram Vending Machine


2)

The vending machine delivers a beverage after a customer selects and pays for it. The machine starts in the waiting state in which it displays the message “Enter coins”. When the customer inserts coins into the machine, the machine enters into “Ready” state. When the customer pushes the ok button, the machine goes in “Dispense” state. In this state, the machine dispenses the corresponding item. The machine goes in “Out of Stock” state if item is not loaded. Draw the state transition diagram for above description

State Transition Diagram for Vending Machine:-

State Transition Diagram for Vending Machine

1)

The vending machine delivers a beverage after a customer selects and pays for it. The machine starts in the waiting state in which it displays the message “Enter coins”. When the customer inserts coins into the machine, the machine displays total value of money entered. The customer pushes a button. The machine dispenses a corresponding item and make change, if the cost of the item is less than the money inserted. If the cost of the item is greater than money inserted, the machine shows the message as “Insufficient money”. Draw the sequence diagram for above description.

Sequence Diagram for Vending Machine:-

Sequence Diagram for Vending Machine




Keep on Following this Site for More Notes, Programs and notes for Students.
Just search the site for More of Programs and Notes for MCA

UML Diagrams for Retail Store Management

Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams

CASE STUDY: Retail Store Management System


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 then retailer places order for goods. While ordering the goods, goods area received at store, the retailer then arrange them by product or by price,then retailer makes payment. If the stock of goods is available then he will arrange goods for selling.

The retailer then sales the goods directly to the customer. The customer buys the items from retailer. The retailer preapares bill for goods purchased by the customer, he receives amount bycredit or by cash from customer. The supplier supplies the goods to the store in the system. The overall sysytem is used to manage the goods in th store.

USE Case Diagram:-

Activity Diagram :-Managing Goods
Class Diagram:


State Chart Diagram :: Order Goods





Sequence Diagram :: Managing Goods



Collaboration Diagram :: Managing Goods


Deployment Diagram:-

ComponentDiagram:-