Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need the answers for q4 and 5 only please, search chegg amd you\'ll find the a

ID: 3866760 • Letter: I

Question

I need the answers for q4 and 5 only please, search chegg amd you'll find the answers for q1,2 and 3. thanks

write a function object randInt with two private data members low(int) andhigh(int), the function call operation returns a random integer between low and high . Demo the operation randInt.

write a predicate function larger(x,y) that receive two integer parameters and returns true if the first parameter is larger than the second parameter.demo the operation of this function in the main.

Define the class Student. The Student class has a name(string), totalCredits(int) and pricePerCredit(double) as private data members. Include default constructor, which is blank and a constructor with parameter to initialize the all private data members. The Student class must include the method computeTuition() that evaluate the tuition due (credits * $ per credit) returns a double

a. Derive the Class MasterStudent from the Student, the MasterStudent class has one additional private data member called graduateFee(double). Supply constructors and override the method computeTuition(). The MaterStudent tuition is computed the same as the regular Student except that the graduatefee is added.

b.Derive the class PhdStudent from the MasterStudent. The PhdStudent has one additional private data member called researchFee (double). Supply constructors and override the method computeTuition(). The PhdStudent tuition is computed the same as the MasterStudent except that the researchFee is added.

c.Demonstrate polymorphism using the classes in problem 6.

4.List different stages of software development life cycle

5.Give the UML class diagram for the following design: The application allows students to sign up for a course. Each course has a level: 1 = freshmen, 2=sophomore, 3=junior, 4 = senior. Students can select a course and sign up for it as long as there is room in the class and student has the appropriate level for the course.   The application must also keep track of student address

a. give the use case: sign up for a class

code the application with sample output

Explanation / Answer

4) Stages of software development life cycle includes

Requirement gathering and analysis, in this phase requirement are gathered for the software to be developed and those are analyzed on what and how things are required and gets converted into software requirement specification documents and its an important phase as whole projects works according to this document. Next stage is design, once requirements are gathered then the design needs to be worked upon that how the required things will be build, it includes solution design end to end system design where in how each system will interact with each other. Once design is finalized next stage is to code for the particular design. And once build is ready then next stage is to test the solution. Next stage is to implement the build and tested solution so that end user could use it. And final stage is maintenance which is a continuous process as which fix the flaws in implemented solution.