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 book back questions in class 11 Computer Science subject.It will helps to get more idea about question pattern in every book back questions with solution.
latest Book back 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.
Debug the error in the following program
#include <istream.h>
structPersonRec
{
charlastName[10];
chaefirstName[10];
int age;
}
PersonRecPeopleArrayType[10];
void main()
{
PersonRecord people;
for (i = 0; i < 10; i++)
{
cout<<people.firstName<< ‘ ‘ <<people.lastName <<people.age;
}
for (int i = 0; i < 10; i++)
{
cout<< "Enter first name: "; cin<<peop[i].firstName;
cout<< "Enter last name: "; cin>>peop[i].lastName;
cout<< "Enter age: "; cin>> people[i].age;}
}
2.
Write the output of the following c++ program
#include<iostream>
#include<stdio>
#include <string>
#include<conio>
using namespace std;
struct books {
char name[20], author[20];
} a[2];
int main()
{ cout<< "Details of Book No " << 1 << "\n";
cout<< "------------------------\n";
cout<< "Book Name :"<<strcpy(a[0].name,"Programming ")<<endl;
cout<< "Book Author :"<<strcpy(a[0].author,"Dromy")<<endl;
cout<< "\nDetails of Book No " << 2 << "\n";
cout<< "------------------------\n";
cout<< "Book Name :"<<strcpy(a[1].name,"C++programming" )<<endl;
cout<< "Book Author :"<<strcpy(a[1].author,"BjarneStroustrup ")<<endl;
cout<<"\n\n";
cout<< "================================================\n";
cout<< " S.No\t| Book Name\t|author\n";
cout<< "====================================================";
for (int i = 0; i < 2; i++) {
cout<< "\n " << i + 1 << "\t|" << a[i].name << "\t| " << a[i].author;
}
cout<< "\n=================================================";
return 0;
}
3.
Write a c++ program to declare and accept an array of professors. Display the details of the department = ”COMP.SCI” and the name of the professors start with ‘A’. The structure “college” should contain the following members.
prof_id as integer
name and Department as character array
4.
Write a C++ Program to declare a structure book containing name and author as character array of 20 elements each and price as integer. Declare an array of book. Accept the name, author, price detail for each book. Define a user defined function to display the book details and calculate the total price. Return total price to the calling function.
5.
Write a C++ program to add two distances using the following structure definition
struct Distance{
int feet;
float inch;
}d1 , d2, sum;
1.
Corrected program
#include <iostream.h>
#include <iomanip>
using namespace std;
struct PersonRec
{
char lastname[10];
char firstname[10]; int age;
}
PersonRecPeople[10];
VoidLoadArray();
int main()
{
Load Array();
for (i=0; i<10; i++)
{
cout<<people[i]. firstname;
cout<<people[i]. lastname;
cout<<setw(10)<<people[i].age<<endl;
}
}
VoidLoadArray()
{
for (int i = 0; i<10; i++)
{
cout<<"Enter first name:";
cin>>people[i].firstName;
cout<<"Enter last name:";
cin>>people[i].lastName;
cout<<"Enter age";
cin>>people[i].age;
}
}
2.
Output
Details of Book No. 1
Book name: Programming
Book author: Dromy
Details of Book No. 2
Book Name: C++ Programming
Book Author: Bjarne Stroustrup
1|programming| Dromy
2|C++ Programming | Bjarne Stroustrup
3.
#incluede< iostream >
using namespace std;
#include< string.h >
struct college
{
int prof.id;
char pname[20];
char dept[20];
} p[10];
int main()
{
int i;
for (i=0; i<10; i++)
{
cout << "Enter professor.id'' << endl;
cin >> p[i].prof_d;
cout << "Enter proferssor name'' << endl:
cin >> p[i].pname;
cout << "Enter department'' << endl;
cin >> p[i].dept;
}
for(i=0;i < 10; i++)
{
int flag= 1;
if(p[i].dept== "COMP.SCI"&& p[i].pname='A')
cout << p[i].prof id << endl;
cout << p[i].pname << endl;
cout << p[i].dept << endl;
}
if(flag==0)
cout << "The given details not found" << endly
return 0;
}
4.
#inclue< iostream.h >
using namespace std;
struct book
{
char bname[20];
char author[20];
int price;
}b[10];
void input (struct book a[])
{
int i;
cout << "Enter the book details'' <
{
cout << "Enter book name"<
cin >> b[i].bname;
cout << "Enter Author name''<
cin >> b[i].author;
cout << "Enter the price of the book"<|
}
}
void display (struct book b[])
{
int i; total = 0;
for(i=0; i<9; i++)
{
cout << "Book Name < cout << "Author Name: < cout << ''Book Price: < total = total + b[i].prince < cout << ''Total price''< }
}
int main()
{
input(b);
display(b);
return 0;
}
5.
#include< iostream >
using namespace std;
struct Distance
{
int feet;
float inch;
}d1, d2, sum;
int main()
{
cout<<"Enter 1st distance:"<<endl;
cout<<"Enter feet:";
cin>>d1.feet;
cout<<"Enter inch:";
cin>>dl.inch;
cout<<"\n information for 2nd distance:"<<endl;
cout<<"Enter feet:"";
cin>>d2.feet;
cout<<"Enter inch:"
cin>>d2.inch;
sum.feet = d1.feet +d2.feet;
sum.inch-d1.inch + d2.inch;
if (sum.inch > 12)
{
++sum.feet;
sum.inch 12;
}
cout<<endl; "Sum of distance="<<sum.feet << "feet" << sum.inch<< "inches";
return 0;
}
Output:
Enter 1st distance
Enter feet: 6
Enter inch: 3.4
Enter 2nd distance
Enter feet: 5
Enter inch: 10.2
Sum of distances = 12 feet 1.6 inches
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