# chinaza-bit/practice-cbt architecture

> Architecture diagram of the GitHub repository chinaza-bit/practice-cbt, 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/chinaza-bit/practice-cbt
- Repository: https://github.com/chinaza-bit/practice-cbt

## Overview

SamistinTech is a browser-based student practice CBT portal. Students choose a course, open its practice test (or IFT 212 notes), configure and take a timed question set, then review results. The README documents the course catalog and shared experience; sampled scripts show exam selection, randomization, navigation, answer/flag tracking, timer submission, and review. The HTML pages and exact wiring between pages, scripts, and banks were not sampled, so those implementation links are omitted or marked unverified.

Main entry points: [`index.html`](https://github.com/chinaza-bit/practice-cbt/blob/main/index.html) (Course chooser), [`style.css`](https://github.com/chinaza-bit/practice-cbt/blob/main/style.css) (Shared visual system), [`ift212.html`](https://github.com/chinaza-bit/practice-cbt/blob/main/ift212.html) (IFT 212 page), [`ils212.html`](https://github.com/chinaza-bit/practice-cbt/blob/main/ils212.html) (ILS 212 page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Course selection"]
  node_chooser["Course chooser<br/>[index.html]"]
end

subgraph group_courses["Course pages"]
  node_ils_page["ILS 212 page<br/>[ils212.html]"]
  node_gst_page["GST 212 page<br/>[gst212.html]"]
  node_get_page["GET 204 page<br/>[get204.html]"]
  node_ift_page["IFT 212 page<br/>[ift212.html]"]
  node_ift_notes["IFT 212 notes<br/>[ift212_notes.html]"]
end

subgraph group_exam["Practice exams"]
  node_ils_test["ILS practice test<br/>[script.js]"]
  node_ils_bank[("ILS question bank<br/>[questions.js]")]
  node_gst_test["GST practice test<br/>[gst_script.js]"]
  node_gst_bank[("GST question bank<br/>[gst_questions.js]")]
  node_get_test["GET practice test<br/>[get204_script.js]"]
  node_get_bank[("GET question bank")]
  node_ift_test["IFT practice test<br/>[ift212_script.js]"]
  node_ift_bank[("IFT question bank")]
end

subgraph group_shared["Shared interface"]
  node_shared_style["Shared visual system<br/>[style.css]"]
end

node_student(("Student"))

node_student -->|"chooses course"| node_chooser
node_chooser -->|"opens course"| node_ils_page
node_chooser -->|"opens course"| node_gst_page
node_chooser -->|"opens course"| node_get_page
node_chooser -->|"opens course"| node_ift_page
node_ils_page -.->|"offers practice"| node_ils_test
node_gst_page -.->|"offers practice"| node_gst_test
node_get_page -.->|"offers practice"| node_get_test
node_ift_page -->|"offers practice"| node_ift_test
node_ift_page -->|"offers notes"| node_ift_notes
node_ils_test -.->|"uses questions"| node_ils_bank
node_gst_test -.->|"uses questions"| node_gst_bank
node_get_test -.->|"uses questions"| node_get_bank
node_ift_test -.->|"uses questions"| node_ift_bank
node_chooser -->|"shares styling"| node_shared_style
node_ils_page -->|"shares styling"| node_shared_style
node_gst_page -->|"shares styling"| node_shared_style
node_get_page -->|"shares styling"| node_shared_style
node_ift_page -->|"shares styling"| node_shared_style

click node_chooser "https://github.com/chinaza-bit/practice-cbt/blob/main/index.html"
click node_ils_page "https://github.com/chinaza-bit/practice-cbt/blob/main/ils212.html"
click node_gst_page "https://github.com/chinaza-bit/practice-cbt/blob/main/gst212.html"
click node_get_page "https://github.com/chinaza-bit/practice-cbt/blob/main/get204.html"
click node_ift_page "https://github.com/chinaza-bit/practice-cbt/blob/main/ift212.html"
click node_ift_notes "https://github.com/chinaza-bit/practice-cbt/blob/main/ift212_notes.html"
click node_ils_test "https://github.com/chinaza-bit/practice-cbt/blob/main/script.js"
click node_ils_bank "https://github.com/chinaza-bit/practice-cbt/blob/main/questions.js"
click node_gst_test "https://github.com/chinaza-bit/practice-cbt/blob/main/gst_script.js"
click node_gst_bank "https://github.com/chinaza-bit/practice-cbt/blob/main/gst_questions.js"
click node_get_test "https://github.com/chinaza-bit/practice-cbt/blob/main/get204_script.js"
click node_get_bank "https://github.com/chinaza-bit/practice-cbt/blob/main/get204_questions.js"
click node_ift_test "https://github.com/chinaza-bit/practice-cbt/blob/main/ift212_script.js"
click node_ift_bank "https://github.com/chinaza-bit/practice-cbt/blob/main/ift212_questions.js"
click node_shared_style "https://github.com/chinaza-bit/practice-cbt/blob/main/style.css"

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_chooser toneBlue
class node_ils_page,node_gst_page,node_get_page,node_ift_page,node_ift_notes toneAmber
class node_ils_test,node_ils_bank,node_gst_test,node_gst_bank,node_get_test,node_get_bank,node_ift_test,node_ift_bank toneMint
class node_shared_style toneRose
class node_student toneIndigo
```

## Components

### Course selection

- [Course chooser](https://github.com/chinaza-bit/practice-cbt/blob/main/index.html): `index.html`

### Course pages

- [ILS 212 page](https://github.com/chinaza-bit/practice-cbt/blob/main/ils212.html): `ils212.html`
- [GST 212 page](https://github.com/chinaza-bit/practice-cbt/blob/main/gst212.html): `gst212.html`
- [GET 204 page](https://github.com/chinaza-bit/practice-cbt/blob/main/get204.html): `get204.html`
- [IFT 212 page](https://github.com/chinaza-bit/practice-cbt/blob/main/ift212.html): `ift212.html`
- [IFT 212 notes](https://github.com/chinaza-bit/practice-cbt/blob/main/ift212_notes.html): `ift212_notes.html`

### Practice exams

- [ILS practice test](https://github.com/chinaza-bit/practice-cbt/blob/main/script.js): `script.js`
- [ILS question bank](https://github.com/chinaza-bit/practice-cbt/blob/main/questions.js): `questions.js`
- [GST practice test](https://github.com/chinaza-bit/practice-cbt/blob/main/gst_script.js): `gst_script.js`
- [GST question bank](https://github.com/chinaza-bit/practice-cbt/blob/main/gst_questions.js): `gst_questions.js`
- [GET practice test](https://github.com/chinaza-bit/practice-cbt/blob/main/get204_script.js): `get204_script.js`
- [GET question bank](https://github.com/chinaza-bit/practice-cbt/blob/main/get204_questions.js): `get204_questions.js`
- [IFT practice test](https://github.com/chinaza-bit/practice-cbt/blob/main/ift212_script.js): `ift212_script.js`
- [IFT question bank](https://github.com/chinaza-bit/practice-cbt/blob/main/ift212_questions.js): `ift212_questions.js`

### Shared interface

- [Shared visual system](https://github.com/chinaza-bit/practice-cbt/blob/main/style.css): `style.css`

### Other components

- **Student**

## Connections

- Student → Course chooser: chooses course (evidence: `README.txt`)
- Course chooser → ILS 212 page: opens course (evidence: `README.txt`)
- Course chooser → GST 212 page: opens course (evidence: `README.txt`)
- Course chooser → GET 204 page: opens course (evidence: `README.txt`)
- Course chooser → IFT 212 page: opens course (evidence: `README.txt`)
- ILS 212 page → ILS practice test: offers practice
- GST 212 page → GST practice test: offers practice
- GET 204 page → GET practice test: offers practice
- IFT 212 page → IFT practice test: offers practice (evidence: `README.txt`)
- IFT 212 page → IFT 212 notes: offers notes (evidence: `README.txt`)
- ILS practice test → ILS question bank: uses questions
- GST practice test → GST question bank: uses questions
- GET practice test → GET question bank: uses questions
- IFT practice test → IFT question bank: uses questions
- Course chooser → Shared visual system: shares styling (evidence: `README.txt`)
- ILS 212 page → Shared visual system: shares styling (evidence: `README.txt`)
- GST 212 page → Shared visual system: shares styling (evidence: `README.txt`)
- GET 204 page → Shared visual system: shares styling (evidence: `README.txt`)
- IFT 212 page → Shared visual system: shares styling (evidence: `README.txt`)
