0% found this document useful (0 votes)
185 views4 pages

University of Engineering and Technology, Taxila

The document is a lab submission for a software requirements engineering course. It includes a lab task to draw class and sequence diagrams for an electric pencil sharpener and an online bookshop. The pencil sharpener class diagram should include objects like the user, pencil, insertion point, motor and sharpening element. The sequence diagram should show messages between objects and activations. The bookshop class diagram models online customer searching a catalog, viewing book details, adding to a cart, and checkout. The sequence diagram models these interactions.

Uploaded by

Zain iqbal
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)
185 views4 pages

University of Engineering and Technology, Taxila

The document is a lab submission for a software requirements engineering course. It includes a lab task to draw class and sequence diagrams for an electric pencil sharpener and an online bookshop. The pencil sharpener class diagram should include objects like the user, pencil, insertion point, motor and sharpening element. The sequence diagram should show messages between objects and activations. The bookshop class diagram models online customer searching a catalog, viewing book details, adding to a cart, and checkout. The sequence diagram models these interactions.

Uploaded by

Zain iqbal
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/ 4

University of Engineering and Technology, Taxila

(Software Engineering Department)

Lab 13

Subject: Software Requirement Engineering

Submitted By: Zain Iqbal

Registration No: 19-SE-28

Section: Omega (Ω)

Submitted To: Ma’am RABIA ARSHAD


Lab Task

1. Draw a CLASS DIAGRAM of an electric pencil sharpener and then create a


SEQUENCE DIAGRAM that Includes the objects like the user, the pencil, the insertion
point (that is, the place where you put the pencil into the sharpener), the motor, and the
sharpening element. What messages should you include? What are the activations?
Should your diagram incorporate recursion?

2. Draw high level class and sequence diagram for Online Bookshop. Online
customer can search book catalog, view description of a selected book, add book to
shopping cart, do checkout. Sol:

Class Diagram:
Sequence Diagram:
Class Diagram:

You might also like