# dominhduy09/university-documents architecture

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

- Interactive diagram: https://gitdiagram.com/dominhduy09/university-documents
- Repository: https://github.com/dominhduy09/university-documents

## Overview

This repository is a university coursework collection rather than one integrated application. The principal workflow is: a learner selects an exercise, supplies console or hardware input, the example applies a domain technique, and it prints or displays a result. Its main stages are algorithm practice, object-oriented modeling, and embedded-device control. Sampled Java files show direct orchestration from entry-point classes into models and game logic; most other relationships are inferred only from filenames and are therefore intentionally omitted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dsa["DSA Exercises"]
  node_dsa_quiz["Contest Solver<br/>[Main.java]"]
  node_coin_solver["Coin Solver<br/>[Main.java]"]
  node_sort_examples["Sorting Examples<br/>[BubbleSortApp.java]"]
  node_tree_examples["Tree Examples<br/>[Tree.java]"]
end

subgraph group_oop["OOP Examples"]
  node_student_cli["Student Entry<br/>[Main.java]"]
  node_student_model["Student Model<br/>[Student.java]"]
  node_course_manager["Course Manager<br/>[CourseManager.java]"]
  node_course_model["Course Model<br/>[CourseManager.java]"]
  node_oop_patterns["OOP Patterns<br/>[Main.java]"]
  node_game_entry["Game Entry<br/>[Main.java]"]
  node_player_model["Player Model<br/>[Player.java]"]
  node_house_model["House Model<br/>[House.java]"]
  node_game_rules["Game Rules<br/>[BigSmallGame.java]"]
end

subgraph group_embedded["Embedded Projects"]
  node_embedded_labs["Microcontroller Labs<br/>[Lab1_Problem4.c]"]
  node_digital_lock["Digital Lock<br/>[Digital Lock.c]"]
  node_barcode_reader["Barcode Reader<br/>[Barcode Reader.c]"]
end

node_learner(("Learner"))
node_console["Console"]
node_hardware["Device Hardware"]

node_learner -->|"runs example"| node_dsa_quiz
node_learner -->|"runs example"| node_coin_solver
node_learner -->|"runs example"| node_sort_examples
node_learner -->|"runs example"| node_tree_examples
node_learner -->|"runs example"| node_student_cli
node_learner -->|"runs game"| node_game_entry
node_learner -->|"selects lab"| node_embedded_labs
node_learner -->|"selects project"| node_digital_lock
node_learner -->|"selects project"| node_barcode_reader
node_dsa_quiz -->|"reads and writes"| node_console
node_coin_solver -->|"reads and writes"| node_console
node_sort_examples -->|"writes results"| node_console
node_student_cli -->|"reads and writes"| node_console
node_student_cli -->|"creates student"| node_student_model
node_course_manager -->|"creates course"| node_course_model
node_game_entry -->|"reads and writes"| node_console
node_game_entry -->|"updates money"| node_player_model
node_game_entry -->|"updates money"| node_house_model
node_game_entry -->|"plays round"| node_game_rules
node_embedded_labs -.->|"controls device"| node_hardware
node_digital_lock -.->|"controls device"| node_hardware
node_barcode_reader -.->|"reads scanner"| node_hardware

