# harshverma21348-dot/student-management-system architecture

> Architecture diagram of the GitHub repository harshverma21348-dot/student-management-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/harshverma21348-dot/student-management-system
- Repository: https://github.com/harshverma21348-dot/student-management-system

## Overview

This is a small terminal-based student management program. A user selects an operation from its menu; the single runtime module reads input, performs the chosen CRUD operation against an in-memory list of student dictionaries, and prints a result. The menu loop is the dispatch layer, while add, view, search, update, and delete are distinct domain actions implemented in the same file. The README also documents these capabilities. The program has no persistent storage or external integrations.

Main entry points: [`student_management_system.py`](https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py) (Menu loop)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Terminal application"]
  node_menu["Menu loop"]
end

subgraph group_records["Student records"]
  node_records[("Student list")]
  node_add["Add student"]
  node_view["View students"]
  node_search["Search student"]
  node_update["Update marks"]
  node_delete["Delete student"]
end

node_user(("Terminal user"))

node_user -->|"selects option"| node_menu
node_menu -->|"prompts and displays"| node_user
node_menu -->|"dispatches"| node_add
node_menu -->|"dispatches"| node_view
node_menu -->|"dispatches"| node_search
node_menu -->|"dispatches"| node_update
node_menu -->|"dispatches"| node_delete
node_add -->|"appends record"| node_records
node_view -->|"reads records"| node_records
node_search -->|"searches records"| node_records
node_update -->|"updates marks"| node_records
node_delete -->|"removes record"| node_records

click node_menu "https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py"
click node_records "https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py"
click node_add "https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py"
click node_view "https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py"
click node_search "https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py"
click node_update "https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py"
click node_delete "https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_menu,node_user toneBlue
class node_records,node_add,node_view,node_search,node_update,node_delete toneAmber
```

## Components

### Terminal application

- [Menu loop](https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py): `student_management_system.py`

### Student records

- [Student list](https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py): `student_management_system.py`
- [Add student](https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py): `student_management_system.py`
- [View students](https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py): `student_management_system.py`
- [Search student](https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py): `student_management_system.py`
- [Update marks](https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py): `student_management_system.py`
- [Delete student](https://github.com/harshverma21348-dot/student-management-system/blob/main/student_management_system.py): `student_management_system.py`

### Other components

- **Terminal user**

## Connections

- Terminal user → Menu loop: selects option (evidence: `student_management_system.py`)
- Menu loop → Terminal user: prompts and displays (evidence: `student_management_system.py`)
- Menu loop → Add student: dispatches (evidence: `student_management_system.py`)
- Menu loop → View students: dispatches (evidence: `student_management_system.py`)
- Menu loop → Search student: dispatches (evidence: `student_management_system.py`)
- Menu loop → Update marks: dispatches (evidence: `student_management_system.py`)
- Menu loop → Delete student: dispatches (evidence: `student_management_system.py`)
- Add student → Student list: appends record (evidence: `student_management_system.py`)
- View students → Student list: reads records (evidence: `student_management_system.py`)
- Search student → Student list: searches records (evidence: `student_management_system.py`)
- Update marks → Student list: updates marks (evidence: `student_management_system.py`)
- Delete student → Student list: removes record (evidence: `student_management_system.py`)
