subject
Engineering, 04.08.2020 14:01 yoyoho6218

Consider that a system has two entities, Student and Course. The student has the following properties: student name, number, SSN and GPA. Similarly, the course has the following properties: course name, course number, credit hours and a set of students who are currently registering on the course. Implement the above system taking into account the following requirements: 1. In course, the number of students that are registering this course is decided at the time when instantiating the course object.
2. Assume that student1 and student2 are two objects of type student, write a code that enables you to write: if (student1.isequal (student2)). Where student1, student12 are student objects. The statement is true if the objects have the same GPA and credit hours.
3. In course, make sure no two students have the same student number.
4. In course, write a method to increase the GPA of a student by a specific value. it should validate that value (e. g. GPA should be between 0.35 to 4.0).
5. Write a getStuentpByStno method in class course that returns a pointer to one of the students in that course using the Student number. 6. Write a getStudentByGPA method in class course that takes a GPA and returns a list of Students in that course who have the same GPA.
7. Write a method to find the maximum GPA in the course.
c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++

ansver
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 08:10, doggo242
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
image
Engineering, 04.07.2019 18:10, qwertylol12345
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
image
Engineering, 04.07.2019 18:10, Candi9697
A-mn has a cubic structure with a0 0.8931 nm and a density of 7.47 g/cm3. b-mn has a different cubic structure, with a0 0.6326 nm and a density of 7.26 g/cm3. the atomic weight of manganese is 54.938 g/mol and the atomic radius is 0.112 nm. determine the percent volume change that would occur if a-mn transforms to b-mn.
Answers: 2
image
Engineering, 04.07.2019 19:10, pjgolden04
How to increase the thermal officiency of an ideal simple rankino cycle? among these methods, which one is the best and why?
Answers: 2
You know the right answer?
Consider that a system has two entities, Student and Course. The student has the following propertie...

Questions in other subjects:

Konu
Social Studies, 11.07.2019 14:30
Konu
Mathematics, 11.07.2019 14:30
Konu
Biology, 11.07.2019 14:30