0% found this document useful (0 votes)
47 views20 pages

Student Record Management System

The document outlines the development of a Student Record Management System using C++ for the University of Mianwali's Computer Science department. Key features include adding, searching, updating, and deleting student records, aimed at improving efficiency and accuracy in managing student information. The project involves requirement analysis, design, implementation, testing, and deployment, with a focus on creating a user-friendly desktop application.

Uploaded by

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

Student Record Management System

The document outlines the development of a Student Record Management System using C++ for the University of Mianwali's Computer Science department. Key features include adding, searching, updating, and deleting student records, aimed at improving efficiency and accuracy in managing student information. The project involves requirement analysis, design, implementation, testing, and deployment, with a focus on creating a user-friendly desktop application.

Uploaded by

na1315500
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

CODE COMMANDOS

Project
Student Record Management System

Department
Department of Computer Science

University
University of Mianwali

Team Members
Nayaab Zahra, Aqsa Laraib, Moiza Sheerin, Misbah

Supervisor
STUDENT RECORD
MANAGEMENT
SYSTEM
A COMPREHENSIVE PROGRAM FOR MANAGING STUDENT RECORDS
INTRODUCTION

The Student Record Management


System is a software application
designed to manage and store
information about students efficiently.
This program utilizes C++ for its
implementation.
KEY FEATURES
MAIN FUNCTIONS

1 . ADD STUDENT RECORD

ALLOWS THE USER TO ADD NEW STUDENT DETAILS.

2. SEARCH STUDENT RECORD

ENABLES FINDING STUDENT INFORMATION USING ID.

3. UPDATE STUDENT RECORD

PERMITS UPDATES TO EXISTING STUDENT DATA.

4. DELETE STUDENT RECORD

ALLOWS REMOVAL OF STUDENT RECORDS.

5. DISPLAY RECORDS

DISPLAYS COMPLETE STUDENT RECORDS.


METHODOLOGY
PROJECT APPROACH

• Requirement Analysis
Identify the key functionalities for managing student records

• Design
Create a structure for storing student information and plan the user interface.

• Implementation
Code the system in C++ with functions for handling student records.

• Testing
Ensure all functionalities work as expected.

• Deployment
Deploy the system for use.
OBJECTIVE

The primary objective of this project is to develop a


reliable and user-friendly system for managing
student records. The system aims to provide
functionalities for adding, searching, updating, and
deleting student information and ensure data
persistence through file handling.
PROBLEM DESCRIPTION

Managing student records manually can be challenging, time-


consuming, and prone to errors. A digitized system is necessary to
streamline the data management process, ensure accuracy, and
provide quick access to student information. The existing manual
processes are inefficient and can lead to data loss and duplication.
PROJECT SCOPE
SYSTEM SCOPE

• Desktop Application
Develop a desktop application for student record management.
• Core Functionalities
Implement core functionalities for handling student data.
• Limitations
Does not cover database integration or web-based interfaces.
FEASIBILITY STUDY
ANALYSIS

• Technical Feasibility

Uses widely used C++ programming language. Runs on standard


desktop environments.

• Economic Feasibility

Minimal cost, limited to development time and resources for testing.

• Operational Feasibility

User-friendly and requires minimal training.


APPLICATION AREAS

The Student Record Management


System can be applied in various
educational institutions, including
schools, colleges, and universities. It
suits administrators and staff
responsible for maintaining student
information and records.
TOOLS/TECHNOLOGY
PROGRAMMING AND DEVELOPMENT

Programming Language
• C++

Development Environment
• Any standard C++ IDE (e.g.,
Code::Blocks, Visual Studio
ALGORITHM
1) Start

2) Initialize
 Create a structure student to store student information (ID, name, gender, age, mobile, grade).
 Define an array to hold student records.
 Initialize the number of students to 0.

3) Load student records from file


 Open the file for reading.
 Read each student's data from the file and store it in the array.
 Increment the number of students for each record read.
 Close the file.

4) Display main menu

SHOW OPTIONS:

i) Add Student Record


ii) Search Student Record
iii) Update Student Record
iv) Remove Student Record
v) Display All Students
vi) Exit
5) PROMPT USER FOR THEIR CHOICE.
6) EXECUTE USER CHOICE
If add student record
Prompt user for the number of students to add.
For each student, prompt and store student details (ID, name, gender, age, grade).
Save updated records to a file.
If search for student record
Prompt user for the student ID to search.
Search the array for the student ID.
Display student details if found.
If the student record
Prompt user for the student ID to update.
Search the array for the student ID.
If found, prompt and update student details.
Save updated records to a file.

If remove student’s record


