Skip to content

yogeshkumarsaini/Grade-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Grade Calculator System

A menu-driven Grade Calculator application built using Java and OOP principles.
This project allows users to add student marks, calculate grades, view results, and analyze class performance with detailed statistics.


✨ Features

  • βž• Add student details (name & marks)
  • πŸ‘€ View all student results
  • πŸ“Š View class statistics
    • Average marks
    • Pass percentage
    • Top scorer
    • Grade-wise count
  • 🧱 Fully Object-Oriented design
  • πŸ“¦ Package-based project structure
  • ⚠️ Exception handling for invalid inputs
  • πŸ” Loop-based menu-driven UI

πŸ“¦ Project Structure

com.gradecalculator
β”‚
β”œβ”€β”€ model
β”‚ └── Student.java
β”‚
β”œβ”€β”€ service
β”‚ └── GradeCalculator.java
β”‚
β”œβ”€β”€ app
β”‚ └── GradeCalculatorApp.java

πŸ“Œ Grading Criteria

Marks Range Grade
90 – 100 A+
80 – 89 A
70 – 79 B
60 – 69 C
50 – 59 D
Below 50 F

Pass Marks: 50 and above


🧠 Concepts Used

  • Java OOP (Classes, Objects, Encapsulation)
  • Menu-driven program
  • ArrayList for storing students
  • HashMap for grade-wise count
  • Loops & conditional statements
  • Exception handling (try-catch)
  • Packages & modular design

▢️ How to Run

  1. Clone the repository
  2. Open the project in any Java IDE (IntelliJ / Eclipse / VS Code)
  3. Run GradeCalculatorApp.java
  4. Use the menu to interact with the system

πŸš€ Possible Enhancements

  • Save student results to a file (CSV / TXT)
  • Menu option to delete or update students
  • Multi-subject support
  • JUnit test cases
  • GUI version (JavaFX / Swing)

About

Menu-driven Java Grade Calculator using OOP, collections, and exception handling with class statistics and top scorer analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages