0% found this document useful (0 votes)
720 views

UML Diagrams - Assignment

The document contains theory and practical questions related to various modeling techniques used in software engineering. The theory questions cover use case diagrams, sequence diagrams, state diagrams, activity diagrams, and class diagrams. The practical questions ask to apply each modeling technique to design real-world systems, such as an online food ordering system, traffic light system, bookstore inventory, and flight booking system.

Uploaded by

Sushank Shrestha
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)
720 views

UML Diagrams - Assignment

The document contains theory and practical questions related to various modeling techniques used in software engineering. The theory questions cover use case diagrams, sequence diagrams, state diagrams, activity diagrams, and class diagrams. The practical questions ask to apply each modeling technique to design real-world systems, such as an online food ordering system, traffic light system, bookstore inventory, and flight booking system.

Uploaded by

Sushank Shrestha
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/ 2

Theory Questions:

Use Case Diagrams:


1. What is a use case diagram and what is its purpose?
2. What are actors in a use case diagram and how are they represented?
3. How do you identify use cases and actors in a given system?
4. What is the relationship between use cases and actors in a use case diagram?
5. How can you use a use case diagram to identify system requirements?
Sequence Diagrams:
1. What is a sequence diagram and what is its purpose?
2. How do you represent objects, messages, and lifelines in a sequence diagram?
3. What is the difference between synchronous and asynchronous messages?
4. How can you use a sequence diagram to model the flow of a system?
5. What are the benefits of using a sequence diagram to design a system?
State Diagrams:
1. What is a state diagram and what is its purpose?
2. How do you represent states, transitions, and events in a state diagram?
3. What is the difference between a simple state and a composite state?
4. How can you use a state diagram to model the behavior of a system?
5. What are the benefits of using a state diagram to design a system?
Activity Diagrams:
1. What is an activity diagram and what is its purpose?
2. How do you represent actions, decisions, and control flow in an activity diagram?
3. What is the difference between an activity and a sub activity?
4. How can you use an activity diagram to model the flow of a system?
5. What are the benefits of using an activity diagram to design a system?
Class Diagrams:
1. What is a class diagram and what is its purpose?
2. How do you represent classes, attributes, and methods in a class diagram?
3. What is the difference between an association and an aggregation?
4. How can you use a class diagram to model the structure of a system?
5. What are the benefits of using a class diagram to design a system?
Practical Questions (Design Questions):
Use Case Diagrams:
1. Create a use case diagram for a system that allows users to order food online.
2. Develop a use case diagram for a library management system.
3. Develop a use case diagram for a ticket reservation system for a cinema.
Sequence Diagrams:
1. Create a sequence diagram for a login process in a mobile or web application.
2. Create a sequence diagram for a system that alerts a user when a new email arrives.
3. Develop a sequence diagram for a simple banking system that allows users to transfer
money.
State Diagrams:
1. Create a state diagram for a traffic light system.
2. Develop a state diagram for a system that tracks the status of a product during shipment.
3. Describe the states and events involved in a process for booking a movie ticket online.
Activity Diagrams:
1. Create an activity diagram for a process of purchasing an item online.
2. Create an activity diagram for a system that helps users book a hotel room online.
3. Develop an activity diagram for a system that manages a user's calendar.
4. Describe the activities involved in a process of ordering a pizza using a mobile
application.
Class Diagrams:
1. Create a class diagram for a system that manages inventory for a bookstore.
2. Develop a class diagram for a system that tracks employee attendance.
3. Create a class diagram for a system that manages student enrollment in a university.
4. Develop a class diagram for a system that helps users search for flights and book tickets.

You might also like