# pravinkumarvs/etalvis-c-assessments architecture

> Architecture diagram of the GitHub repository pravinkumarvs/etalvis-c-assessments, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-08-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pravinkumarvs/etalvis-c-assessments
- Repository: https://github.com/pravinkumarvs/etalvis-c-assessments

## Overview

#### Purpose and Scope
This is a C programming exercise repository, not a single integrated application. It contains independent academic/practice solutions covering fundamentals through basic algorithms. The primary organizational boundary is an assessment directory; each `Program-XX.c` is a standalone solution.

#### Execution Model and Entry Points
Each C source file is an independently compiled executable with its own `main` entry point. There is no repository-level launcher, build system, shared library, or common runtime indicated. Typical invocation is `gcc <program>.c -o <output>` followed by executing that binary. Representative entry points: `ASSESSMENT-01/Program-01.c`, `ASSESSMENT-03/Program-07.c`, `ASSESSMENT-07/Program-30.c`.

#### Assessment Modules
Seven assessment groups partition the solution corpus and are the repository’s main architectural units:
- Initial exercise set: `ASSESSMENT-01/Program-01.c` through `ASSESSMENT-01/Program-25.c`.
- Follow-on exercises: `ASSESSMENT-02/Program-01.c`, `ASSESSMENT-02/Program-14.c`.
- Mid-series set: `ASSESSMENT-03/Program-01.c`, `ASSESSMENT-03/Program-14.c`.
- Additional problem set: `ASSESSMENT-04/Program-01.c`, `ASSESSMENT-04/Program-15.c`.
- Larger assessment collections: `ASSESSMENT-05/Program-01.c`, `ASSESSMENT-05/Program-30.c`; `ASSESSMENT-06/Program-01.c`, `ASSESSMENT-06/Program-30.c`; `ASSESSMENT-07/Program-01.c`, `ASSESSMENT-07/Program-30.c`.

#### Primary Control and Data Flow
Within a program, expected flow is local and synchronous: process startup → standard-input reads or initialized values → procedural computation using language fundamentals → standard-output result → process exit. Programs do not form a pipeline, share state, or call one another. Assessment directories are cataloging boundaries only, not runtime modules.

#### Component Boundaries
The strongest isolation boundary is one source file per executable. Changes to `ASSESSMENT-05/Program-12.c`, for example, should not require rebuilding or modifying `ASSESSMENT-05/Program-13.c`. There are no shared headers, common source modules, persisted datasets, APIs, databases, or inter-process contracts visible in the repository tree.

#### Runtime and Infrastructure
The material runtime is native C compiled by GCC or a compatible C compiler, producing command-line executables for the host platform. Interaction is expected through terminal standard input/output. No external services, cloud infrastructure, package dependencies, containers, CI configuration, or deployment targets are present. `README.md` supplies the compilation convention and project context.

