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
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:10
Which one from below is not one of the reasons of planning failures? (clo3) a)-planner is careless. b-planner spend less time in the field but more time on the desk c)-planner is not qualified d)-planner does not have sufficient time to properly plan
Answers: 3
question
Engineering, 04.07.2019 18:20
Amixture of slurry and mud is to be pumped through a horizontal pipe of diameter 500 mm. the fluid behaves as a bingham plastic with a yield stress of 30 pa and viscosity 0.04 pa.s. describe the effects of the shear stress through a transverse section of the pipe by plotting the variation in shear stress and velocity profile: (i) just before the slurry starts to move (ii) as the slurry flows when the pressure gradient is double that in part (i)
Answers: 3
You know the right answer?
Consider that a system has two entities, Student and Course. The student has the following propertie...
Questions
question
Physics, 28.10.2020 14:00
question
Social Studies, 28.10.2020 14:00
question
History, 28.10.2020 14:00
question
Biology, 28.10.2020 14:00
question
Mathematics, 28.10.2020 14:00
question
World Languages, 28.10.2020 14:00
question
Mathematics, 28.10.2020 14:00
Questions on the website: 13722360