# latifahsan/algoritma_pemrograman architecture

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

- Interactive diagram: https://gitdiagram.com/latifahsan/algoritma_pemrograman
- Repository: https://github.com/latifahsan/algoritma_pemrograman

## Overview

This repository is a collection of independent Python coursework scripts, not a single application. The main workflow is a learner running a script, optionally entering values when prompted, and reading printed examples or results. The files cover introductory syntax and data, arithmetic and comparisons, Boolean conditions, loops, and related exercises. Source excerpts show each script’s behavior; they do not establish calls or data flow between files.

Main entry points: [`pertemuan_2.py`](https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_2.py) (Types and Input), [`tugas_pertemuan_2.py`](https://github.com/latifahsan/algoritma_pemrograman/blob/main/tugas_pertemuan_2.py) (Identity Exercise), [`pertemuan_4.py`](https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_4.py) (Conditions and Logic), [`tugas_pertemuan_4.py`](https://github.com/latifahsan/algoritma_pemrograman/blob/main/tugas_pertemuan_4.py) (Age Categories)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_basics["Python Basics"]
  node_pertemuan1["Syntax Examples<br/>[pertemuan_1.py]"]
  node_pertemuan2["Types and Input<br/>[pertemuan_2.py]"]
  node_tugas2["Identity Exercise"]
  node_identitas["Identity Output<br/>[identitas.py]"]
end

subgraph group_expressions["Expressions and Logic"]
  node_pertemuan3["Arithmetic and Types<br/>[pertemuan_3.py]"]
  node_tugas3["Shape Calculations"]
end

subgraph group_control["Control Flow"]
  node_pertemuan4["Conditions and Logic<br/>[pertemuan_4.py]"]
  node_tugas4["Age Categories"]
  node_pertemuan5["Loop Examples<br/>[pertemuan_5.py]"]
  node_tugas5["Number Exercises"]
end

node_learner(("Learner"))
node_terminal["Terminal"]

node_learner -->|"runs"| node_pertemuan1
node_learner -->|"runs"| node_pertemuan2
node_learner -->|"runs"| node_tugas2
node_learner -->|"runs"| node_pertemuan3
node_learner -->|"runs"| node_tugas3
node_learner -->|"runs"| node_pertemuan4
node_learner -->|"runs"| node_tugas4
node_learner -->|"runs"| node_pertemuan5
node_learner -->|"runs"| node_tugas5
node_learner -->|"runs"| node_identitas
node_pertemuan1 -->|"prints"| node_terminal
node_pertemuan2 -->|"prints"| node_terminal
node_tugas2 -->|"prints"| node_terminal
node_pertemuan3 -->|"prints"| node_terminal
node_tugas3 -->|"prints"| node_terminal
node_pertemuan4 -->|"prints"| node_terminal
node_tugas4 -->|"prints"| node_terminal
node_pertemuan5 -->|"prints"| node_terminal
node_tugas5 -->|"prints"| node_terminal
node_identitas -->|"prints"| node_terminal
node_terminal -->|"provides input"| node_pertemuan2
node_terminal -->|"provides input"| node_pertemuan4
node_terminal -->|"provides input"| node_tugas2
node_terminal -->|"provides input"| node_tugas4

click node_pertemuan1 "https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_1.py"
click node_pertemuan2 "https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_2.py"
click node_tugas2 "https://github.com/latifahsan/algoritma_pemrograman/blob/main/tugas_pertemuan_2.py"
click node_pertemuan3 "https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_3.py"
click node_tugas3 "https://github.com/latifahsan/algoritma_pemrograman/blob/main/tugas_pertemuan_3.py"
click node_pertemuan4 "https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_4.py"
click node_tugas4 "https://github.com/latifahsan/algoritma_pemrograman/blob/main/tugas_pertemuan_4.py"
click node_pertemuan5 "https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_5.py"
click node_tugas5 "https://github.com/latifahsan/algoritma_pemrograman/blob/main/tugas_pertemuan_5.py"
click node_identitas "https://github.com/latifahsan/algoritma_pemrograman/blob/main/identitas.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_pertemuan1,node_pertemuan2,node_tugas2,node_identitas toneBlue
class node_pertemuan3,node_tugas3 toneAmber
class node_pertemuan4,node_tugas4,node_pertemuan5,node_tugas5 toneMint
class node_learner,node_terminal toneIndigo
```

## Components

### Python Basics

- [Syntax Examples](https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_1.py): `pertemuan_1.py`
- [Types and Input](https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_2.py): `pertemuan_2.py`
- [Identity Exercise](https://github.com/latifahsan/algoritma_pemrograman/blob/main/tugas_pertemuan_2.py): `tugas_pertemuan_2.py`
- [Identity Output](https://github.com/latifahsan/algoritma_pemrograman/blob/main/identitas.py): `identitas.py`

### Expressions and Logic

- [Arithmetic and Types](https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_3.py): `pertemuan_3.py`
- [Shape Calculations](https://github.com/latifahsan/algoritma_pemrograman/blob/main/tugas_pertemuan_3.py): `tugas_pertemuan_3.py`

### Control Flow

- [Conditions and Logic](https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_4.py): `pertemuan_4.py`
- [Age Categories](https://github.com/latifahsan/algoritma_pemrograman/blob/main/tugas_pertemuan_4.py): `tugas_pertemuan_4.py`
- [Loop Examples](https://github.com/latifahsan/algoritma_pemrograman/blob/main/pertemuan_5.py): `pertemuan_5.py`
- [Number Exercises](https://github.com/latifahsan/algoritma_pemrograman/blob/main/tugas_pertemuan_5.py): `tugas_pertemuan_5.py`

### Other components

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

## Connections

- Learner → Syntax Examples: runs
- Learner → Types and Input: runs
- Learner → Identity Exercise: runs
- Learner → Arithmetic and Types: runs
- Learner → Shape Calculations: runs
- Learner → Conditions and Logic: runs
- Learner → Age Categories: runs
- Learner → Loop Examples: runs
- Learner → Number Exercises: runs
- Learner → Identity Output: runs
- Syntax Examples → Terminal: prints
- Types and Input → Terminal: prints
- Identity Exercise → Terminal: prints
- Arithmetic and Types → Terminal: prints
- Shape Calculations → Terminal: prints
- Conditions and Logic → Terminal: prints
- Age Categories → Terminal: prints
- Loop Examples → Terminal: prints
- Number Exercises → Terminal: prints
- Identity Output → Terminal: prints
- Terminal → Types and Input: provides input
- Terminal → Conditions and Logic: provides input
- Terminal → Identity Exercise: provides input
- Terminal → Age Categories: provides input
