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: 30/06/2021
QB365 provides detailed and simple solution for every Creative Questions in class 11 Computer Science Subject. It will helps to get more idea about question pattern in every Creative questions with solution.
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.
What are the functions of constructor?
2.
What is constructor?
3.
Explain local object with an example.
4.
What is inline and outline member function?
5.
What is copy constructor?
1.
As we know now that the constructor is a special initialization member function of a class that is called automatically whenever an instance of a class is declared or created. The main function of the constructor is
(i) To allocate memory space to the object and
(ii) To initialize the data member of the class object
2.
The definition of a class only creates a new user defined data type. The instances of the class type should be instantiated (created and initialized). Instantiating object is done using constructor. An array or a structure in c++ can be initialized during the time of their declaration. The initialization of class type object at the time of declaration similar to a structure or an array is not possible because the class members have their associated access specifiers (private or protected or public). Therefore Classes include special member functions called as constructors. The constructor function initializes the class object.
3.
If an object is declared with in a function then it is called local object.
It cannot be accessed from outside the function.
# include < iostream >
# include < conio >
using namespace std
class add //Global class
{
int a,b;
public:
int sum;
void getdata( )
{
a=5;
b=10;
sum=a+b;
}
} a1; // global object
add a2; // global object
int main( )
{
add a3; //Local object for a global class
a1.getdata( );
a2.getdata( ):
a3.getdata( );
cout < < a1.sum; //public data member accessed from outside the class
cout < < a2.sum;
cout < < a3.sum;
return 0;
}
Output:151515
4.
Inside the class definition:
When a member function is defined inside a class, it behaves like inline functions. These are called Inline member functions.
Outside the class definition:
When Member function defined outside the class just like normal function definition (Function definitions you are familiar with) then it is be called as outline member function or non-inline member function.
5.
A constructor having a reference to an already existing object of its own class is called copy constructor. In other words Copy Constructor is a type of constructor which is used to create a copy of an already existing object of a class type. It is usually of the form simple (simple &), where simple is the class name. The compiler provides a default Copy Constructor to all the 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