UML Diagrams Book Store

Ram Pothuraju
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:-





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:-





Post a Comment

0Comments

Post a Comment (0)