How pravinkumarvs/etalvis-c-assessments works
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 Standalone C programs · ASSESSMENT-02/Program-01.c Standalone C programs · ASSESSMENT-03/Program-01.c Standalone C programs · ASSESSMENT-04/Program-01.c Standalone C programs
Components 17
Assessment 01
Initial exercise set.
- Standalone C programs · Each Program-XX.c has its own main entry point.
ASSESSMENT-01/Program-01.c - Independent executables · One executable per source file.
Assessment 02
Follow-on exercises.
- Standalone C programs · Each program is independently built and run.
ASSESSMENT-02/Program-01.c - Independent executables · One executable per source file.
Assessment 03
Mid-series exercises.
- Standalone C programs · Each program performs local procedural computation.
ASSESSMENT-03/Program-01.c - Independent executables · One executable per source file.
Assessment 04
Additional problem set.
- Standalone C programs · Each program is isolated from other exercises.
ASSESSMENT-04/Program-01.c - Independent executables · One executable per source file.
Assessment 05
Larger assessment collection.
- Standalone C programs · Programs have no shared headers or runtime modules.
ASSESSMENT-05/Program-01.c - Independent executables · One executable per source file.
Assessment 06
Larger assessment collection.
- Standalone C programs · Programs are compiled independently.
ASSESSMENT-06/Program-01.c - Independent executables · One executable per source file.
Assessment 07
Larger assessment collection.
- Standalone C programs · Programs use standard input and output.
ASSESSMENT-07/Program-01.c - Independent executables · One executable per source file.
Other components
- README · Provides project context and compilation convention.
README.md - GCC-compatible compiler · Compiles each source file independently.
- Terminal stdio · Supplies input and displays results.
Connections 23
- 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