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++
Answers: 1
Engineering, 03.07.2019 14:10
Explain the difference laminar and turbulent flow. explain it with the shear stress and the velocity profiles.
Answers: 1
Engineering, 04.07.2019 18:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
Engineering, 04.07.2019 18:20
Along 8-cm diameter steam pipe whose external surface temperature is 900c connects two buildings. the pipe is exposed to ambient air at 70c with a wind speed of 50 km/hr blowing across the pipe. determine the heat loss from the pipe per unit length. (b) air at 500c enters a section of a rectangular duct (15 cm x 20 cm) at an average velocity of 7 m/s. if the walls of the duct are maintained at 100c. a) the length of the tube for an exit temperature of the air to be 40 0c. b)the rate of heat transfer from the air. c) the fan power needed to overcome the pressure drop in this section of the duct.
Answers: 1
Engineering, 04.07.2019 19:10
Air inially occupying a volume of 1 m2 at 100 kpa, 27 c undergoes three internally reversible processes in series. process 1-2 compression to 500 kpa during which pv constant process 2-3 adiabatic expanslon to 100 kpa process 3-1: constant-pressure expansion to 100 kpa (a) calculate the change of entropy for each of the three processes. (b) calculate the heat and work involved in each process. (c) is this cycle a power cycle or refrigeration cycle?
Answers: 3
Consider that a system has two entities, Student and Course. The student has the following propertie...
Mathematics, 19.10.2019 23:50
History, 19.10.2019 23:50
Mathematics, 19.10.2019 23:50
History, 19.10.2019 23:50
Mathematics, 19.10.2019 23:50
Social Studies, 19.10.2019 23:50
Mathematics, 19.10.2019 23:50
Mathematics, 19.10.2019 23:50
History, 19.10.2019 23:50
History, 19.10.2019 23:50
English, 19.10.2019 23:50
Geography, 19.10.2019 23:50
Computers and Technology, 19.10.2019 23:50