Skip to content

BorkedFork/cst116-intro-programming-grader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Student Grader System

A C++ console application that processes student assignment data from files and generates grade reports with letter grades.

Description

This grading system reads student information and assignment scores from a file, calculates percentage grades, determines letter grades, and displays formatted grade reports. The program demonstrates file I/O, array manipulation, string processing, and formatted output in C++.

Features

  • File-based Input: Reads student data and scores from external files
  • Grade Calculation: Computes percentage grades from multiple assignments
  • Letter Grade Assignment: Converts percentages to traditional letter grades
  • Name Formatting: Automatically capitalizes student names properly
  • Formatted Reports: Displays professional-looking grade tables
  • Multiple Students: Processes and displays results for multiple students
  • Gender Tracking: Includes gender data in student records

Technologies Used

  • C++
  • File streams (<fstream>)
  • C-style strings and character manipulation (<cctype>, <cstring>)
  • Formatted I/O (<iomanip>)
  • Visual Studio project structure

File Format

The input file should contain student records with:

  • Student name
  • Gender
  • Number of assignments
  • Points possible per assignment
  • Individual assignment scores

Building and Running

Prerequisites

  • C++ compiler (Visual Studio recommended)
  • Windows operating system
  • Input data file

Build Instructions

  1. Open the solution file in Visual Studio
  2. Build the solution (F7 or Build > Build Solution)
  3. Run the executable or press F5

Usage

  1. Prepare an input file with student data
  2. Run the program
  3. Enter the filename when prompted
  4. View the generated grade report

Example Output

Student          Gender  Percentage  Grade
================================================
Smith, John      Male      87.5%      B
Doe, Jane        Female    94.2%      A
Johnson, Bob     Male      76.3%      C

Grade Scale

  • A: 90-100%
  • B: 80-89%
  • C: 70-79%
  • D: 60-69%
  • F: Below 60%

Author

Christian Burnett

About

C++ file-based student grading system with formatted reports

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages