Skip to content

A Python-based CLI application for analyzing student marks, featuring score calculation, performance categorization, and structured output using core programming concepts.

Notifications You must be signed in to change notification settings

Sandesh-008/Student-Marks-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Student Marks Analyzer

A Python-based CLI application that allows users to input multiple subjects along with their marks, evaluate each subject based on customizable passing criteria, and generate a detailed result summary including pass/fail status, average, total, percentage, and grade.


πŸ“Œ Features

  • πŸ“š Input custom number of subjects, each with:
    • Subject name
    • Maximum marks
    • Minimum passing marks
    • Marks obtained
  • βœ… Dynamic pass/fail check for each subject
  • πŸ“Š Calculates:
    • Total Marks
    • Average Marks
    • Percentage
    • Grade (A+ to F)
  • ❌ Highlights subjects in which the student has failed
  • πŸŽ‰ Displays a congratulatory message if all subjects are passed
  • 🚫 Input validation to prevent incorrect data entry

πŸ› οΈ Technologies Used

  • 🐍 Python 3.x
  • Concepts Used:
    • Functions
    • Lists & Tuples
    • Conditional Logic
    • Input Validation
    • Loops

πŸš€ How to Run

  1. Clone the repository or download the Python file.
  2. Open terminal/command prompt and navigate to the project directory.
  3. Run the file using:
python student_marks_analyzer.py
  1. Follow the prompts:
  • Enter the student's name
  • Number of subjects
  • Subject-wise input of name, max marks, pass marks, and obtained marks
  1. Get a complete result summary printed on the screen!

πŸ“Œ Sample Output

Enter Student Name : Sandesh

Enter number of Subjects : 7

Subject 1
  ➀ Enter subject name : English
  ➀ Enter maximum marks : 100
  ➀ Enter minimum passing marks : 35
  ➀ Enter marks obtained in English : 87

Subject 2
  ➀ Enter subject name : Marathi
  ➀ Enter maximum marks : 100
  ➀ Enter minimum passing marks : 35
  ➀ Enter marks obtained in Marathi : 91

Subject 3
  ➀ Enter subject name : Hindi
  ➀ Enter maximum marks : 100
  ➀ Enter minimum passing marks : 35
  ➀ Enter marks obtained in Hindi : 77

Subject 4
  ➀ Enter subject name : Mathamatics
  ➀ Enter maximum marks : 100
  ➀ Enter minimum passing marks : 35
  ➀ Enter marks obtained in Mathamatics : 95

Subject 5
  ➀ Enter subject name : History and Civics
  ➀ Enter maximum marks : 50
  ➀ Enter minimum passing marks : 17
  ➀ Enter marks obtained in History and Civics : 43

Subject 6
  ➀ Enter subject name : Geography
  ➀ Enter maximum marks : 50
  ➀ Enter minimum passing marks : 17
  ➀ Enter marks obtained in Geography : 47

Subject 7
  ➀ Enter subject name : Project
  ➀ Enter maximum marks : 100
  ➀ Enter minimum passing marks : 35
  ➀ Enter marks obtained in Project : 90

---------------------------------------------
πŸ“Š Result Summary for Sandesh
---------------------------------------------
English : 87/100 (βœ… Passed)
Marathi : 91/100 (βœ… Passed)
Hindi : 77/100 (βœ… Passed)
Mathamatics : 95/100 (βœ… Passed)
History and Civics : 43/50 (βœ… Passed)
Geography : 47/50 (βœ… Passed)
Project : 90/100 (βœ… Passed)
---------------------------------------------
Total Marks     : 530/600
Average Marks   : 75.71
Percentage      : 88.33%
Grade           : A

πŸŽ‰ Congratulations!!! You passed all subjects.


✨ Highlights

  • Clean and user-friendly CLI interface.

  • Strong data validation ensures smooth user experience.

  • Great beginner-level project to understand lists, tuples, functions, and conditional logic in Python.

Author

Sandesh Salokhe
GitHub: @Sandesh-008

🀝 Contributing

Contributions are welcome! If you'd like to improve this project or add features, feel free to fork the repository and submit a pull request.

πŸ“„ License

This project is open-source and available under the MIT License.

πŸ™Œ Acknowledgements

This project is developed as part of a core Python practice series to improve functional and structured programming skills.

About

A Python-based CLI application for analyzing student marks, featuring score calculation, performance categorization, and structured output using core programming concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages