0% found this document useful (0 votes)
11 views3 pages

Ex 6

The document outlines the aim of creating State Chart and Activity diagrams for a Calendar Scheduler Application. It describes the functionality for both normal users and admins, detailing their interactions with the system and the transitions between different states. Additionally, it explains the flow of control in the application through an Activity Diagram, illustrating the sequence of actions taken by users and admins.

Uploaded by

RAMALAKSHMI K
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)
11 views3 pages

Ex 6

The document outlines the aim of creating State Chart and Activity diagrams for a Calendar Scheduler Application. It describes the functionality for both normal users and admins, detailing their interactions with the system and the transitions between different states. Additionally, it explains the flow of control in the application through an Activity Diagram, illustrating the sequence of actions taken by users and admins.

Uploaded by

RAMALAKSHMI K
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/ 3

RAMALAKSHMI K

953622104080

Ex.No:6 Draw the relevant State Chart and Activity diagram for the Calendar Schedular
Application.
Date:

Aim:

To draw the relevant State Chart and Activity Diagram for the Calendar Schedular
Application.

State Diagram:

 A state diagram is a type of UML behavioral diagram that represents the different states an
object or system can be in.
 State Diagram shows how the system transitions from one state to another based on events
or conditions. The diagram includes initial, intermediate, and final states, along with the
actions that cause state changes.
 State Diagram are used to model the dynamic behavior of a system or object over time.
State diagrams are helpful in designing and understanding workflow and system logic.

Basic components and notations of a State diagram

Control Flow
State Diagram Description for Calendar Scheduler Application (User/Admin):

 The user/admin logs into the system using credentials.

 If the user is a normal user, they can:

o View the calendar.

o Choose between Day View or Week View.


RAMALAKSHMI K
953622104080

o Add/Edit Events and Tasks.

o Receive Notifications.

 If the user is an admin, they can:

o View all user tasks.

o Generate reports for tracking and analytics.

 The system maintains a transition of states such as:

o Login → View Calendar → Add/Edit Event → Receive Notification

o or

o Login → View User Task → Generate Report.

Activity Diagram:

 An Activity Diagram is used to illustrate the flow of control in a system and represents the
sequence of activities and decisions from the start to the end of a process.
 The following activity diagram demonstrates how a User/Admin interacts with the Calendar
Scheduler System.

Basic compenents and notations of Activity Diagram

Control Flow
RAMALAKSHMI K
953622104080

Activity Diagram for Calendar Schedular Application:

1. The User/Admin begins by launching the application and logging in.

2. If the user is a User:

o They proceed to view the calendar.

o A decision is made to either view in Day View or Week View.

o The user can then:

 Add Event

 Add Task

 Edit Event

 Edit Task

 Receive Notifications

3. If the user is an Admin:

o They can view user tasks.

o Then they can generate reports.

4. The activity ends after the user's/admin's tasks are complete.

You might also like