NCERT Solutions Class 12 Computer Science Inheritance

Scroll down for PDF

NCERT Solutions Class 12 Computer Science Inheritance. NCERT book for Computer Science in class 12 is strongly recommened by teachers and the CBSE and NCERT boards. Please download the NCERT solutions for class 12 Computer Science free in PDF made by teachers of the best schools in India. These solutions are carefully compiled to give detailed understanding of the concepts and also steps of solutions. The NCERT solutions are free to download in pdf format. Please refer to the download link below to download the pdf file and also refer to other chapters and subjects to get the solutions to Computer Science NCERT book questions and exercises.

Chapter - Inheritance

Question 1: Answer the questions (i) to (iv) based on the following:

class ITEM {

int ID;

char IName[20];


float Qty;

public: ITEM();

void Enter();

void View();


Class TRADER; {

int DCode;


char Manager[20];

public: TRADER();

void Enter();

void View();

}; class- SALEPOINT :

public ITEM,

private TRADER


Char Name[20],


public: SALEPOINT();

void EnterAll();

void ViewAll();


(i)Which type of Inheritance out of the following is illustrated in the above example?

- Single Level Inheritance

- Multi Level Inheritance

- Multiple Inheritance 

(ii)Write the names of all the data members, which are directly accessible from the member functions of class SALEPOINT.

(iii)Write the names of all the member functions, which are directly accessible by an object of class SALEPOINT.

(iv)What will be the order of execution of the constructors, when an object of class SALEPOINT is declared?

Аnswer: 1. Multiple Inheritance

2. Name, Location, Manager, Qty

3. EnterAll ( ) , VeiwAll ( ) , Enter ( ) ,ViewO


Please click on link below to download NCERT Solutions Class 12 Computer Science Inheritance.


Click on the text For more study material for Computer Science please click here - Computer Science

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

TIPS: Study habits for success

Being a student is fairly a difficult job. Alongside maintaining your curricular as well as extra-curricular activities adds more to it. Performance in academics is one of the major concerns. Every parent now tries to get their children more indulged in studies. Need...

How to crack a competitive examination

“How I crack a competitive examination” is a frequently asked question by today’s students. Cracking a competitive exam is a challenging task. Attaining a huge amount of study and solving several complex problems in a limited amount of time is a huge task. Competitive...

JEE in Punjabi too after English, Hindi and Gujarati

Punjab Minister Tript Rajinder Singh Bajwa requested the joint technology entrance exam (main) to be conducted in Punjabi and other regional languages too. In his letter to Union HRD Minister Ramesh Pokhriyal Nishank, the Punjab Minister for Higher Education and...

CBSE Board Introduces Experiential Learning for Student

CBSE Academic Session 2019-20: Board Introduces Experiential Learning for Student: The education sector has grown for some new changes. As per the latest updates the Central Board of Secondary Education has been good in making all the possible efforts to improve...

Extension of dates by CBSE for Single Girl Child Merit (SGC) scholarship

CBSE has announced to extend dates for SGC scholarship. Previously the dates to submit the SGC scholarship form were 18 October 2019. Now dates have shifted. For online submission, the last date is 31st October. Whereas date for submission of hard copies of renewal...

Seven Motivational tips for every student

If you’re are a student or a learner and you doesn’t feel like study then this article is going to be very important for you, Reading constantly and Staying motivated as a student is one of the most challenging tasks and barriers to educational success. Education is...

Studies Today