COMSATS is a well famous University for Computer Science. It Keeps the Student’s record in a well-mannered way. Write a C Program using Concepts of Arrays and string functions. You are required to...


COMSATS is a well famous University for Computer Science. It Keeps the Student’s record in a
well-mannered way. Write a C Program using Concepts of Arrays and string functions. You are required to
create a menu-based program which should be able to perform following tasks by using Functions:
1. Add New Student
2. Remove Existing Student
3. Search Student (one OR more) by Department
4. Search Student (one OR more) by City
5. Search Student (one OR more) by Program (Using Array Sorting)
6. Update Existing Student (Using Pointers)
7. Find Total Number of Students of Specific Department, , City or Program wise
8. Find Average Result of Specific Department
9. Search Specific Student by Reg No. and Find whether He is Pass ‘OR’ Fail , Like your Result
Card
10. Find the grade each subject of the student by registration No.
Each Student should have Following Attributes:
I. Reg No (Unique for each student)
II. Name
III. DOB
IV. Department (Department values should be ‘Management’ or ‘Computer Science’ or ‘Physics’)
V. City
VI. Program (like BSCS, BSM, BSSE etc.)
VII. Subjects (Maximum 5)
VIII. Obtained Marks in each subject out of 100.


Your task is to implement File Handling on each function you created. Your Program should do following tasks using File Handling (Read and Write files according to functions):
1. Add New Student
2. Remove Existing Student
3. Search Student (one OR more) by Department
4. Search Student (one OR more) by City
5. Search Student (one OR more) by Program (Using Array Sorting)
6. Update Existing Student (Using Pointers)
7. Find Total Number of Students of Specific Department
8. Find Average Result of Specific Department
9. Search Specific Student by Reg No. and Find whether He is Pass ‘OR’ Fail
10. Find the grade each subject of the student by registration No.

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here