# rzhyv/dsa-_1st_sem_2nd_year architecture

> Architecture diagram of the GitHub repository rzhyv/dsa-_1st_sem_2nd_year, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rzhyv/dsa-_1st_sem_2nd_year
- Repository: https://github.com/rzhyv/dsa-_1st_sem_2nd_year

## Overview

This repository contains three independent interactive console programs: a student-record manager, an integer-list manager, and a binary-tree demo. Each takes menu input and performs its own operations; the first two store records in fixed-size arrays, while the tree demo builds and traverses a binary tree. The source excerpts show each program’s internal calls, but there is no README describing broader capabilities or relationships.

Main entry points: [`Act_2.c`](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c) (Record operations), [`ppt_code.c`](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c) (List operations), [`MP5.cpp`](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp) (Tree operations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_students["Student Records"]
  node_student_main["Program loop<br/>[Act_2.c]"]
  node_student_menu["Menu input<br/>[Act_2.c]"]
  node_student_records["Record operations<br/>[Act_2.c]"]
  node_student_helpers["Capacity and lookup<br/>[Act_2.c]"]
  node_student_store["Student arrays<br/>[Act_2.c]"]
end

subgraph group_integer_list["Integer List"]
  node_list_main["Program loop<br/>[ppt_code.c]"]
  node_list_menu["Menu input<br/>[ppt_code.c]"]
  node_list_operations["List operations<br/>[ppt_code.c]"]
  node_list_helpers["Capacity and lookup<br/>[ppt_code.c]"]
  node_list_store["Integer array<br/>[ppt_code.c]"]
end

subgraph group_tree_demo["Binary Tree Demo"]
  node_tree_main["Program loop<br/>[MP5.cpp]"]
  node_tree_menu["Menu input<br/>[MP5.cpp]"]
  node_tree_operations["Tree operations<br/>[MP5.cpp]"]
  node_tree_queue["Queue operations<br/>[MP5.cpp]"]
  node_tree_nodes["Tree nodes<br/>[MP5.cpp]"]
end

node_student_user(("Console user"))
node_list_user(("Console user"))
node_tree_user(("Console user"))

node_student_user -->|"enters choices"| node_student_menu
node_student_main -->|"calls"| node_student_menu
node_student_main -->|"dispatches"| node_student_records
node_student_records -->|"checks and locates"| node_student_helpers
node_student_records -->|"reads and writes"| node_student_store
node_list_user -->|"enters choices"| node_list_menu
node_list_main -->|"calls"| node_list_menu
node_list_main -->|"dispatches"| node_list_operations
node_list_operations -->|"checks and locates"| node_list_helpers
node_list_operations -->|"reads and writes"| node_list_store
node_tree_user -->|"enters choices"| node_tree_menu
node_tree_main -->|"calls"| node_tree_menu
node_tree_main -->|"dispatches"| node_tree_operations
node_tree_operations -->|"uses"| node_tree_queue
node_tree_operations -->|"reads and links"| node_tree_nodes

click node_student_main "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c"
click node_student_menu "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c"
click node_student_records "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c"
click node_student_helpers "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c"
click node_student_store "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c"
click node_list_main "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c"
click node_list_menu "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c"
click node_list_operations "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c"
click node_list_helpers "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c"
click node_list_store "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c"
click node_tree_main "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp"
click node_tree_menu "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp"
click node_tree_operations "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp"
click node_tree_queue "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp"
click node_tree_nodes "https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp"

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_student_main,node_student_menu,node_student_records,node_student_helpers,node_student_store,node_student_user,node_list_user,node_tree_user toneBlue
class node_list_main,node_list_menu,node_list_operations,node_list_helpers,node_list_store toneAmber
class node_tree_main,node_tree_menu,node_tree_operations,node_tree_queue,node_tree_nodes toneMint
```

## Components

### Student Records

- [Program loop](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c): `Act_2.c`
- [Menu input](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c): `Act_2.c`
- [Record operations](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c): `Act_2.c`
- [Capacity and lookup](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c): `Act_2.c`
- [Student arrays](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/Act_2.c): `Act_2.c`

### Integer List

- [Program loop](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c): `ppt_code.c`
- [Menu input](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c): `ppt_code.c`
- [List operations](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c): `ppt_code.c`
- [Capacity and lookup](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c): `ppt_code.c`
- [Integer array](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/ppt_code.c): `ppt_code.c`

### Binary Tree Demo

- [Program loop](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp): `MP5.cpp`
- [Menu input](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp): `MP5.cpp`
- [Tree operations](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp): `MP5.cpp`
- [Queue operations](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp): `MP5.cpp`
- [Tree nodes](https://github.com/rzhyv/dsa-_1st_sem_2nd_year/blob/main/MP5.cpp): `MP5.cpp`

### Other components

- **Console user**
- **Console user**
- **Console user**

## Connections

- Console user → Menu input: enters choices (evidence: `Act_2.c`)
- Program loop → Menu input: calls (evidence: `Act_2.c`)
- Program loop → Record operations: dispatches (evidence: `Act_2.c`)
- Record operations → Capacity and lookup: checks and locates (evidence: `Act_2.c`)
- Record operations → Student arrays: reads and writes (evidence: `Act_2.c`)
- Console user → Menu input: enters choices (evidence: `ppt_code.c`)
- Program loop → Menu input: calls (evidence: `ppt_code.c`)
- Program loop → List operations: dispatches (evidence: `ppt_code.c`)
- List operations → Capacity and lookup: checks and locates (evidence: `ppt_code.c`)
- List operations → Integer array: reads and writes (evidence: `ppt_code.c`)
- Console user → Menu input: enters choices (evidence: `MP5.cpp`)
- Program loop → Menu input: calls (evidence: `MP5.cpp`)
- Program loop → Tree operations: dispatches (evidence: `MP5.cpp`)
- Tree operations → Queue operations: uses (evidence: `MP5.cpp`)
- Tree operations → Tree nodes: reads and links (evidence: `MP5.cpp`)
