CASE STUDY
1. Draw Use-case diagram for Online Ordering System : In an Online Ordering System, a
customer searches for products on the company’s website. To place an order, the customer
must register and log in. When an order is placed, the system checks if the items are in stock.
The system administrator then sends a confirmation message to the customer and generates
a shipping order for the warehouse. The customer can select the shipping type. Once the
order is shipped, the customer is billed, and they proceed with the payment.
2. Draw Activity diagram for: In an Electronic Voting Machine (EVM) System, when an elector
arrives at the polling station, they present their electoral card to the station president, who
verifies if the polling station number is correct. The president then checks the identity
document, and if it is valid, they hand the elector a ballot paper. The president waits for a
voting cabin to become available before providing the elector with a pencil. Meanwhile, a
secretary signs the registry and stamps the elector’s certificate. Once the elector has voted,
they insert the ballot paper into the URM, return the pencil, and collect their identity
document.
3. Draw a Class Diagram for the following: User can register and create an account. They can
add friends and send friend requests. Users can post content such as text messages, images,
and videos. They can also view posts from their friends, as well as like and comment on
them. Additionally, users have the ability to create groups.
4. Draw a Class Diagram for the following: In a college, there are one or more courses, each
offering one or more subjects to students. A particular subject is offered by only one course.
Each course has an instructor, and an instructor can work for one or more courses. A student
can enroll in up to five subjects, while an instructor can teach up to three subjects.
5. Draw an interaction overview diagram for: We want to produce and format an order
summary report. If the customer is external, the information is retrieved from an XML file. If
the customer is internal, the information is retrieved from a database. Once the data is
obtained, the order summary report is formatted.
6. Draw a component diagram for the following data: <> : Student Loan System <> : Student
and Loan <> : Loan DB <> : persistence and security
7. Draw a State Chart diagram for: ABC Pvt. Ltd. wants to launch its advertisement campaign.
The advertisement will be prepared first. After the advertisement is approved, it will be
scheduled for publication. Once the scheduling is done, the advertisement will be published.
8. Draw a State Chart diagram for: A university provides loans to students. Before a student
receives a loan, an evaluation process is conducted to determine whether the loan will be
approved or rejected.
9. Draw a use-case diagram for a student taking admission in a college.
When a student applies for admission to a college, they contact the college for the admission
process. The student submits their details to the college. The college office staff then verifies
the student's details. The management makes a decision (either approving or rejecting the
application) and communicates the admission status to the student.
10. Draw Activity diagram:
The purchasing department handles purchase requests. The people in the company who
initiate the request are customers. A case worker receives the request and monitors it. The
case worker processes the request, writes a purchase order, and sends it to the vendor.
11. Draw a class diagram for the admission process.
In a college, there are one or more courses. Each course offers one or more subjects to the
students. A particular subject is offered by only one course. Each course has a limitation. A
student can enroll in one or more courses and can take up to five subjects. An instructor can
teach up to three subjects.
12. Draw a sequence diagram for creating an album and adding pictures, audio and video on
Facebook
13. Draw component diagram for a credit card management system.
14. Draw Interaction Diagram for Order Reporting
We want to produce and format an order summary report. If the customer is external, we
retrieve the information from XML. If the customer is internal, we retrieve the information
from the database. Once we have the data, we format the order summary report.
15. Draw a State chart diagram
ABC Pan Pvt. Ltd. wants to start its advertising campaign. The advertisement will be
prepared. After approval, it will be scheduled for publication. The advertisement will be
published once the scheduling is complete.
16. Draw a deployment diagram for web-based application.
Answer the following
1. What is modeling language and Explain its Advantages.
2. Explain Software Development process.
3. Explain Combined Fragments.
4. What is Message in sequence diagram & explain Its Types
5. What is a component in a component diagram?
6. Explain elements of a package diagram.
7. What is state in the state chart diagram also, explain its types.
8. What is the deployment diagram, explain its elements using a diagram as an
example.
9. What is Modeling Language? Explain the Software development process.
10. What is a use-case in a use-case diagram? Explain all types of relationships
in a use-case diagram.
11. Explain Combined fragments with an example
12. What is a sequence diagram? Explain message in a sequence diagram
13. What is a communication diagram and its elements?
14. What are lifeline, states, multiple compartment duration constraint and time
constraint timing diagram.
15. What is a state? Explain its types also explain the concurrent composite
state.
16. What is a deployment diagram? Explain its elements.
17. Explain degrees of UML.