Chapters
Chapter 2: Number Systems
Chapter 3: Computer Organization
Chapter 4: Theoretical Concepts of Operating System
Chapter 5: Working with Windows Operating System
Chapter 6: Specification and Abstraction
Chapter 7: Composition and Decomposition
Chapter 8: Iteration and recursion
Chapter 9: Introduction to C++
Chapter 10: Flow of Control
Chapter 11: Functions
Chapter 12: Arrays and Structures
Chapter 13: Introducton to Object Oriented Programming Techniques
Chapter 14: Classes and objects
Chapter 15: Polymorphism
Chapter 16: Inheritance
Chapter 17: Computer Ethics and Cyber Security
Chapter 18: Tamil Computing

Solutions for Chapter 14: Classes and objects
Below listed, you can find solutions for Chapter 14 of Tamil Nadu Board of Secondary Education Tamil Nadu Board Samacheer Kalvi for Class 11th Computer Science Answers Guide.
Tamil Nadu Board Samacheer Kalvi solutions for Class 11th Computer Science Answers Guide Chapter 14 Classes and objects Evaluation - Section – A [Pages 246 - 247]
Choose the correct answer
The variables declared inside the class are known as ______
data
inline
method
attributes
Which of the following statements about member functions are True or False?
i) A member function can call another member function directly by using the dot operator.
ii) Member function can access the private data of the class.
i)True, ii)True
i)False, ii)True
i)True, ii)False
i)False, ii)False
A member function can call another member function directly, without using the dot operator called as ______
sub-function
sub-member
nesting of member function
sibling of member function
The member function defined within the class behaves like ______ functions.
inline
Noninline
Outline
Data
Which of the following access specifier protects data from inadvertent modifications?
Private
Protected
Public
Global
class x
{
int y;
public:
x(int z){y=z;} } x1[4];
int main()
{ x x2(10);
return 0;}
How many objects are created for the above program?
10
14
5
2
State whether the following statements about the constructor are True or False.
i) constructors should be declared in the private section.
ii) constructors are invoked automatically when the objects are created.
True, True
True, False
False, True
False, False
Which of the following constructor is executed for the following prototype?
add display( add &); // add is a class name
Default constructor
Parameterized constructor
Copy constructor
Non-Parameterized constructor
Tamil Nadu Board Samacheer Kalvi solutions for Class 11th Computer Science Answers Guide Chapter 14 Classes and objects Evaluation - Section - B [Page 247]
Very Short Answers
What are called members?
Differentiate structure and class though both are user-defined data types.
What is the difference between the class and object in terms of oop?
Why it is considered good practice to define a constructor though a compiler can automatically generate a constructor?
Write down the importance of the destructor.
Tamil Nadu Board Samacheer Kalvi solutions for Class 11th Computer Science Answers Guide Chapter 14 Classes and objects Evaluation - Section - C [Page 247]
Short Answers
Rewrite the following program after removing the syntax errors if any and underline the errors:
#include<iostream>
$include<stdio>
class mystud
{ int studid =1001;
char name[20];
public
mystud( ) { }
void register ( )
{cin>>stdid; gets(name); }
void display ( )
{cout<<studid<<”: “<<name<<endl;}
}
int main( ) { mystud MS; register.MS( ); MS.display( ); }
int main( )
{ mystud MS;
register.MS( );
MS.display( );
}
Write with example how will you dynamically initialize objects?
What are the advantages of declaring constructors and destructors under public accessibility?
Given the following C++ code, answer the following question.
class TestMeOut
{
public:
~TestMeOut() //Function 1
{cout<<“Leaving the exam hall”<<endl;} TestMeOut() //Function 2
{cout<<“Appearing for exam”<<endl;}
void MyWork() //Function 3
{cout<<“Answering”<<endl;} };
In Object-Oriented Programming, what is Function 1 referred to, and when does it get invoked/called?
Given the following C++ code, answer the following question.
class TestMeOut
{
public:
~TestMeOut() //Function 1
{cout<<“Leaving the exam hall”<<endl;} TestMeOut() //Function 2
{cout<<“Appearing for exam”<<endl;}
void MyWork() //Function 3
{cout<<“Answering”<<endl;} };
In Object-Oriented Programming, what is Function 2 referred to as, and when does it get invoked/called?
Tamil Nadu Board Samacheer Kalvi solutions for Class 11th Computer Science Answers Guide Chapter 14 Classes and objects Evaluation - Section - D [Pages 247 - 248]
Explain in detail
Mention the differences between constructor and destructor.
Define a class RESORT with the following description in C++ :
Private members:
Rno // Data member to storeroom number
Name //Data member to store user name
Charges //Data member to store per day charge Days //Data member to store the number of days Compute( )/*A function to calculate a total amount as Days * Charges and if the total amount exceeds 11000 then the total amount is 1.02 * Days *Charges */
Public member:
GetInfo( ) /* Function to Read the information like name , room no, charges and days*/
DispInfo( )/* Function to display all entered details and total amount calculated using COMPUTE function*/
Write the output of the following
#include<iostream>
using namespace std;
class student
{
int rno, marks;
public: student(int r, int m)
{
cout << "Constructor " << endl;
rno = r;
marks = m;
}
void printdet()
{
marks = marks + 30;
cout << "Name: Bharathi" << endl;
cout << "Roll no : "<<rno << "\n";
cout << "Marks : "<<marks << endl;
}
};
int main()
{
student s(14,70);
s.printdet();
cout << "Back to Main";
return 0;
}
Solutions for Chapter 14: Classes and objects

Tamil Nadu Board Samacheer Kalvi solutions for Class 11th Computer Science Answers Guide chapter 14 - Classes and objects
Shaalaa.com has the Tamil Nadu Board of Secondary Education Mathematics Class 11th Computer Science Answers Guide Tamil Nadu Board of Secondary Education solutions in a manner that help students grasp basic concepts better and faster. The detailed, step-by-step solutions will help you understand the concepts better and clarify any confusion. Tamil Nadu Board Samacheer Kalvi solutions for Mathematics Class 11th Computer Science Answers Guide Tamil Nadu Board of Secondary Education 14 (Classes and objects) include all questions with answers and detailed explanations. This will clear students' doubts about questions and improve their application skills while preparing for board exams.
Further, we at Shaalaa.com provide such solutions so students can prepare for written exams. Tamil Nadu Board Samacheer Kalvi textbook solutions can be a core help for self-study and provide excellent self-help guidance for students.
Concepts covered in Class 11th Computer Science Answers Guide chapter 14 Classes and objects are Introduction to Classes, Creating Objects, Memory Allocation of Objects, Referencing Class Members, Introduction to Constructors, Declaration and Definition of a Constructor, Types of Constructors, Invocation of Constructors, Characteristics of Constructors, Destructors, Characteristics of Destructors.
Using Tamil Nadu Board Samacheer Kalvi Class 11th Computer Science Answers Guide solutions Classes and objects exercise by students is an easy way to prepare for the exams, as they involve solutions arranged chapter-wise and also page-wise. The questions involved in Tamil Nadu Board Samacheer Kalvi Solutions are essential questions that can be asked in the final exam. Maximum Tamil Nadu Board of Secondary Education Class 11th Computer Science Answers Guide students prefer Tamil Nadu Board Samacheer Kalvi Textbook Solutions to score more in exams.
Get the free view of Chapter 14, Classes and objects Class 11th Computer Science Answers Guide additional questions for Mathematics Class 11th Computer Science Answers Guide Tamil Nadu Board of Secondary Education, and you can use Shaalaa.com to keep it handy for your exam preparation.