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: 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.
(a) Define Multilevel and Multiple inheritance in context of object Oriented Programming Code suitable example to illustrate the same.
(b) Answer the questions (i) to (iii) based on the following code:
class stationery
{
char Type ;
char manufacturer [10] ;
public:
stationery ( );
void Read_Sta_details ();
void Disp_sta_details( ) ;
};
class office: public stationery
}
int no_of types;
float cost_of_sta ;
public:
void Read_off_details( );
void Disp_off details( ) ;
};
class printer: private office
{
int no_of users ;
char delivary_date[10];
public:
void Read_pri _details( );
void Disp_pri _details( ) ;
};
voidmain()
{ printer Myprinter ;
}
(i) Mention the member names which are accessible by MyPrinter declared in main( ) function.
(ii) What is the size of Myprinter in bytes?
(iii) Mention the names of functions accessible from the member function Read yri-details ( ) of class printer.
2.
A railway reservation counter needs to computerise its reservation process. Using the following information write a C ++ program to do so:
class Train {
int number; //Train number
int seats _1; //Total seats in 1st class
int seats _2 ; //Total seats in 2nd class
int seats _3; //Total seats in 3rd class
public;
Train (int i, int j, int k, int l)
{
number = i; seats_1 =j ;
seats-2 =' k;,seats-3 = 1,.
}
int getnum(void)
{ return number; }
int getseats_1(void)
{ return seats_1 ; }
int getseats_2(void)
{ return seats _2 ;}
int getseats - 3 (void)
{return seats - 3:}
};
class Reservation : public Train
{ int bkd_1 ; //Seats reserved in 1st class
int bkd_2 ; ///Seats reserved in 2nd class
int bkd_3 ; ///Seats reserved in 3rd class
public:
int i, j, k, 1;
Reservation (int i, int j, int k, int 1) : Train (i ,j, k,l)
{bkd_1 = bkd_2 = bkd_3 = 0 ; }
void book(char type, int num);
void cancel (char type, int num) ;
void disp_status (void);
};
void Reservation: : book (char type, int num)
{ switch(type)
}
case '1': bkd_1+=num; //addnum to bkd_1
break;
case '2': bkd_2+=num; //addnum to bkd_2
break ;
case '3': bkd_3+=num; Iladdnum to bkd_3
break;
default: cout <<"Wrong class\n";
}
}
void Reservation: : cancel (char type. int num)
{ switch(type)
}
case '1': bkd_1-=num;
break;
case '2': bkd_2-=num;
break ;
case '3' : bkd_3-=num;
break ;
default: cout <<"Wrong class\n" ;
}
}
void Reservation : : disp_stauts (void)
{
cout <<"\t\t Train Numbe r: "<
Unreserved\n" ;
int val;
val = getseats_1 () ;
cout<< "I\t "< xval << "\t "<< bkd_1<< "
\t "<< val-bkd_1 << "\n";
val = getseats_2 () ;
cout << "2\t "<< val << "\t "< xbkd 2 << "
\t "<< val-bkd_2 << "\n";
val = getseats_3 ( ) ;
cout << "3\t "<< val << "\t "<< bkd 3 << "
\t "<< val-bkd_3 << "\n";
3.
Answer the questions (i) to (iv) on the following
code:
class Dolls
{
char DCode[5];
protected :
float Price;
void CalcPrice (float);
public:
Dolls ();
void DInput ( ) ;
void DShow ( ); .
};
class SoftDolls : public Dolls
}
char SDName[20];
float Weight;
public:
SoftDolls ( ) ;
void SDInput ( ) ;
void SDShow ( ) ;
};
class ElectronicDolls : public Dolls
}
char EDName [20];
char BatteryType[10];
int Batteries ;
public: .
Electronic Dolls ( );
void EDInput ( ) ;
void EDShow ( ) ;
};
(i) Which type of Inheritance is shown in the above example?
(ii) How many bytes will be rreqiured by an object of the class ElectronicDolls?
(iii) Write name of all the data memebrs accessible from member functions of the class softDolls.
(iv) Write name of all the member functions accessible by· an object of the class ElectronicDolls.
4.
Consider the following and answer the questions given below:
class MNC
{
char Cname[25] ; //Company name
protected:
char Hoffice[25]; // Head office
public:
MNC( ) ;
char Country [25];
void EnterData ( ) ;
void DisplayData ( ) ;
};
class Branch: public MNC
}
long NOE [Number of employees
\\country char Ctry [25];
protected:
void Association ( ) ;
public:
Branch ( ) ;
void add ( ) ;
void Show ( ) ;
};
class Outlet: public Branch
char State [25];
public:
Outlet ( ) ;
void Enter ( ) ;
void Output ( ) ;
};
(i) Which class constructor will be called first at the time of decla~ation of an object Outlet?
(ii) How many types of on object belonging to class output require?
(iii) Name the number functional which are accessed from the objects of class Outlet.
(iv) Name the data numerical, which are accessible from the object(s) of class Outlet.
5.
Write the output of the following program based on the information given below.
The student Raguram studying in class XII and his roll number is 11201 and the date of birth is 14/01/2002. and he scored 100 marks in all the subjects

