# rafa-riki/student-score-manager architecture

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

- Interactive diagram: https://gitdiagram.com/rafa-riki/student-score-manager
- Repository: https://github.com/rafa-riki/student-score-manager

## Overview

Student Score Manager is a single-file, interactive command-line program. The user chooses an operation, and the same loop reads input, updates an in-memory dictionary or calculates a result, then prints feedback or scores. Its add, list, lookup, remove, and average-score capabilities are all implemented directly in the menu loop. There is no persistent storage or separate service layer; the graph reflects only the behavior shown in the excerpt.

Main entry points: [`proje1.py`](https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py) (Menu Loop)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cli["Interactive CLI"]
  node_menu["Menu Loop<br/>[proje1.py]"]
end

subgraph group_records["Student Records"]
  node_add["Add Student<br/>[proje1.py]"]
  node_list["List Students<br/>[proje1.py]"]
  node_lookup["Show Score<br/>[proje1.py]"]
  node_remove["Remove Student<br/>[proje1.py]"]
  node_average["Calculate Average<br/>[proje1.py]"]
  node_student_data[("Student Dictionary<br/>[proje1.py]")]
end

node_user(("User"))

node_user -->|"chooses option"| node_menu
node_menu -->|"dispatches"| node_add
node_menu -->|"dispatches"| node_list
node_menu -->|"dispatches"| node_lookup
node_menu -->|"dispatches"| node_remove
node_menu -->|"dispatches"| node_average
node_add -->|"writes records"| node_student_data
node_list -->|"reads records"| node_student_data
node_lookup -->|"reads record"| node_student_data
node_remove -->|"deletes record"| node_student_data
node_average -->|"reads scores"| node_student_data
node_menu -->|"prints results"| node_user

click node_menu "https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py"
click node_add "https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py"
click node_list "https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py"
click node_lookup "https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py"
click node_remove "https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py"
click node_average "https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py"
click node_student_data "https://github.com/rafa-riki/student-score-manager/blob/main/proje1.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_add,node_list,node_lookup,node_remove,node_average,node_student_data toneAmber
```

## Components

### Interactive CLI

- [Menu Loop](https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py): `proje1.py`

### Student Records

- [Add Student](https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py): `proje1.py`
- [List Students](https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py): `proje1.py`
- [Show Score](https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py): `proje1.py`
- [Remove Student](https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py): `proje1.py`
- [Calculate Average](https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py): `proje1.py`
- [Student Dictionary](https://github.com/rafa-riki/student-score-manager/blob/main/proje1.py): `proje1.py`

### Other components

- **User**

## Connections

- User → Menu Loop: chooses option (evidence: `proje1.py`)
- Menu Loop → Add Student: dispatches (evidence: `proje1.py`)
- Menu Loop → List Students: dispatches (evidence: `proje1.py`)
- Menu Loop → Show Score: dispatches (evidence: `proje1.py`)
- Menu Loop → Remove Student: dispatches (evidence: `proje1.py`)
- Menu Loop → Calculate Average: dispatches (evidence: `proje1.py`)
- Add Student → Student Dictionary: writes records (evidence: `proje1.py`)
- List Students → Student Dictionary: reads records (evidence: `proje1.py`)
- Show Score → Student Dictionary: reads record (evidence: `proje1.py`)
- Remove Student → Student Dictionary: deletes record (evidence: `proje1.py`)
- Calculate Average → Student Dictionary: reads scores (evidence: `proje1.py`)
- Menu Loop → User: prints results (evidence: `proje1.py`)
