0% found this document useful (0 votes)
127 views10 pages

Assignment - 1, 20BCS008

SAS should print bills containing item details like name, code, quantity, price and total for supermarket transactions. It should track inventory levels and allow the manager to change prices. SAS should also provide sales statistics by item or date range. BAS allows customers to check book availability by title or author. If unavailable, details can be entered to request the book. It tracks inventory and sales, notifying customers when requested books arrive. BAS also generates sales reports and procurement lists for the bookshop owner. In a course registration system, professors and their lists are entity objects. The home, selection, and registration pages are boundary objects. Displaying and updating registration are control objects. In an online movie ticket booking

Uploaded by

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

Assignment - 1, 20BCS008

SAS should print bills containing item details like name, code, quantity, price and total for supermarket transactions. It should track inventory levels and allow the manager to change prices. SAS should also provide sales statistics by item or date range. BAS allows customers to check book availability by title or author. If unavailable, details can be entered to request the book. It tracks inventory and sales, notifying customers when requested books arrive. BAS also generates sales reports and procurement lists for the bookshop owner. In a course registration system, professors and their lists are entity objects. The home, selection, and registration pages are boundary objects. Displaying and updating registration are control objects. In an online movie ticket booking

Uploaded by

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

U18CSI4204T -

Software Engineering

Assignment on UML Diagrams

Name : Allwin Kenneth P


Roll Number : 20BCS008
Date : 24 - 04 - 2022
Question-1
Supermarket Automation Software (SAS)

• The manager of a supermarket wants an automation software to be


developed. The supermarket stocks a set of items. Customers pick
up their desired items from the different counters in required
quantities. The customers present these items to the sales clerk. The
sales clerk enters the code numbers of these items along with their
respective quantities/units.
• § SAS should at the end of a sales transaction print the bill
containing the serial number of the sales transaction, the name of
each item, code number, quantity, unit price, and item price. The
bill should indicate the total amount payable.
• § SAS should maintain the inventory of the various items of the
supermarket. The manager upon query should be able to see the
inventory details. In order to support inventory management, the
inventory of an item should be decreased whenever an item is sold.
SAS should also support an option by which an employee can
update the inventory whenever new supply arrives.
• § SAS should support printing the sales statistics for every item the
supermarket deals with for any particular day or for any particular
period. The sales statistics should indicate the quantity of an item
sold, the price realised, and the profit accrued.
• § The manager of the supermarket should be able to change the
price at which an item is sold as the prices of the different items may
vary on a day-to-day basis.
• Consider above scenario and do the following tasks
1) Identify functional and non functional requirements

Functional Requirements Non-Functional


Requirements
Print the total price, cost of Print the ‘thank you,
each unit, and item details. welcome’ text.
The manager should be able Time and date display in the
to change the price of software
different items.
Show the sales statistics.
Update the inventory.

2) Create Use case Diagram and Class diagram

Use Case Diagram :


Class Diagram :

————————————————————————————

Question-2
Bookshop Automation Software (BAS)

BAS should help the customers query whether a book is in stock. The
users can query the availability of a book either by using the book title
or by using the name of the author. If the book is not currently being
sold by the bookshop, then the customer is asked to enter the full
details of the book for procurement of the book by the bookshop. The
customer can also provide his e-mail address, so that he can be
intimated automatically, by the software as and when the book copies
are received. If a book is in stock, the exact number of copies
available and the rack number in which the book is located should be
displayed. If a book is not in stock, the query for the book is used to
increment a request field for the book. The manager can periodically
view the request field of the books to arrive at a rough estimate
regarding the current demand for different books. BAS should
maintain the price of various books. As soon as a customer selects his
books for purchase, the sales clerk would enter the ISBN numbers of
the books. BAS should update the stock, and generate the sales receipt
for the book. BAS should allow employees to update the inventory
whenever new supply arrives. Also upon request by the owner of the
bookshop BAS should generate sales statistics (viz., book name,
publisher, ISBN number, number of copies sold, and the sales
revenue) for any period. The sales statistics will help the owner to
know the exact business done over any period of time and also to
determine the inventory level required for various books. The
inventory level required for a book is equal to the number of copies of
the book sold over a period of one week multiplied by the average
number of weeks it takes to procure the book from its publisher.
Everyday the bookshop owner would give a command for the BAS to
print the books which have fallen below the threshold and the number
of copies to be procured along with the full address of the publisher.
————————————————————————————

Consider above scenario and do the following tasks

1) Identify functional and non-functional requirements


Functional Requirements Non - Functional
Requirements
Showing the availability of book Asking user for the genre he likes
to improve the book suggestion
Showing the book by entering it’s Color the book title in relatively
title (or) it’s author name alarming colour like red if the
request field exceeds a limit
Increase the request field if the Send a message to the user that
book is not available their book has arrived
It should generate statistics
It should show the books to be
procured to the user

2) Create Use case Diagram and Activity Diagram

Use case diagram


Activity Diagram

————————————————————————————

Question-3

Identify Entity object ,Boundary Object ,Control objects in course


registration system

Solution

Entity Object : Professor’s list

Boundary Objects : Home page, Teacher selection option, course


registration page

Control Objects : Display home page, display source registration


page, add student to the professor, grey out the professor.
ECB Diagram

————————————————————————————

Question-4

Identify Entity object ,Boundary Object ,Control objects in online


movie ticket booking system

Solution

Entity Object : list of movies, payment method


Control Object : Display search page, free seat places, transaction
control

Boundary Object : Home page, search page, seat view, payment


page

ECB Diagram

You might also like