# include < iostrearn >
using namespace std;
class student //base class
{
private:
char name[20];
intmo;
public:
void acceptname( )
{
cout<< "\n Enter roll no and name ...";
cin >> rno >> name;
}
void displayname()
{
cout<< "\n Roll no :-"< cout<< "\n Name :-"< } };
class exam : public student
//iderived class with single base class
{
public:
int mark1, mark2 ,mark3,mark4,mark5,mark6;
void acceptmark( )
{
cout << "\n Enter lang,eng,phy,che,csc,mat marks .. ";
cin >> mark1 >>mark2 >> mark3 >> mark4 >> mark5 >> mark6;
}
void displaymark() {
cout<< "\n\t\t Marks Obtained ";
cout<< "\n Language .. "< cout<< "\n English .. "< cout<< "\n Physics .. "< cout<< "\n Chemistry .. "< cout<< "\n Comp.sci .. "< cout<< "\n Maths .. "< }
};
class detail //base classs 2
{
int dd,mm,yy;
char cl[4];
public:
void acceptdob()
{
cout<< "\n Enter date,month,year in digits and class .. ";
cin >> dd >> mm >> yy >> cl;
}
void displaydob()
{
cout << ''n class :-"< cout << "\t\tDOB :,"< }
};
class result: public exam,public detail
//inherits from exam ,which itself is a
//derived class and also from class detail
{
int total;
public:
void showresult( )
{
total=mark1 +mark2+mark3+mark4+mark5+mark6;
cout<<"\nTOTAL MARK SCORED: "< }
};
class detail //base classs 2
{
int dd,mm,yy;
char cl[4];
public:
void acceptdob()
{
cout << "\n Enter date,month,year in digits and class .. ";
cin >> dd >> mm >> yy >> cl;
}
void displaydob( )
{
cout << "\n class :-"< cout << ''\t\tDOB: "< }
};
class result: public exam,public detail
//inherits from exam ,which itself is a
//derived class and also from class detail
{
int total;
public:
void showresult( )
{
total=mark1 +mark2+mark3+mark4+mark5+mark6;
cout << "\nTOTAL MARK SCORED
"< }
};
int main( )
{
result r1;
r1.acceptname( );
//calling base class function using derived class
object
r1.acceptmark ( );
//calling base class which itsel is a derived class
function using its derived class object
int main( )
{
result r1;
r1.acceptname ( );
//calling base class function using derived class
object
rlacceptmark( );
//calling base class which itsel is a derived class
function using its derived class object
r1.acceptdob ( );
cout << "\n\n\t\t MARKS STATEMENT";
r1.displayname ( );
//calling base class function using derived class
object
r1. Ldisplaydob( );
r1.displaymark( );
//calling base class which itsel is a derived class
function using its derived class object
r1.showresult( ); //calling the child class function
return 0;
}
1.
(a) Multiple Inheritance: It is the inheritance hierarchy wherein one derived class inherits from multiple base class(es).
Multilevel Inheritance: It is the inheritance hierarchy wherein a sub class acts as a base class for other classes.
Example of Multiple. Inheritance : Class GL(Group Leader) inherits from classes Employee and Leader

Example of Multievel Inheritance: Class student inherits from person and GraduatesStudent inherits from student.

(b) (i) Data Members - None
Member Functions - Readpri _details ( ),
Disp-pri_details ( )
(ii) 29 Bytes
(iii) Member Functions - Read_sta_details ( ),
Disp_sta_details ( ),
Read_off_details ( ),
Disp_off_details ( ),
Read-pri_details ( ),
Disp-pri_details ( ),
2.
#include< iostream.h >
#include< conio.h > //for clrscr ()
class Train {
//same as before
};
class Reservation: public Train
{
//same as before
};
//same as before
int main ( )
{ clrscr();
int num ;
cout << "Enter Train Number :\n" ; cin >> num ;
cout << "\nEnter total number of seats in 1st class\n";
int s1 ; cin >> s1 ;
cout<< "\nEnter totalnumberofseatsm2ndclass\n";
int s2 ; cin >> s2 ;
cout<< "\nEnter total number of seats in 3rd class\n";
int s3 ; cin >> s3 ;
Reservation Tr(num, sI,s2.s3) ;
char c1_type ;
int choice, seats ;
do
{
cout << "\nMain Menu\n" ;
cout << "1. Reservation \n" ;
cout << "2. Cancellation \n" ;
cout << "3. Display status \n" ;
cout << "4. Exit\n" ;
cout<< "Enter your choice:" ;
cin >> choice; cout << "\n" ;
switch(choice)
{case 1 : cout<< "Which class? (1\2\3): ";
cin > cltype ;
cout << "\nHow many seats?";
cin >> seats ;
cout << "\n";
Tr.book(cl_type, seats);
break;
case 2 : cout <<"Which class? (1\2\3) : ";
cin >> cl_type ;
cout << "\nHow many seats?";
cin>> seats ;
cout << "\n";
Tr.cancel(cl_type, seats) ;
break;
case 3 : Tr.disp_status ( ) ;
break;
case 4 : break ;
default: cout<< 'Wrong choice!!\n"
} ; \\end of switch
} while (choice >> 1 && choice < = 3);
return 0;
} \\end of main ( )
3.
(i) Hierarchical Inheritance
(ii) 41 Bytes
(ill) Price, SDName, Weight
(iv) DInput(), DShow( ), EDInput ( ), EDshow( ).
4.
(i) First of all constructor of class MNC will be called then of Branch and then at last of Outlet.
(ii) 129
(iii) MNC : EnterData(); MNC : : DisplayData 0,
Branch: :AddQ Branch: : show Outlet Enter 0.
Outlet: : Output ( ).
(iv) MNC: Country
5.
Enter roll no and name .. 11201 RAGURAM
Enter lang, eng, phy, che, CSC, mat marks .. 100 100 100
100100 100
Enter date, month, year in digits and class .. 14 01
2002 XII
MARKS STATEMENT
Roll no:-11201
Name:- RAGURAM
class:- XII DOB: 14 - 01 -2002
Marks Obtained
Language.. 100
English .. 100
Physics .. 100
Chemistry.. 100
Comp.sci .. 100
Maths .. 100
TOTAL MARK SCORED: 600
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