question as Less than 2: D already been answered through chegg. > Print_Std_Info() : This function accepts the id of one information of that student (all the attributes). ose: The purpose of this project is to allow you practice Object Oriented Design, ers, File VO, Exception Handling, Functions and Arrays. > Comapre_GPA(): This function compares the GPA of of the student who has the higher GPA. em Objective: The objective of this problem is to create a fully functioning system that es the records of students at Concordia University. Based on the following narrative, eed to come up with an Object-Oriented design to represent the different entities in the m. Part 2: Faculty Class: Assume the faculty of engineering has three departments engineering, mechanical engineering and civil engineering You need to implement this class to read the input files ar for different departments of the faculty of engineering. 1: Student class hitial information of student members is maintained in a file called student.txt line shows the number of lines). Each record in this file is composed of. Student first name Attributes: a pointer to an array of students of electrical and compute a pointer to an array of students of mechanical engineerin a pointer to an array of students of civil engineering Student last name Student id Date of birth GPA to the date (Range: 0-4.4) Start year Completed credit Constructor(): Reads student_elec_comp.txt file and creates a dynami computer engineering students

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
This question should be answered in C++ programming
language. Please answer part 2 of this question as part 1
has already been answered through chegg.
if GPA in the range of 2.5(inclusive) - 3:B
if GPA in the range of 2(inclusive) - 2.5:C
Less than 2: D
> Print_Std_Info() : This function accepts the id of one student and prints out all the
information of that student (all the attributes).
Purpose: The purpose of this project is to allow you practice Object Oriented Design,
Pointers, File /0, Exception Handling, Functions and Arrays.
> Comapre_GPA(): This function compares the GPA of two students and returns the id
of the student who has the higher GPA.
Problem Objective: The objective of this problem is to create a fully functioning system that
handles the records of students at Concordia University. Based on the following narrative,
you need to come up with an Object-Oriented design to represent the different entities in the
system.
Part 2: Faculty Class:
Assume the faculty of engineering has three departments: electrical and computer
engineering, mechanical engineering and civil engineering.
You need to implement this class to read the input files and create the arrays of students
for different departments of the faculty of engineering.
Part 1: Student class
The initial information of student members is maintained in a file called student.txt
(first line shows the number of lines). Each record in this file is composed of.
Attributes:
a pointer to an array of students of electrical and computer engineering
a pointer to an array of students of mechanical engineering
a pointer to an array of students of civil engineering
Student first name
Student last name
• Student id
• Date of birth
GPA to the date (Range: 0 - 4.4)
Start year
• Completed credit
Program (B: bachelor, M: master's, P: Ph.D.)
Constructor():
Reads student_elec_comp.txt file and creates a dynamic array of electrical and
computer engineering students
Reads student_mech.txt file and creates a dynamic array for mechanical engineering
students
You need to create a dass Student with the above attributes and following member
functions:
Reads student_civil.txt file and creates a dynamic array for civil engineering students
Member functions:
> Setter and Getter Functions for of all the attributes.
> CompleteProgram: retums true if the student has finished all the courses by
comparing the completed credits with the required credit for the program that the
student is enrolled in.The function returns false if the program is not completed.
Bachelor: 140 credit
• Master: 16
Ph.D: 12
Highest_GPA: This function prints out the information of the one who has the highest
GPA
N_of_UnderGrad: This function returns the total number of undergraduate students.
N_of Grad: This function returns the total number of graduate students.
Avg_UnderGrad: This function returns the average of GPA of undergraduate students.
Avg_Grad: This function returns the average of GPA of graduate students.
Part 3: Driver:
> StudentStatus (): This function retums the status as below:
if GPA>=3.5 returns A+
• if GPA in the range of 3 (inclusive) -3.5: A
a) In the driver you will test your system. You first create an object of Faculty class
to be able to read the input files and create your student arrays. Then you need
to test the member functions of the faculty Class and show the results.
b) To test the functions in the Student class, you can create the student objects and
call different functions for this class.
Note: You need to store the information of at least five students in your input files (text
files)
Transcribed Image Text:This question should be answered in C++ programming language. Please answer part 2 of this question as part 1 has already been answered through chegg. if GPA in the range of 2.5(inclusive) - 3:B if GPA in the range of 2(inclusive) - 2.5:C Less than 2: D > Print_Std_Info() : This function accepts the id of one student and prints out all the information of that student (all the attributes). Purpose: The purpose of this project is to allow you practice Object Oriented Design, Pointers, File /0, Exception Handling, Functions and Arrays. > Comapre_GPA(): This function compares the GPA of two students and returns the id of the student who has the higher GPA. Problem Objective: The objective of this problem is to create a fully functioning system that handles the records of students at Concordia University. Based on the following narrative, you need to come up with an Object-Oriented design to represent the different entities in the system. Part 2: Faculty Class: Assume the faculty of engineering has three departments: electrical and computer engineering, mechanical engineering and civil engineering. You need to implement this class to read the input files and create the arrays of students for different departments of the faculty of engineering. Part 1: Student class The initial information of student members is maintained in a file called student.txt (first line shows the number of lines). Each record in this file is composed of. Attributes: a pointer to an array of students of electrical and computer engineering a pointer to an array of students of mechanical engineering a pointer to an array of students of civil engineering Student first name Student last name • Student id • Date of birth GPA to the date (Range: 0 - 4.4) Start year • Completed credit Program (B: bachelor, M: master's, P: Ph.D.) Constructor(): Reads student_elec_comp.txt file and creates a dynamic array of electrical and computer engineering students Reads student_mech.txt file and creates a dynamic array for mechanical engineering students You need to create a dass Student with the above attributes and following member functions: Reads student_civil.txt file and creates a dynamic array for civil engineering students Member functions: > Setter and Getter Functions for of all the attributes. > CompleteProgram: retums true if the student has finished all the courses by comparing the completed credits with the required credit for the program that the student is enrolled in.The function returns false if the program is not completed. Bachelor: 140 credit • Master: 16 Ph.D: 12 Highest_GPA: This function prints out the information of the one who has the highest GPA N_of_UnderGrad: This function returns the total number of undergraduate students. N_of Grad: This function returns the total number of graduate students. Avg_UnderGrad: This function returns the average of GPA of undergraduate students. Avg_Grad: This function returns the average of GPA of graduate students. Part 3: Driver: > StudentStatus (): This function retums the status as below: if GPA>=3.5 returns A+ • if GPA in the range of 3 (inclusive) -3.5: A a) In the driver you will test your system. You first create an object of Faculty class to be able to read the input files and create your student arrays. Then you need to test the member functions of the faculty Class and show the results. b) To test the functions in the Student class, you can create the student objects and call different functions for this class. Note: You need to store the information of at least five students in your input files (text files)
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY