Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rawahazkhan/School-Result-System

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 

Repository files navigation

School Result System

The School Result System is a Java console-based application that simulates a grading system for primary and high school students. It demonstrates the use of Object-Oriented Programming (OOP) concepts such as inheritance, encapsulation, and polymorphism to model real-world entities and behaviors.

Project Overview

  • The system defines a base Person class with general details.
  • A Student class extends Person and acts as a blueprint for specific student categories.
  • PrimaryStudent and HighSchoolStudent extend Student, each with their own grading logic.
  • The program calculates grades based on subject marks and displays results in a structured format.

Key Features

  • Create student profiles with personal and academic details.
  • Calculate and assign grades based on average marks.
  • Separate grading criteria for Primary and High School students.
  • Display formatted result reports with complete information.

OOP Concepts Applied

  • InheritancePersonStudentPrimaryStudent / HighSchoolStudent.
  • Encapsulation → Getters and Setters for controlled attribute access.
  • Polymorphism → Overridden calculateGrade() and displayResult() methods.
  • Abstraction of real-world entities into hierarchical classes.

Technologies & Tools

  • Java (Core Java, OOP)
  • IDE / Text Editor: IntelliJ IDEA, Eclipse, Netbeans or VS Code
  • Console Output for interaction

How to Run

  1. Clone the repository:

    https://github.com/rawahazkhan/School-Result-System.git
  2. Open the project in your IDE (or VS Code).

  3. Compile the program:

    javac SchoolResultSystem.java
  4. Run the program:

    java SchoolResultSystem

Usage Example

When executed, the program outputs student results like this:

***** School Result System *****  
Primary Student Information:  
Name: Ayesha  
Age: 10  
ID Number: PR024  
Roll Number: 10  
Class: Grade 4  
Drawing Marks: 85  
Math Marks: 90  
Grade: B  
********************************  

High School Student Information:  
Name: Sara  
Age: 16  
ID Number: H001  
Roll Number: R23  
Class: Class 10  
Science Marks: 88  
Math Marks: 95  
Computer Marks: 92  
Grade: A  

About

A Java console-based School Result System demonstrating OOP concepts such as inheritance, encapsulation, and polymorphism. Calculates grades for primary and high school students based on subject marks.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.