The results of a student in a module M are calculated based on the his/her marks in 3 assessments: a. Lab exam with 30%

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

The results of a student in a module M are calculated based on the his/her marks in 3 assessments: a. Lab exam with 30%

Post by answerhappygod »

The Results Of A Student In A Module M Are Calculated Based On The His Her Marks In 3 Assessments A Lab Exam With 30 1
The Results Of A Student In A Module M Are Calculated Based On The His Her Marks In 3 Assessments A Lab Exam With 30 1 (68.28 KiB) Viewed 14 times
The results of a student in a module M are calculated based on the his/her marks in 3 assessments: a. Lab exam with 30% weightage b. Assignment 1 with 35% weightage c. Assignment 2 with 35% weightage 1. Create a class Student Results in which you add as attributes the results of the student in the three assessments as described above. 2. Add a method FinalResult which calculates and displays the total marks of the student in the module M 3. Add a method PassFail which calls the method FinalResult and displays "Pass" if the student has a total score greater than 50 and "Fail" if not. 4. Create the Principal program that creates two instances of the class Student Results entitled S1 and S2. Ask the user to introduce from the keyboard the marks for the 3 assessments for S1 and S2. Display the final results of the students S1 and S2 by calling the methods FinalResult and PassFail for S1 and S2.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply