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

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Aloaded platform of total mass 500 kg is supported by a dashpot and by a set of springs of effective stiffness 72 kn/m. it is observed that when the platform is depressed through a distance x = 12.5 cm below its equilibrium position and then released without any initial velocity; it reaches its equilibrium position in the shortest possible time without overshoot. find the position and velocity of the loaded platform 0.10 sec. after its release. if a further load of 400 kg is added to the platform, find, i) the frequency of damped vibrations, and i) the amplitude of vibration after 2 complete oscillations, given that the initial amplitude is 15 cm.
Answers: 1
question
Engineering, 04.07.2019 18:10
Ajournal bearing has a journal diameter of 3.250 in with a unilateral tolerance of 20.003 in. the bushing bore has a diameter of 3.256 in and a unilateral tolerance of 0.004 in. the bushing is 2.8 in long and supports a 700-lbf load. the journal speed is 900 rev/min. find the minimum oil film thickness and the maximum film pressure for both sae 20 and sae 20w-30 lubricants, for the tightest assembly if the operating film temperature is 160°f. a computer code is appropriate for solving this problem.
Answers: 3
question
Engineering, 04.07.2019 18:10
Water at 55c flows across a flat plate whose surface temperature is held constant at 95c. if the temperature gradient at the plate's surface for a given value of x is 18 c/mm, find a) local heat transfer coefficient. b) heat flux
Answers: 3
question
Engineering, 04.07.2019 18:10
Machinery that is a key part of the process and without which the plant or process cannot function is classifed as: (clo4) a)-critical machinery b)-essential machinery c)-general purpose machinery d)-none of the specified options.
Answers: 1
You know the right answer?
Consider that a system has two entities, Student and Course. The student has the following propertie...
Questions
question
Mathematics, 03.04.2020 22:34
question
Mathematics, 03.04.2020 22:34
Questions on the website: 13722361