0% found this document useful (0 votes)
2 views2 pages

Student Performance Mini Project

The Student Performance Dashboard mini project is a Python application that collects student details, calculates grades, and generates summary reports. It prevents duplicate entries, allows name-based searches, and categorizes grades based on average scores. Key features include accepting student names and marks, storing data in dictionaries, and providing a grade-wise summary report.

Uploaded by

patilharshada974
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Student Performance Mini Project

The Student Performance Dashboard mini project is a Python application that collects student details, calculates grades, and generates summary reports. It prevents duplicate entries, allows name-based searches, and categorizes grades based on average scores. Key features include accepting student names and marks, storing data in dictionaries, and providing a grade-wise summary report.

Uploaded by

patilharshada974
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Student Performance Dashboard – Mini Project

This mini project was built using core Python fundamentals such as lists, sets, dictionaries,
loops, and conditionals. It collects student details, calculates grades, stores data in a
structured format, prevents duplicate entries, allows name-based search, and prints a
summary report.

📌 Project Features
 ✔ Accepts student name and 3 subject marks
 ✔ Prevents duplicate entries using a set
 ✔ Calculates total, average, and assigns grades
 ✔ Stores student info in a dictionary
 ✔ Allows name-based search functionality
 ✔ Generates grade-wise summary report

📊 Grade Criteria
• A+ : Average >= 90

• A : 75 <= Average < 90

• B : 60 <= Average < 75

• C : 50 <= Average < 60

• F : Average < 50

🧠 Core Python Code (Simplified)

stud_dict = {}
stud_name = set()
grade_count = {}

n = int(input("How many students’ data you want? : "))


for i in range(n):
name = input("\nStudent Name: ")
if name in stud_name:
print(" Duplicate not allowed! Skipping entry.")
continue
stud_name.add(name)

mark1 = int(input("Enter marks for subject 1: "))


mark2 = int(input("Enter marks for subject 2: "))
mark3 = int(input("Enter marks for subject 3: "))
marks = [mark1, mark2, mark3]

total = sum(marks)
avg = total / 3

if avg >= 90:


grade = "A+"
elif avg >= 75:
grade = "A"
elif avg >= 60:
grade = "B"
elif avg >= 50:
grade = "C"
else:
grade = "F"

print(" Grade:", grade)


student_info = {"marks": marks, "total": total, "avg": round(avg, 2),
"grade": grade}
stud_dict[name] = student_info
grade_count[grade] = grade_count.get(grade, 0) + 1

search_n = input("\nEnter your name to search: ")


if search_n in stud_dict:
print(f" Found: {search_n} → {stud_dict[search_n]}")
else:
print(" Sorry, you are not registered.")

print("\n--- Summary Report ---")


print(f"Total Students: {len(stud_dict)}")
print("Grade Distribution:")
for g, c in grade_count.items():
if c <= 1:
print(f"{g}: {c} student")
else:
print(f"{g}: {c} students")

You might also like