How samrat9x/questionmaker works
Main Components
a. Frontend Layer:
• HTML Interface (index.html)
• Styling Component (style.css)
• Application Logic (script.js)
• Static Assets (img directory)
b. Data Layer:
• JSON Data Store (data directory)
• Class-specific question banks
• Subject-specific content
[User Interface Layer]
• ▼
[Application Logic Layer]
• ▼
[Data Storage Layer]
Component Details
User Interface Layer:
• Components for:
• Question paper configuration interface
• Question display area
• Subject/Class selection controls
Application Logic Layer:
• Question selection algorithm
• Paper generation logic
• Data parsing and manipulation
Data Storage Layer:
• JSON data structure
• Separate containers for:
• Class 7 (Mathematics, Science)
• Class 11 (ICT)
Flow Representation
• User input flow → Application logic
• Data retrieval flow between JSON files and application logic
• Question paper output flow to the user interface
Additional Elements
Annotations for:
• File formats (.json, .html, .css, .js)
• Data flow direction
• User interaction points
Specific Implementation Notes
• The client-side nature of the application
• JSON data organization by class and subject
• The separation between presentation and data layers