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 12: Arrays and Structures
Below listed, you can find solutions for Chapter 12 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 12 Arrays and Structures Evaluation - Section - A [Pages 223 - 224]
Choose the correct answer
Which of the following is the collection of variables of the same type that a referenced by a common name?
int
float
Array
class
int age[] = {6,90,20,18,2}; How many elements are there in this array?
2
5
6
4
cin>>n[3]; To which element does this statement accept the value?
2
3
4
5
By default, a string ends with which character?
\o
\t
\n
\b
Structure definition is terminated by ______
:
}
;
::
What will happen when the structure is declared?
it will not allocate any memory
it will allocate the memory
it will be declared and initialized
it will be only declared
A structure declaration is given below.
struct Time
{
int hours;
int minutes;
int seconds;
}t;
Using the above declaration which of the following refers to seconds.
Time. seconds
Time::seconds
seconds
t. seconds
Which of the following is a properly defined structure?
struct {int num;}
struct sum {int num;}
struct sum int sum;
struct sum {int num;};
A structure declaration is given below.
struct employee
{
int empno;
char ename[10];
}e[5];
Using the above declaration which of the following statement is correct.
cout<<e[0].empno<<e[0].ename;
cout<<e[0].empno<<ename;
cout<<e[0]->empno<<e[0]->ename;
cout<<e.empno<<e.ename;
When accessing a structure member, the identifier to the left of the dot operator is the name of ______
structure variable
structure tag
structure member
structure-function
Tamil Nadu Board Samacheer Kalvi solutions for Class 11th Computer Science Answers Guide Chapter 12 Arrays and Structures Evaluation - Section - B [Page 224]
Very Short Answers
What is Traversal in an Array?
What is Strings?
What is the syntax to declare two – dimensional array.
Define structure. What is its use?
What is the error in the following structure definition.
struct employee{ inteno;charename[20];char dept;} Employee e1,e2;
Tamil Nadu Board Samacheer Kalvi solutions for Class 11th Computer Science Answers Guide Chapter 12 Arrays and Structures Evaluation - Section - C [Pages 224 - 225]
Short Answers
Define an Array?
What are the types of Array?
Write note on Array of strings.
The following code sums up the total of all students name starting with ‘S’ and display it. Fill in the blanks with required statements.
struct student {int exam no,lang,eng,phy,che,mat,csc,total;char name[15];};
int main()
{
student s[20];
for(int i=0;i<20;i++)
{ ______ //accept student details }
for(int i=0;i<20;i++)
{
______ //check for name starts with letter “S”
______ // display the detail of the checked name
}
return 0;
}
How to access members of a structure? Give example.
What is called anonymous structure? Give an example?
Tamil Nadu Board Samacheer Kalvi solutions for Class 11th Computer Science Answers Guide Chapter 12 Arrays and Structures Evaluation - Section - D [Pages 225 - 226]
Explain in detail
Write a C++ program to find the difference between two matrices.
Write a C++ program to add two distances using the following structure definition.
struct Distance{
int feet;
float inch;
}d1, d2, sum;
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<< "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;
}
Write the output of the following c++ program.
#include<iostream>
#include<string>
using namespace std;
struct student
{
introll_no;
char name[10];
long phone_number;
};
int main()
{
student p1 = {1,"Brown",123443},p2;
p2.roll_no = 2;
strcpy(p2.name ,"Sam");
p2.phone_number = 1234567822;
cout<< "First Student" <<endl;
cout<< "roll no : " << p1.roll_no <<endl<< "name : " << p1.name <<endl;
cout<< "phone no : " << p1.phone_number <<endl; cout<< "Second Student" <<endl;
cout<< "roll no : " << p2.roll_no <<endl<< "name : " << p2.name <<endl;
cout<< "phone no : " << p2.phone_number <<endl; return 0;
|
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;}
}
Solutions for Chapter 12: Arrays and Structures

Tamil Nadu Board Samacheer Kalvi solutions for Class 11th Computer Science Answers Guide chapter 12 - Arrays and Structures
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 12 (Arrays and Structures) 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 12 Arrays and Structures are Introduction to Arrays and Structures, Types of Arrays, Two-dimensional Array, Array of Strings, Structures Introduction.
Using Tamil Nadu Board Samacheer Kalvi Class 11th Computer Science Answers Guide solutions Arrays and Structures 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 12, Arrays and Structures 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.