11th Standard Syllabus & Materials
11th Standard
TN 11th English Supplementary - 3 - The First Patient (Play) Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th English Prose - 3 - Forgetting Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th English Prose - 2 - The Queen of Boxing Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th English Poem - 1 - Once Upon A Time Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th English Prose - 1 - The Portrait of a Lady Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th Computer Applications Tamil Computing Sample Question Papers Study Material - QB365 Set A

Published on: 13/05/2022
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.
latest Creative QuestionsDownload 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.
Answer the questions (i) to (iv) based on the
following code :
class Teacher
{ char TNo[5], TName [20], Dept[10];
int Workload;
protected:
float Salary ;
void AssignSal (float) ;
public:
Teacher ( );
void TEntry ( ) ;
void TDisplay ( ) ;
};
class student
{
char Admno[10], SName [20], Stream [10];
protected:
intAttendance, TotMarks;
public:
Student ( );
void SEntry ( ) ;
void SDisplay ( ) ;
};
class School: public Student, public Teacher
{
char SCode [10], SchName [20] ;
public:
School ();
void SchEntry ( ) ;
void Schfrisplay ( ) ; };
(i) Which type of Inheritance is depicted by the above example?
(ii) Identify the member function(s) that cannot be called directly from the objects of class School from the following:
TEntry ()
SDisplay( )
SchEntry( )
(iii) Write name of all the member(s) accessible from member functions of class School.
(iv) If class School was derived privately from class Teacher and privately from class Student; then, name the member function(s) that could be accessed through objects of class school.
2.
Given the following set of definitions:
class x { :
};
class y : public x
{;
};
class z : public y
{;
};
(i) What order will the constructors and destructor's be invoked in?
3.
Given the following set of definitions. What data
members and functions are directly accessible by
the functions mentioned here?
void inform(void):
class x {
int a;
float b,
void init(void);
public:
char ch; void gett(void)
protected:
doublet;
void get amt (void) ;
friend void A (void);
};
class y: public X
{
intx;
public;
intj;
void readit(void) ;
protected :
void inform (void);
friend void B (void);
};
void display (void);
4.
Write the output of the following program.
# include < iostream >
class person
{
Public:
string profession;
int age;
Person() Profession ("unemployed"),
age (16) {}
void display ( )
{
cout-<<"My profession is:
"<
talk ();
}
void walk()
{ cout-<< "I can walk" <
void talk ()
{cout-<< "I can talk" <
};
Class Teacher: Public Person
{
Public:
void teachrnaths ( )
{cout-<< "I can teach Maths" <
};
Class Player: Public Person
{
Public:
void play football ( )
{ cout-<< "I can play football" <
int main ()
{
Teacher t1;
t1.profession = "Teacher"
t1. age = 24 ;
t1. display ( ) ;
t1. teachmaths( );
Player f1;
f1. profession -= "footballer"
f1. age = 21
f1. display ( ) ;
f1. play football ( ) ;
return 0;
}
5.
Write the output of the. following program.
#include< iostream >
using namespace std;
class base
{
public:
base( )
{
cout<<"\nConstructor of base class ...";
}
~base( )
{
cout << "\nDestructor of base class .... ";
}
} ;
class derived:public base
{
public:
derived()
{
cout << "\nConstructor of derived ...";
}
~derived( )
{
cout << "\nDestructor of derived ...";
}
};
class derived 1 :public derived
{
public:
derived1( )
{
cout << "n\nConstructor of derivedl ...";
}
~derived 10
{
cout << "\nDestructor of derivedl ...";
}
};
int main ()
{
derived 1 x;
return 0;
}
1.
(i) Multiple Inheritance
(ii) AssignSal ( )
(iii) Data Members : Salary, Attendance, TotMakrs, SCode, SchName.
Member Functions : AssignSal( ), TEntry( ), TDisplay( ), SEntry( ), SDisplay( ), SchEntry( ), SchDisplay( )
(iv) SchEntry(), SchDisplay( )
2.
The order of constructor invocation will be
X:: XC), Y::Y( ), and Z:: Z( )
The order of destructor invocation will be reverse of the constructor invocation order i.e.,
Z::~Z( ),Y::~Y( ),X:: ~X( )
3.
The function :: inform ( ) can access public data members of classes X and Y and the function display ( ) provided, the definition of; : inform ( ) occurs after the declaration of X, Y and display ( ).
X:: init(), X:: gett ( ), X:: getamti land A () can access all the members of X and :: inform().
Y :: readit ( ), y : : inform ( ) and B ( ) can access all the member ofY, public and protected member of X (the inherited memebrs) and :: inform ( ) (only withe the scope resolutoin operator: : ).
:: display ( ) can access public members of X and Y, ::.
infonn( ) , and A ( ) and B ( ) if only their declarations (A ( ) 's and B ( ) 's occur before display ( ).
4.
Output:
My profession is : Teacher
My age is : 24
I can walk
I can talk
I can teach Maths.
My profession is : football
My age is 21
I can walk.
I can talk.
I can play football.
5.
Constructor of base class ...
Constructor of derived...
Constructor of derived 1...
Destructor of derived 1...
Destructor of derived...
Destructor of base class ...
11th Standard Syllabus & Materials
11th Standard
TN 11th Computer Applications Computer Ethics and Cyber Security Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th Computer Applications JavaScript Functions Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th Computer Applications Control Structure in JavaScript Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th Computer Applications Introduction to JavaScript Sample Question Papers 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