11th Computer Science Chapter 9 To 12 Model Question Paper English Medium
11th Computer Science Chapter 9 To 12 Model Question Paper English Medium
11th Computer Science Chapter 9 To 12 Model Question Paper English Medium
com
STD XI – Model Question Paper 1
Chapters 9 to 12 – Volume II
Computer Science Time : 1.15 Hrs
Marks : 35
I Choose the Best Answer 5X1=5
1. Which of the following statement is not true?
a) Exponent form of real constants consists of two parts
b) Identifiers are user defined names
c) C++ is a non case sensitive programming language
d) Keywords are reserved words which convey special meaning
2. Modifiers are also called as __________
a) Access specifiers b) data types c) qualifiers d) none of these
3. Which operator reveals the hidden scope of a variable?
a) Conditional b) global c) reference d) scope
4. What kind of values does an array element hold until it is initialized?
a) Null b) garbage c) 0 d) 1
5. The definitions of the functions are stored in -----------------
a) Header files b) templates c) stacks d) compilers
www.Padasalai.Net
7. What is the formula for calculating the memory space for an array
(OR)
What is meant by reusability?
8. Give the syntax of if-else-if ladder?
9. What is the purpose of a structure?
10. Explain the getline( ) function
11. What is a Null statement and how is it different from a compound statement?
III Answer any Four of the Six Questions. Question no 15 is compulsory 4 x 3 = 12
12. In C++ which are the operators that can be used at different places with different meanings? Explain
13. What is the use of Void command?
14. State any three rules for constructing a switch statement
15. How is memory representation of a 2D array done?
(OR)
How can you access a structure element ? Give example
16. Write a note on the parts of a loop structure
17. What are punctuators and explain any three punctuators with their functions ?
IV Answer all the questions 2 x 5 = 10
18. Explain call by value method with an example
(OR)
Debug the errors in the following program and state the reason
http://www.trbtnpsc.com/2018/06/latest-plus-one-11th-study-materials-tamil-medium-english-medium-new-syllabus-based.html
www.Padasalai.Net www.TrbTnpsc.com
# include <stdio.h>
Int main (s )
{
Int no=5;
Cout>>”\n the no is ‘>;
Cout << “\n the factorial is ‘ “ << fact(no)
}
Int factorial ( int y)
{
for( int i = 1; i < = no ; i ++);
f = f * I;
return f;
};
19. Explain any one entry check loop structure with its working and an example
(OR)
Find the output of the following code – the input given is 51, 32, 46, 9, 0
#include <iostream>
using namespace std;
int main()
{
int num[10], even=0, odd=0;
www.Padasalai.Net
for (int i=0; i<5; i++)
{
cout<< "\n Enter Number " << i+1 <<"= ";
cin>>num[i];
if (num[i] % 2 == 0)
++even;
else
++odd;
}
cout << "\n There are "<< even <<" Even Numbers";
cout << "\n There are "<< odd <<" Odd Numbers";
}
http://www.trbtnpsc.com/2018/06/latest-plus-one-11th-study-materials-tamil-medium-english-medium-new-syllabus-based.html
www.Padasalai.Net www.TrbTnpsc.com
STD XI – Model Question Paper 2
Chapters 9 to 12 – Volume II
www.Padasalai.Net
cout << i ;
8. What is the importance of void data type?
(or)
State the need for using functions
9. What is traversal in an array?
10. What does scope refer to ? List the different types of scopes available in C++
11. List an explain any two string functions
http://www.trbtnpsc.com/2018/06/latest-plus-one-11th-study-materials-tamil-medium-english-medium-new-syllabus-based.html
www.Padasalai.Net www.TrbTnpsc.com
19. Explain the different types operators (any 5 operators) in C++ with suitable examples
(or)
Find the output of the following programme for all the inputs given
# include <iostream>
using namespace std;
int main( )
{
int year;
cin>> year;
if( year % 100 = = 0)
if( year % 400 = = 0)
cout<< “leap year”;
else
cout<< “ not a leap year”;
}
www.Padasalai.Net
If the input given is
a) 2000 b) 2004 c) 2010 d) 2013 e) 1998
http://www.trbtnpsc.com/2018/06/latest-plus-one-11th-study-materials-tamil-medium-english-medium-new-syllabus-based.html