This is a full-stack GPA and CGPA calculator designed for academic tracking and performance evaluation. It features a dynamic and responsive front-end, ASP-based server logic, and a Microsoft Access database for persistent data storage.
- 🔄 Toggle between GPA and CGPA calculator
- 📥 Dynamically generated input forms based on user selection
- ✅ Real-time GPA/CGPA calculation and result display
- 📄 Stores course and semester data into a Microsoft Access (
.mdb
) database - 🌌 Animated background with custom neon-styled UI
- 🔔 SweetAlert2 popups for interactive user feedback
Layer | Tech |
---|---|
Front-End | HTML, CSS, JavaScript |
Back-End | ASP Classic (.asp ) |
Database | Microsoft Access (.mdb ) |
Styling Tools | Custom CSS, Google Fonts |
Alerts | SweetAlert2 |
Animation | Canvas-based swirl background |
📦 GPA_CGPA_Calculator/ ├── index.html # Main page ├── script.js # GPA & CGPA form logic ├── styles.css # Neon theme & form styling ├── GpaApi.asp # Handles GPA submission + DB storage ├── CgpaApi.asp # Handles CGPA submission + DB storage ├── book.mdb # Access database └── background/ # Canvas animation files
- User selects number of courses.
- Fills in course names, credits, and grades.
- Data is sent via
fetch()
toGpaApi.asp
. - ASP script calculates GPA and stores records in
GPA_Records
table.
- User selects number of semesters.
- Inputs GPA and total credits for each.
- Data is sent to
CgpaApi.asp
. - ASP script inserts into
CGPA_Records
and computes CGPA.
- A Windows machine with:
- IIS (Internet Information Services)
- ASP Classic support
- Microsoft Access Database Engine (Jet 4.0)
- Place all files under:
C:\inetpub\wwwroot\GPA_calculator\
- Copy the project to your IIS root folder.
- Open
http://localhost/GPA_calculator/
in your browser. - Choose GPA or CGPA mode.
- Fill in the form → click "Calculate" → see your result!
Make sure book.mdb
has read/write permissions for the IIS user:
- Right-click → Properties → Security → Add
IUSR
orEveryone
→ Allow Modify.
- Add login system to store data per user
- Display full GPA/CGPA history
- Export reports to PDF
- Support for multiple grading systems (percentage, 10-point, letter)
Amir Fenina
📧 [email protected]
🌐 Project Repository: GitHub - amirf95/Gpa_Cgpa
(Include screenshots of GPA and CGPA forms, results, and background visuals here)
MIT License — feel free to use and modify with credit.