click node_dsa_quiz "https://github.com/dominhduy09/university-documents/blob/main/DSA/Quiz%20Lab/Quiz%204/Main.java"
click node_coin_solver "https://github.com/dominhduy09/university-documents/blob/main/DSA/Quiz%20Lab/Quiz%205/Main.java"
click node_sort_examples "https://github.com/dominhduy09/university-documents/blob/main/DSA/DSA%20LAB%20NEW/Lab%202%20Simple%20sorting/ITITSB22029_DoMinhDuy_Lab2/Problem%201/BubbleSortApp.java"
click node_tree_examples "https://github.com/dominhduy09/university-documents/blob/main/DSA/DSA%20LAB%20NEW/DSA%20Lab%202023%20Code/Tree.java"
click node_student_cli "https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Slide/Quiz/Quiz%201/Main.java"
click node_student_model "https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Lab/Lab%202/Question%203%20Inheritance%20for%20Student%20and%20Staff/Student.java"
click node_course_manager "https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Slide/Quiz/Quiz%202/CourseManager.java"
click node_course_model "https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Slide/Quiz/Quiz%202/CourseManager.java"
click node_oop_patterns "https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Slide/Java%20code%20thu/Abstract/Main.java"
click node_game_entry "https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Lab/Lab%201/Question%205%20(Bonus)/Main.java"
click node_player_model "https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Lab/Lab%201/Question%205%20(Bonus)/Player.java"
click node_house_model "https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Lab/Lab%201/Question%205%20(Bonus)/House.java"
click node_game_rules "https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Lab/Lab%201/Question%205%20(Bonus)/BigSmallGame.java"
click node_embedded_labs "https://github.com/dominhduy09/university-documents/blob/main/Micro/NEW%20LAB/Week%201/Lab1/Lab1_Problem4a/Lab1_Problem4.c"
click node_digital_lock "https://github.com/dominhduy09/university-documents/blob/main/Micro/PROJECT/MPS%20mini%20Projects%20and%20Codes/Chap%202%20Button%20Matrix/Digital%20Lock/Digital%20Lock/Digital%20Lock/Digital%20Lock.c"
click node_barcode_reader "https://github.com/dominhduy09/university-documents/blob/main/Micro/PROJECT/MPS%20mini%20Projects%20and%20Codes/Chap%207_1%20UART/Barcode%20Reader/Barcode%20Reader/Barcode%20Reader/Barcode%20Reader.c"

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_dsa_quiz,node_coin_solver,node_sort_examples,node_tree_examples toneBlue
class node_student_cli,node_student_model,node_course_manager,node_course_model,node_oop_patterns,node_game_entry,node_player_model,node_house_model,node_game_rules toneAmber
class node_embedded_labs,node_digital_lock,node_barcode_reader toneMint
class node_learner,node_console,node_hardware toneIndigo
```

## Components

### DSA Exercises

- [Contest Solver](https://github.com/dominhduy09/university-documents/blob/main/DSA/Quiz%20Lab/Quiz%204/Main.java): `DSA/Quiz Lab/Quiz 4/Main.java`
- [Coin Solver](https://github.com/dominhduy09/university-documents/blob/main/DSA/Quiz%20Lab/Quiz%205/Main.java): `DSA/Quiz Lab/Quiz 5/Main.java`
- [Sorting Examples](https://github.com/dominhduy09/university-documents/blob/main/DSA/DSA%20LAB%20NEW/Lab%202%20Simple%20sorting/ITITSB22029_DoMinhDuy_Lab2/Problem%201/BubbleSortApp.java): `DSA/DSA LAB NEW/Lab 2 Simple sorting/ITITSB22029_DoMinhDuy_Lab2/Problem 1/BubbleSortApp.java`
- [Tree Examples](https://github.com/dominhduy09/university-documents/blob/main/DSA/DSA%20LAB%20NEW/DSA%20Lab%202023%20Code/Tree.java): `DSA/DSA LAB NEW/DSA Lab 2023 Code/Tree.java`

### OOP Examples

- [Student Entry](https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Slide/Quiz/Quiz%201/Main.java): `OOP - Slide/Quiz/Quiz 1/Main.java`
- [Student Model](https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Lab/Lab%202/Question%203%20Inheritance%20for%20Student%20and%20Staff/Student.java): `OOP - Lab/Lab 2/Question 3 Inheritance for Student and Staff/Student.java`
- [Course Manager](https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Slide/Quiz/Quiz%202/CourseManager.java): `OOP - Slide/Quiz/Quiz 2/CourseManager.java`
- [Course Model](https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Slide/Quiz/Quiz%202/CourseManager.java): `OOP - Slide/Quiz/Quiz 2/CourseManager.java`
- [OOP Patterns](https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Slide/Java%20code%20thu/Abstract/Main.java): `OOP - Slide/Java code thu/Abstract/Main.java`
- [Game Entry](https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Lab/Lab%201/Question%205%20(Bonus)/Main.java): `OOP - Lab/Lab 1/Question 5 (Bonus)/Main.java`
- [Player Model](https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Lab/Lab%201/Question%205%20(Bonus)/Player.java): `OOP - Lab/Lab 1/Question 5 (Bonus)/Player.java`
- [House Model](https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Lab/Lab%201/Question%205%20(Bonus)/House.java): `OOP - Lab/Lab 1/Question 5 (Bonus)/House.java`
- [Game Rules](https://github.com/dominhduy09/university-documents/blob/main/OOP%20-%20Lab/Lab%201/Question%205%20(Bonus)/BigSmallGame.java): `OOP - Lab/Lab 1/Question 5 (Bonus)/BigSmallGame.java`

### Embedded Projects

- [Microcontroller Labs](https://github.com/dominhduy09/university-documents/blob/main/Micro/NEW%20LAB/Week%201/Lab1/Lab1_Problem4a/Lab1_Problem4.c): `Micro/NEW LAB/Week 1/Lab1/Lab1_Problem4a/Lab1_Problem4.c`
- [Digital Lock](https://github.com/dominhduy09/university-documents/blob/main/Micro/PROJECT/MPS%20mini%20Projects%20and%20Codes/Chap%202%20Button%20Matrix/Digital%20Lock/Digital%20Lock/Digital%20Lock/Digital%20Lock.c): `Micro/PROJECT/MPS mini Projects and Codes/Chap 2 Button Matrix/Digital Lock/Digital Lock/Digital Lock/Digital Lock.c`
- [Barcode Reader](https://github.com/dominhduy09/university-documents/blob/main/Micro/PROJECT/MPS%20mini%20Projects%20and%20Codes/Chap%207_1%20UART/Barcode%20Reader/Barcode%20Reader/Barcode%20Reader/Barcode%20Reader.c): `Micro/PROJECT/MPS mini Projects and Codes/Chap 7_1 UART/Barcode Reader/Barcode Reader/Barcode Reader/Barcode Reader.c`

### Other components

- **Learner**
- **Console**
- **Device Hardware**

## Connections

- Learner → Contest Solver: runs example
- Learner → Coin Solver: runs example
- Learner → Sorting Examples: runs example
- Learner → Tree Examples: runs example
- Learner → Student Entry: runs example
- Learner → Game Entry: runs game
- Learner → Microcontroller Labs: selects lab
- Learner → Digital Lock: selects project
- Learner → Barcode Reader: selects project
- Contest Solver → Console: reads and writes
- Coin Solver → Console: reads and writes
- Sorting Examples → Console: writes results
- Student Entry → Console: reads and writes
- Student Entry → Student Model: creates student
- Course Manager → Course Model: creates course
- Game Entry → Console: reads and writes
- Game Entry → Player Model: updates money
- Game Entry → House Model: updates money
- Game Entry → Game Rules: plays round
- Microcontroller Labs → Device Hardware: controls device
- Digital Lock → Device Hardware: controls device
- Barcode Reader → Device Hardware: reads scanner
