# abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024 architecture

> Architecture diagram of the GitHub repository abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024
- Repository: https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024

## Overview

This repository is a collection of standalone Python examples for Cambridge International AS & A Level Computer Science Paper 4, rather than one integrated application. Its user-to-result workflow is to choose a topic, inspect or run that topic’s example, and observe its algorithm or data-structure behavior. The map preserves the README’s main topic areas and the separate past-paper examples. Since most scripts do not import or call across files, the graph shows no cross-topic flow; source excerpts support the OOP inheritance relationships shown.

Main entry points: [`OOP/OOP Sample.py`](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/OOP/OOP%20Sample.py) (Animal Base), [`Searching Algorithms`](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Searching%20Algorithms) (Searching), [`Sorting Algorithms`](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Sorting%20Algorithms) (Sorting), [`Recursion`](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Recursion) (Recursion)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_algorithms["Algorithms"]
  node_search["Searching"]
  node_sorting["Sorting"]
  node_recursion["Recursion"]
  node_recursion_ppqs["Recursion PPQs"]
end

subgraph group_structures["Data Structures"]
  node_binary_tree["Binary Tree<br/>[BinaryTree.py]"]
  node_binary_tree_ppqs["Tree PPQs"]
  node_linked_list["Linked Lists"]
  node_linked_list_ppqs["Linked List PPQs"]
  node_queue["Queues"]
  node_queue_ppqs["Queue PPQs"]
  node_stack["Stacks"]
  node_stack_ppqs["Stack PPQs"]
  node_dictionary["Dictionary<br/>[Dictionary.py]"]
end

subgraph group_programming["Programming Concepts"]
  node_oop["OOP Examples"]
  node_animal["Animal Base<br/>[OOP Sample.py]"]
  node_cat["Cat Example<br/>[OOP Sample.py]"]
  node_dog["Dog Example<br/>[OOP Sample.py]"]
  node_exceptions["Exception Handling<br/>[tryexcept.py]"]
  node_builtins["Built-in Functions"]
end

subgraph group_files["File Handling"]
  node_text_files["Text Files<br/>[TextFiles.py]"]
  node_filing_ppqs["Filing PPQs"]
  node_random_files["Random Files<br/>[RandomFiling.py]"]
end

node_user(("Learner"))

node_user -->|"explores"| node_search
node_user -->|"explores"| node_sorting
node_user -->|"explores"| node_recursion
node_user -->|"explores"| node_binary_tree
node_user -->|"explores"| node_linked_list
node_user -->|"explores"| node_queue
node_user -->|"explores"| node_stack
node_user -->|"explores"| node_oop
node_user -->|"explores"| node_exceptions
node_user -->|"explores"| node_text_files
node_animal -->|"parent class"| node_cat
node_animal -->|"parent class"| node_dog

click node_search "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Searching%20Algorithms"
click node_sorting "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Sorting%20Algorithms"
click node_recursion "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Recursion"
click node_recursion_ppqs "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Recursion/PPQS"
click node_binary_tree "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/Binary%20Tree/BinaryTree.py"
click node_binary_tree_ppqs "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Binary%20Tree/PPQS"
click node_linked_list "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Linked%20List"
click node_linked_list_ppqs "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Linked%20List/PPQS"
click node_queue "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Queue"
click node_queue_ppqs "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Queue/PPQS"
click node_stack "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Stack"
click node_stack_ppqs "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Stack/PPQS"
click node_dictionary "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/Dictionary/Dictionary.py"
click node_oop "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/OOP"
click node_animal "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/OOP/OOP%20Sample.py"
click node_cat "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/OOP/OOP%20Sample.py"
click node_dog "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/OOP/OOP%20Sample.py"
click node_exceptions "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/Exception%20Handling/tryexcept.py"
click node_builtins "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Built-In%20Functions"
click node_text_files "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/Filing/Text%20Files/TextFiles.py"
click node_filing_ppqs "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Filing/PPQS"
click node_random_files "https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/Filing/Random%20Files/RandomFiling.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_search,node_sorting,node_recursion,node_recursion_ppqs toneBlue
class node_binary_tree,node_binary_tree_ppqs,node_linked_list,node_linked_list_ppqs,node_queue,node_queue_ppqs,node_stack,node_stack_ppqs,node_dictionary toneAmber
class node_oop,node_animal,node_cat,node_dog,node_exceptions,node_builtins toneMint
class node_text_files,node_filing_ppqs,node_random_files toneRose
class node_user toneIndigo
```

## Components

### Algorithms

- [Searching](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Searching%20Algorithms): `Searching Algorithms`
- [Sorting](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Sorting%20Algorithms): `Sorting Algorithms`
- [Recursion](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Recursion): `Recursion`
- [Recursion PPQs](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Recursion/PPQS): `Recursion/PPQS`

### Data Structures

- [Binary Tree](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/Binary%20Tree/BinaryTree.py): `Binary Tree/BinaryTree.py`
- [Tree PPQs](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Binary%20Tree/PPQS): `Binary Tree/PPQS`
- [Linked Lists](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Linked%20List): `Linked List`
- [Linked List PPQs](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Linked%20List/PPQS): `Linked List/PPQS`
- [Queues](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Queue): `Queue`
- [Queue PPQs](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Queue/PPQS): `Queue/PPQS`
- [Stacks](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Stack): `Stack`
- [Stack PPQs](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Stack/PPQS): `Stack/PPQS`
- [Dictionary](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/Dictionary/Dictionary.py): `Dictionary/Dictionary.py`

### Programming Concepts

- [OOP Examples](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/OOP): `OOP`
- [Animal Base](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/OOP/OOP%20Sample.py): `OOP/OOP Sample.py`
- [Cat Example](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/OOP/OOP%20Sample.py): `OOP/OOP Sample.py`
- [Dog Example](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/OOP/OOP%20Sample.py): `OOP/OOP Sample.py`
- [Exception Handling](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/Exception%20Handling/tryexcept.py): `Exception Handling/tryexcept.py`
- [Built-in Functions](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Built-In%20Functions): `Built-In Functions`

### File Handling

- [Text Files](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/Filing/Text%20Files/TextFiles.py): `Filing/Text Files/TextFiles.py`
- [Filing PPQs](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/tree/main/Filing/PPQS): `Filing/PPQS`
- [Random Files](https://github.com/abdulrysrr/caie-9618-cs-p4-algorithms-compilation-2024/blob/main/Filing/Random%20Files/RandomFiling.py): `Filing/Random Files/RandomFiling.py`

### Other components

- **Learner**

## Connections

- Learner → Searching: explores (evidence: `README.md`)
- Learner → Sorting: explores (evidence: `README.md`)
- Learner → Recursion: explores (evidence: `README.md`)
- Learner → Binary Tree: explores (evidence: `README.md`)
- Learner → Linked Lists: explores (evidence: `README.md`)
- Learner → Queues: explores (evidence: `README.md`)
- Learner → Stacks: explores (evidence: `README.md`)
- Learner → OOP Examples: explores (evidence: `README.md`)
- Learner → Exception Handling: explores (evidence: `README.md`)
- Learner → Text Files: explores (evidence: `README.md`)
- Animal Base → Cat Example: parent class (evidence: `OOP/OOP Sample.py`)
- Animal Base → Dog Example: parent class (evidence: `OOP/OOP Sample.py`)