Main entry points: [`ASSESSMENT-01/Program-01.c`](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-01/Program-01.c) (Standalone C programs), [`ASSESSMENT-02/Program-01.c`](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-02/Program-01.c) (Standalone C programs), [`ASSESSMENT-03/Program-01.c`](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-03/Program-01.c) (Standalone C programs), [`ASSESSMENT-04/Program-01.c`](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-04/Program-01.c) (Standalone C programs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_a01["Assessment 01"]
  node_a01_sources["Standalone C programs<br/>C source corpus<br/>[Program-01.c]"]
  node_a01_binary["Independent executables<br/>native binaries"]
end

subgraph group_a02["Assessment 02"]
  node_a02_sources["Standalone C programs<br/>C source corpus<br/>[Program-01.c]"]
  node_a02_binary["Independent executables<br/>native binaries"]
end

subgraph group_a03["Assessment 03"]
  node_a03_sources["Standalone C programs<br/>C source corpus<br/>[Program-01.c]"]
  node_a03_binary["Independent executables<br/>native binaries"]
end

subgraph group_a04["Assessment 04"]
  node_a04_sources["Standalone C programs<br/>C source corpus<br/>[Program-01.c]"]
  node_a04_binary["Independent executables<br/>native binaries"]
end

subgraph group_a05["Assessment 05"]
  node_a05_sources["Standalone C programs<br/>C source corpus<br/>[Program-01.c]"]
  node_a05_binary["Independent executables<br/>native binaries"]
end

subgraph group_a06["Assessment 06"]
  node_a06_sources["Standalone C programs<br/>C source corpus<br/>[Program-01.c]"]
  node_a06_binary["Independent executables<br/>native binaries"]
end

subgraph group_a07["Assessment 07"]
  node_a07_sources["Standalone C programs<br/>C source corpus<br/>[Program-01.c]"]
  node_a07_binary["Independent executables<br/>native binaries"]
end

node_readme["README<br/>documentation<br/>[README.md]"]
node_compiler{{"GCC-compatible compiler<br/>native toolchain"}}
node_terminal(("Terminal stdio<br/>host interface"))

node_readme -.->|"documents usage"| node_compiler
node_compiler -->|"compiles"| node_a01_binary
node_a01_sources -->|"one source per binary"| node_a01_binary
node_compiler -->|"compiles"| node_a02_binary
node_a02_sources -->|"one source per binary"| node_a02_binary
node_compiler -->|"compiles"| node_a03_binary
node_a03_sources -->|"one source per binary"| node_a03_binary
node_compiler -->|"compiles"| node_a04_binary
node_a04_sources -->|"one source per binary"| node_a04_binary
node_compiler -->|"compiles"| node_a05_binary
node_a05_sources -->|"one source per binary"| node_a05_binary
node_compiler -->|"compiles"| node_a06_binary
node_a06_sources -->|"one source per binary"| node_a06_binary
node_compiler -->|"compiles"| node_a07_binary
node_a07_sources -->|"one source per binary"| node_a07_binary
node_terminal -->|"stdin"| node_a01_binary
node_a01_binary -->|"stdout"| node_terminal
node_terminal -->|"stdin / stdout"| node_a02_binary
node_terminal -->|"stdin / stdout"| node_a03_binary
node_terminal -->|"stdin / stdout"| node_a04_binary
node_terminal -->|"stdin / stdout"| node_a05_binary
node_terminal -->|"stdin / stdout"| node_a06_binary
node_terminal -->|"stdin / stdout"| node_a07_binary

click node_readme "https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/README.md"
click node_a01_sources "https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-01/Program-01.c"
click node_a02_sources "https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-02/Program-01.c"
click node_a03_sources "https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-03/Program-01.c"
click node_a04_sources "https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-04/Program-01.c"
click node_a05_sources "https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-05/Program-01.c"
click node_a06_sources "https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-06/Program-01.c"
click node_a07_sources "https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-07/Program-01.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_a01_sources,node_a01_binary,node_a07_sources,node_a07_binary toneBlue
class node_a02_sources,node_a02_binary toneAmber
class node_a03_sources,node_a03_binary toneMint
class node_a04_sources,node_a04_binary toneRose
class node_a05_sources,node_a05_binary toneIndigo
class node_a06_sources,node_a06_binary toneTeal
class node_readme,node_compiler,node_terminal toneNeutral
```

## Components

### Assessment 01

Initial exercise set.

- [Standalone C programs](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-01/Program-01.c): C source corpus · Each Program-XX.c has its own main entry point. · `ASSESSMENT-01/Program-01.c`
- **Independent executables**: native binaries · One executable per source file.

### Assessment 02

Follow-on exercises.

- [Standalone C programs](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-02/Program-01.c): C source corpus · Each program is independently built and run. · `ASSESSMENT-02/Program-01.c`
- **Independent executables**: native binaries · One executable per source file.

### Assessment 03

Mid-series exercises.

- [Standalone C programs](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-03/Program-01.c): C source corpus · Each program performs local procedural computation. · `ASSESSMENT-03/Program-01.c`
- **Independent executables**: native binaries · One executable per source file.

### Assessment 04

Additional problem set.

- [Standalone C programs](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-04/Program-01.c): C source corpus · Each program is isolated from other exercises. · `ASSESSMENT-04/Program-01.c`
- **Independent executables**: native binaries · One executable per source file.

### Assessment 05

Larger assessment collection.

- [Standalone C programs](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-05/Program-01.c): C source corpus · Programs have no shared headers or runtime modules. · `ASSESSMENT-05/Program-01.c`
- **Independent executables**: native binaries · One executable per source file.

### Assessment 06

Larger assessment collection.

- [Standalone C programs](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-06/Program-01.c): C source corpus · Programs are compiled independently. · `ASSESSMENT-06/Program-01.c`
- **Independent executables**: native binaries · One executable per source file.

### Assessment 07

Larger assessment collection.

- [Standalone C programs](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/ASSESSMENT-07/Program-01.c): C source corpus · Programs use standard input and output. · `ASSESSMENT-07/Program-01.c`
- **Independent executables**: native binaries · One executable per source file.

### Other components

- [README](https://github.com/pravinkumarvs/etalvis-c-assessments/blob/main/README.md): documentation · Provides project context and compilation convention. · `README.md`
- **GCC-compatible compiler**: native toolchain · Compiles each source file independently.
- **Terminal stdio**: host interface · Supplies input and displays results.

## Connections

- README → GCC-compatible compiler: documents usage
- GCC-compatible compiler → Independent executables: compiles
- Standalone C programs → Independent executables: one source per binary
- GCC-compatible compiler → Independent executables: compiles
- Standalone C programs → Independent executables: one source per binary
- GCC-compatible compiler → Independent executables: compiles
- Standalone C programs → Independent executables: one source per binary
- GCC-compatible compiler → Independent executables: compiles
- Standalone C programs → Independent executables: one source per binary
- GCC-compatible compiler → Independent executables: compiles
- Standalone C programs → Independent executables: one source per binary
- GCC-compatible compiler → Independent executables: compiles
- Standalone C programs → Independent executables: one source per binary
- GCC-compatible compiler → Independent executables: compiles
- Standalone C programs → Independent executables: one source per binary
- Terminal stdio → Independent executables: stdin
- Independent executables → Terminal stdio: stdout
- Terminal stdio → Independent executables: stdin / stdout
- Terminal stdio → Independent executables: stdin / stdout
- Terminal stdio → Independent executables: stdin / stdout
- Terminal stdio → Independent executables: stdin / stdout
- Terminal stdio → Independent executables: stdin / stdout
- Terminal stdio → Independent executables: stdin / stdout
