11th Standard Syllabus & Materials
11th Standard
TN 11th Tamil இயற்கை வேளாண்மை,சுற்றுச்சூழல் -செய்யுள் - மனோன்மணீயம் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil என்னுயிர் என்பேன் -துணைப்பாடம் - இசைத்தமிழர் இருவர் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மொழி கலை -செய்யுள் - ஒவ்வொரு புல்லையும் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - இலக்கணம் - பகுபத உறுப்புகள் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - துணைப்பாடம் - வாடிவாசல் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - செய்யுள் - குறுந்தொகை Important Questions And Answers Study Material - QB365 Set A

Published on: 27/09/2019
Inheritance
Download Tamil Nadu 11th Standard Computer Science question papers, model tests, one-mark questions, important questions, and public exam papers in PDF format. Free study materials and answer keys for TN State Board students.
Questions + Answers key
Take MCQ Computer Science Test

1.
Differentiate containership and Inheritance?
2.
Can private members of the base class be accessed by the derived class? If yes, how?
3.
If a base class and a derived class each include a member function with the same name and arguments, which member function will be called by the object of the derived class if the scope resolution operator is not used?
4.
Write the main advantages of Inheritance.
5.
When the constructor of base class will automatically invoked?
6.
What is this pointer? When it is useful?
7.
How the size of derived class object is calculated?
8.
Fill the following table
| Base class member access specifier | Type of Inheritance | ||
| Private | Protected | Public | |
| Public | Private | (ii) | Public |
| (i) | Private | Protected | (iv) |
| Private | Private | (iii) | Private |
9.
Write the syntax of creating derived class.
10.
Write the types of Inheritance for the following statement.
(i) When a derived class inherits from many base classes.
(ii) When more than one derived classes are created from a single base class.
(iii) Multilevel +Multiple Inheritance
(iv) The transitive nature of inheritance
(v) Class student {public: int roll no;};
Class student : public student {public : int marks}; is an example of
11.
List the types of inheritance.
12.
What is the difference between public and private visibility mode?
13.
In what multilevel and multiple inheritance differ though both contains many base class?
14.
What is a base class?
15.
What is inheritance?
1.
| Containership | Inheritance |
| When a class contains objects of another class as its members,· this kind of relationship is called containership. | Inheritance lets you create or define a specialized instance of a class that shares the properties of the class and at the same time adds new features to it. |
2.
Yes. It can be indirectly accessed by the derived class using the public or protected member function of the base class since they have the access privilege for the private members of the base class.
3.
The member function of derived class will be called if the scope resolution is not used .
4.
The main advantage of inheritance is
(i) It represents real world relationships well
(ii) It provides reusability of code
(iii) It supports transitivity.
5.
Constructors and destructors of the base class are not inherited but during the creation of an object for derived class the constructors of base class will automatically invoked.
6.
This pointer is a constant pointer that holds the memory address of the current object. It identifies the currently calling object. It is useful when the argument variable name in the member function and the data member name are the same. To identify the data member it will be given as this ->data member name.
7.
Size of derived class object=size of all base class data members + size of all data members in derived class.
8.
(i) Protected
(iii) Private
(ii) Protected
(iv) Protected
9.
class derived_class_name :visibility _mode base_
class name
{
// members of derived class
};
10.
(i) Multiple Inheritance
(ii) Hierarchical Inheritance
(iii) Hybrid Inheritance
(iv) Single Inheritance
11.
(i) Single Inheritance
(ii) Multiple Inheritance
(iii) Multilevel Inheritance
(iv) Hierarchical Inheritance
(v) Hybrid Inheritance
12.
| Private visibility mode | Public visibility mode |
| When a base class is inherited with private visibility mode the public and protected members of the base class become 'private' members of the derived class. | When a base class is inherited with public visibility mode, the protected members of the base class will be inherited as protected members of the derived class and the public members of the base class will be inherited as public members of the derived class. |
13.
| Multilevel Inheritance | Multiple Inheritance |
| In multilevel inheritance, the constructors will be executed in the order of inheritance. | If there are multiple base classes ,then it starts executing from the left most base class. |
14.
A class that is used as the basis for inheritance is called a superclass or base class.
15.
Inheritance is one of the most important features of Object Oriented Programming. In object- oriented programming, inheritance enables new class and its objects to take on the properties of the existing classes.
11th Standard Syllabus & Materials
11th Standard
TN 11th Tamil பீடு பெற நில் - செய்யுள் - காவடிச்சிந்து Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - உரைநடை - மலை இடப்பெயர்கள் : ஓர் ஆய்வு Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மாமழை போற்றுதும் - துணைப்பாடம் - யானை டாக்டர் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மாமழை போற்றுதும் - செய்யுள் - ஐங்குறுநூறு Important Questions And Answers Study Material - QB365 Set A
Tamilnadu Stateboard 11th Standard Subjects

Maths

Commerce

Economics

Biology

Business Maths and Statistics

Accountancy

Computer Science

Physics

Chemistry

Maths

Biology

Economics

Physics

Chemistry

History

Business Maths and Statistics

Computer Science

Accountancy

Computer Applications

History

Computer Technology

Commerce

Computer Applications

Computer Technology

Tamil

English

French
Tamilnadu Stateboard Standards