# eaglemont500/intro-to-computer-science architecture

> Architecture diagram of the GitHub repository eaglemont500/intro-to-computer-science, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/eaglemont500/intro-to-computer-science
- Repository: https://github.com/eaglemont500/intro-to-computer-science

## Overview

This is a student’s Intro to Computer Science coursework collection, not a single application. Its user-to-result pattern is independent: a learner runs a particular script, supplies input when prompted, and receives printed output; the scripts do not form a shared pipeline. The repository also includes project instructions and a PDF note not represented as executable components. The map preserves the sampled assignments, projects, and unit-note examples; no cross-file runtime connections are evidenced.

Main entry points: [`Assignments/KathanT_A4.py`](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Assignments/KathanT_A4.py) (Rectangle measures), [`Projects/KathanT_If_Project.py`](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Projects/KathanT_If_Project.py) (Outfit recommender), [`Projects/KathanT_P1.py`](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Projects/KathanT_P1.py) (Mad Libs and geometry), [`Notes/Unit 1 Notes/KathanT_N1.3.py`](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%201%20Notes/KathanT_N1.3.py) (Binary conversion)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_assignments["Assignments"]
  node_a3["Assignment A3<br/>[KathanT_A3.py]"]
  node_a4["Rectangle measures<br/>[KathanT_A4.py]"]
end

subgraph group_projects["Projects"]
  node_ifproject["Outfit recommender"]
  node_p1["Mad Libs and geometry<br/>[KathanT_P1.py]"]
  node_knn["KNN classifier<br/>[KathanT_knn.py]"]
  node_projectmaterials["Project instructions"]
end

subgraph group_notes["Unit Notes"]
  node_n10["Unit 1 examples<br/>[KathanT_N1.0.py]"]
  node_n11["Unit 1 examples<br/>[KathanT_N1.1.py]"]
  node_n12["Errors and sets<br/>[KathanT_N1.2.py]"]
  node_n13["Binary conversion<br/>[KathanT_N1.3.py]"]
  node_n20["Unit 2 examples<br/>[KathanT_N2.0.py]"]
  node_n21["Logic tables<br/>[KathanT_N2.1.py]"]
  node_n22["Unit 2 examples<br/>[KathanT_N2.2.py]"]
  node_n23["Unit 2 examples<br/>[KathanT_N2.3.py]"]
  node_n24["Conditionals<br/>[KathanT_N2.4.py]"]
  node_n26["Unit 2 examples<br/>[KathanT_N2.6.py]"]
  node_nearest["Nearest-number KNN"]
  node_n30["Loop examples<br/>[KathanT_N3.0.py]"]
  node_n31["Probability and lists<br/>[KathanT_N3.1.py]"]
  node_n32["Unit 3 examples<br/>[KathanT_N3.2.py]"]
  node_n33["Unit 3 examples<br/>[KathanT_N3.3.py]"]
  node_n34["Unit 3 examples<br/>[KathanT_N3.4.py]"]
  node_n35["Functions<br/>[KathanT_N3.5.py]"]
  node_n36["Unit 3 examples<br/>[KathanT_N3.6.py]"]
  node_notesresource["Unit 2 handout<br/>[KathanT_N2.5.pdf]"]
end

node_learner(("Learner"))
node_terminal(("Terminal output"))

node_learner -->|"enters dimensions"| node_a4
node_a4 -->|"prints measures"| node_terminal
node_learner -->|"enters conditions"| node_ifproject
node_ifproject -->|"prints recommendations"| node_terminal
node_learner -->|"enters story words"| node_p1
node_p1 -->|"prints results"| node_terminal
node_knn -->|"prints prediction"| node_terminal
node_learner -->|"enters number"| node_n13
node_n13 -->|"prints conversion"| node_terminal
node_n24 -->|"prompts input"| node_learner
node_n30 -->|"prints examples"| node_terminal
node_n31 -->|"prints examples"| node_terminal
node_n35 -->|"prints results"| node_terminal
node_nearest -->|"prints prediction"| node_terminal

