SUPERSTARWEBTECH

There is no elevator to success. You have to take the stairs. Take your first steps with SSWT!

CS304-OOP Assignment no. 2 Solution FALL 2018 Due date: 30 January, 2019

Subject: CS304-Object Oriented Programming
Semester: FALL 2018
Assignment No. 2
Due date: 30 January, 2019

CS304 ASSIGNMENT 2 SOLUTION FALL 2018

CS304-OOP Assignment 2 #Question
Write a program containing three classes Person, Student, and Exam for an Examination database using Inheritance. Class Person is the base class, Student is the intermediate base class, and Exam is the derived class. The Student class should inherit the properties of Person class whereas, the Exam class should inherit the properties of Student class (directly) and properties of Person class (indirectly). Implement the model shown in figure using the following hints.

Data Members

Person Class:Name, Gender Age

Student Class:RollNo, Subject

Exam Class:Sub1Marks, Sub2Marks

Member Functions

You are required to write the following member functions for all three classes:

·         readData()

·         displayData()
CS304-OOP Assignment 2 Solution ! Download !

  CS304 Assignment_2 Solution FALL_2018 ———————- Download

Author

Anam Afzal

Anam Afzal

Hi, I'm a Pakistani freelancer with a passion for helping businesses achieve their online goals through no-code solutions. I specialize in WordPress customization and ManyChat automation, and I'm always on the lookout for new ways to use technology to make businesses more efficient and successful. I'm also a big believer in the power of no-code tools to democratize technology and make it accessible to everyone. I'm passionate about sharing my knowledge and helping others learn how to use no-code tools to create their own websites, automate their workflows, and grow their businesses. If you're looking for a reliable and experienced no-code developer, I'm here to help. Please feel free to contact me to discuss your project requirements.
SHARE THIS POST