Prompt the user for the student ID to be removed.
Search the array for the student ID.
If found, remove the student record from the array.
Save updated records to a file.
If displayed all students
Display details of all students in the array.
If exit
Save records to a file.
Exit the program.
Repeat
Loop back to display the main menu until the user chooses to exit.
FLOWCHART
PSEUDOCODE
Defining Students Structure
• DECLARE CONSTANT MAX_STUDENTS = 100
• STRUCT Student
INTEGER ID
STRING Name
STRING Gender
INTEGER Age
STRING Mobile
STRING Grade
• END STRUCT
Main Function and Menu
• FUNCTION main()
• DECLARE students AS ARRAY of Student[MAX_STUDENTS]
• DECLARE numStudents AS INTEGER = 0
• CALL loadStudentsFromFile(students, numStudents)
……………………
END FUNCTION
MAIN FUNCTION AND MENU
FUNCTION MAIN()
DECLARE STUDENTS AS ARRAY OF STUDENT[MAX_STUDENTS]
DECLARE NUMSTUDENTS AS INTEGER = 0
CALL LOADSTUDENTSFROMFILE(STUDENTS, NUMSTUDENTS)
WHILE TRUE
CLEAR SCREEN
DISPLAY MENU OPTIONS
GET CHOICE FROM USER

SWITCH CHOICE
CASE 1:
CALL ADDSTUDENT(STUDENTS, NUMSTUDENTS)
CALL SAVESTUDENTSTOFILE(STUDENTS, NUMSTUDENTS)
PAUSE
CASE 2:
CALL SEARCHSTUDENT(STUDENTS, NUMSTUDENTS)
PAUSE
CASE 3:
CALL UPDATESTUDENT(STUDENTS, NUMSTUDENTS)
CALL SAVESTUDENTSTOFILE(STUDENTS, NUMSTUDENTS)
PAUSE
CASE 4:
CALL REMOVESTUDENT(STUDENTS, NUMSTUDENTS)
CALL SAVESTUDENTSTOFILE(STUDENTS, NUMSTUDENTS)
PAUSE
CASE 5:
CALL DISPLAYALLSTUDENTS(STUDENTS, NUMSTUDENTS)
PAUSE
CASE 6:
CALL SAVESTUDENTSTOFILE(STUDENTS, NUMSTUDENTS)
EXIT PROGRAM
DEFAULT:
DISPLAY "INVALID CHOICE"
END SWITCH
END WHILE
END FUNCTION
Adding Student Records
• FUNCTION addStudent(students, numStudents)
CLEAR SCREEN
DISPLAY "How many students to add"
GET choice FROM USER
FOR i FROM 0 TO choice-1
IF numStudents < MAX_STUDENTS
GET Student Details
ASSIGN details TO students[numStudents]
INCREMENT numStudents
END IF
END FOR
END FUNCTION
Searching Student
• FUNCTION searchStudent(students, numStudents)
CLEAR SCREEN
GET searchID FROM USER
FOR i FROM 0 TO numStudents-1
IF students[i].ID == searchID
DISPLAY Student Details
RETURN
END IF
END FOR
DISPLAY "Student not found"
END FUNCTION
Updating student
FUNCTION updateStudent(students, numStudents)
CLEAR SCREEN
GET updated FROM USER
FOR i FROM 0 TO numStudents-1
IF students[i].ID == updateID
GET New Student Details
ASSIGN new details TO students[i]
DISPLAY "Student updated successfully"
RETURN
END IF
END FOR
DISPLAY "Student not found"
END FUNCTION

Removing Student
FUNCTION removeStudent(students, numStudents)
CLEAR SCREEN
GET removeID FROM USER
FOR i FROM 0 TO numStudents-1
IF students[i].ID == removeID
REMOVE student FROM students
DECREMENT numStudents
DISPLAY "Student removed successfully"
RETURN
END IF
END FOR
DISPLAY "Student not found"
END FUNCTION
DISPLAYING ALL STUDENTS
FUNCTION displayAllStudents(students, numStudents)
CLEAR SCREEN
DISPLAY "Students List"
FOR i FROM 0 TO numStudents-1
DISPLAY Student Details
END FOR
END FUNCTION
Saving Student to file
FUNCTION saveStudentsToFile(students, numStudents)
OPEN FILE "[Link]" FOR WRITING
FOR i FROM 0 TO numStudents-1
WRITE student details TO FILE
END FOR
CLOSE FILE
DISPLAY "Students saved successfully"
END FUNCTION
Loading Records
FUNCTION loadStudentsFromFile(students, numStudents)
OPEN FILE "[Link]" FOR READING
SET numStudents To 0

WHILE NOT END OF FILE


READ student details FROM FILE
ASSIGN details TO students[numStudents]
INCREMENT numStudents
END WHILE
CLOSE FILE
DISPLAY "Students loaded successfully"

You might also like