click node_a3 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Assignments/KathanT_A3.py"
click node_a4 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Assignments/KathanT_A4.py"
click node_ifproject "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Projects/KathanT_If_Project.py"
click node_p1 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Projects/KathanT_P1.py"
click node_knn "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Projects/KathanT_knn.py"
click node_projectmaterials "https://github.com/eaglemont500/intro-to-computer-science/tree/main/Projects"
click node_n10 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%201%20Notes/KathanT_N1.0.py"
click node_n11 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%201%20Notes/KathanT_N1.1.py"
click node_n12 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%201%20Notes/KathanT_N1.2.py"
click node_n13 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%201%20Notes/KathanT_N1.3.py"
click node_n20 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.0.py"
click node_n21 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.1.py"
click node_n22 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.2.py"
click node_n23 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.3.py"
click node_n24 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.4.py"
click node_n26 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.6.py"
click node_nearest "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/Nearest_Number_Example.py"
click node_n30 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.0.py"
click node_n31 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.1.py"
click node_n32 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.2.py"
click node_n33 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.3.py"
click node_n34 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.4.py"
click node_n35 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.5.py"
click node_n36 "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.6.py"
click node_notesresource "https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.5.pdf"

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_a3,node_a4 toneBlue
class node_ifproject,node_p1,node_knn,node_projectmaterials toneAmber
class node_n10,node_n11,node_n12,node_n13,node_n20,node_n21,node_n22,node_n23,node_n24,node_n26,node_nearest,node_n30,node_n31,node_n32,node_n33,node_n34,node_n35,node_n36,node_notesresource toneMint
class node_learner,node_terminal toneIndigo
```

## Components

### Assignments

- [Assignment A3](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Assignments/KathanT_A3.py): `Assignments/KathanT_A3.py`
- [Rectangle measures](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Assignments/KathanT_A4.py): `Assignments/KathanT_A4.py`

### Projects

- [Outfit recommender](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Projects/KathanT_If_Project.py): `Projects/KathanT_If_Project.py`
- [Mad Libs and geometry](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Projects/KathanT_P1.py): `Projects/KathanT_P1.py`
- [KNN classifier](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Projects/KathanT_knn.py): `Projects/KathanT_knn.py`
- [Project instructions](https://github.com/eaglemont500/intro-to-computer-science/tree/main/Projects): `Projects`

### Unit Notes

- [Unit 1 examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%201%20Notes/KathanT_N1.0.py): `Notes/Unit 1 Notes/KathanT_N1.0.py`
- [Unit 1 examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%201%20Notes/KathanT_N1.1.py): `Notes/Unit 1 Notes/KathanT_N1.1.py`
- [Errors and sets](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%201%20Notes/KathanT_N1.2.py): `Notes/Unit 1 Notes/KathanT_N1.2.py`
- [Binary conversion](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%201%20Notes/KathanT_N1.3.py): `Notes/Unit 1 Notes/KathanT_N1.3.py`
- [Unit 2 examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.0.py): `Notes/Unit 2 Notes/KathanT_N2.0.py`
- [Logic tables](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.1.py): `Notes/Unit 2 Notes/KathanT_N2.1.py`
- [Unit 2 examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.2.py): `Notes/Unit 2 Notes/KathanT_N2.2.py`
- [Unit 2 examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.3.py): `Notes/Unit 2 Notes/KathanT_N2.3.py`
- [Conditionals](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.4.py): `Notes/Unit 2 Notes/KathanT_N2.4.py`
- [Unit 2 examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.6.py): `Notes/Unit 2 Notes/KathanT_N2.6.py`
- [Nearest-number KNN](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/Nearest_Number_Example.py): `Notes/Unit 2 Notes/Nearest_Number_Example.py`
- [Loop examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.0.py): `Notes/Unit 3 Notes/KathanT_N3.0.py`
- [Probability and lists](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.1.py): `Notes/Unit 3 Notes/KathanT_N3.1.py`
- [Unit 3 examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.2.py): `Notes/Unit 3 Notes/KathanT_N3.2.py`
- [Unit 3 examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.3.py): `Notes/Unit 3 Notes/KathanT_N3.3.py`
- [Unit 3 examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.4.py): `Notes/Unit 3 Notes/KathanT_N3.4.py`
- [Functions](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.5.py): `Notes/Unit 3 Notes/KathanT_N3.5.py`
- [Unit 3 examples](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%203%20Notes/KathanT_N3.6.py): `Notes/Unit 3 Notes/KathanT_N3.6.py`
- [Unit 2 handout](https://github.com/eaglemont500/intro-to-computer-science/blob/main/Notes/Unit%202%20Notes/KathanT_N2.5.pdf): `Notes/Unit 2 Notes/KathanT_N2.5.pdf`

### Other components

- **Learner**
- **Terminal output**

## Connections

- Learner → Rectangle measures: enters dimensions (evidence: `Assignments/KathanT_A4.py`)
- Rectangle measures → Terminal output: prints measures (evidence: `Assignments/KathanT_A4.py`)
- Learner → Outfit recommender: enters conditions (evidence: `Projects/KathanT_If_Project.py`)
- Outfit recommender → Terminal output: prints recommendations (evidence: `Projects/KathanT_If_Project.py`)
- Learner → Mad Libs and geometry: enters story words (evidence: `Projects/KathanT_P1.py`)
- Mad Libs and geometry → Terminal output: prints results (evidence: `Projects/KathanT_P1.py`)
- KNN classifier → Terminal output: prints prediction (evidence: `Projects/KathanT_knn.py`)
- Learner → Binary conversion: enters number (evidence: `Notes/Unit 1 Notes/KathanT_N1.3.py`)
- Binary conversion → Terminal output: prints conversion (evidence: `Notes/Unit 1 Notes/KathanT_N1.3.py`)
- Conditionals → Learner: prompts input (evidence: `Notes/Unit 2 Notes/KathanT_N2.4.py`)
- Loop examples → Terminal output: prints examples (evidence: `Notes/Unit 3 Notes/KathanT_N3.0.py`)
- Probability and lists → Terminal output: prints examples (evidence: `Notes/Unit 3 Notes/KathanT_N3.1.py`)
- Functions → Terminal output: prints results (evidence: `Notes/Unit 3 Notes/KathanT_N3.5.py`)
- Nearest-number KNN → Terminal output: prints prediction (evidence: `Notes/Unit 2 Notes/Nearest_Number_Example.py`)
