11th Standard Syllabus & Materials
11th Standard
TN 11th Computer Science Flow of Control Sample Question Papers Study Material - QB365 Set B
NEW11th Standard
TN 11th Computer Science Iteration and recursion Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th Computer Science Composition and Decomposition Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th Computer Science Specification and Abstraction Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th Computer Science Working with Windows Operating System Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th Computer Science Theoretical Concepts of Operating System Sample Question Papers Study Material - QB365 Set A

Published on: 24/08/2026
Download 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.
Write a for loop that displays the number from 21 to 30.
2.
What is the output of the following code?
for (int i = 2; i < = 10 ; i + = 2)
cout << i;
3.
What is a null statement and compound statement?
4.
Match the following
| A | B |
|---|---|
| (a) Modulus | (1) Tokens |
| (b) Separators | (2) Remainder of a division |
| (c) Stream extraction | (3) Punctuators |
| (d) Lexical Units | (4) get from |
5.
The following constants are of which type?
(i) 39
(ii) 032
(iii) 0XCAFE
(iv) 04.14
6.
What are keywords? Can keywords be used as identifiers?
7.
What is meant by a token? Name the token available in C++.
8.
Write a short program to print following series:
(a) 1 4 7 10...... 40
9.
Write the syntax and purpose of switch statement.
10.
Write a C++ program to print multiplication table of a given number.
11.
Why is main function special?
12.
Differentiate “=” and “==”.
13.
Is C++ case sensitive? What is meant by the term “case sensitive”?
14.
Describe the differences between keywords and identifiers?
15.
16.
What are the types of Errors?
17.
A loop that contains another loop inside its body:
Nested loop
Inner loop
Inline loop
Nesting of loop
18.
Which of the following is called entry control loop?
do-while
for
while
if-else
19.
Which of the following is the exit control loop?
for
while
do ... while
if ... else
20.
How many times the following loop with execute? for (int i=0; i<10; i++).
0
10
9
11
21.
How many types of iteration statements?
2
3
4
5
22.
The multi way branch statement:
if
if...else
switch
for
23.
In C++, the group of statements should be enclosed within:
{ }
[ ]
( )
< >
24.
What is the alternate name of null statement?
No statement
Empty statement
Void statement
Zero statement
25.
This can be used as alternate to endl command:
\t
\b
\0
\n
26.
What is the output of the following snippet?
char ch = 'A';
ch = ch + 1;
B
A1
F
1A
27.
What will be the result of following statement?
char ch= 'B';
cout << (int) ch;
B
b
65
66
28.
Which of the following is a valid string literal?
'A'
'Welcome'
1232
"1232"
29.
The smallest individual unit in a program is:
Program
Algorithm
Flowchart
Tokens
30.
Who coined C++?
Rick Mascitti
Rick Bjarne
Bill Gates
Dennis Ritchie
31.
Who developed C++?
Charles Babbage
Bjarne Stroustrup
Bill Gates
Sundar Pichai
1.
#include <iostream>
using namespace std;
int main()
{
for (int -21; i <31; i++)
cout << "value of i:"<<<i<<< endl;
return 0;
}
Output
Value of i: 21
Value of i: 22
Value of i: 23
Value of i: 24
Value of i: 25
Value of i: 26
Value of i: 27
Value of i: 28
Value of i: 29
Value of i: 30
2.
Output:
2 4 6 8 10.
3.
Null statement
The "null or empty statement" is a statement containing only a semi colon. It takes the following
form:
;// it is a null statement.
Null statement are commonly used as place holders in iteration statements or as statements on which to place labels at the end of compound statements or functions.
Compound statement
C++ allows a group of statements enclosed by pair of braces (). This group of statements is called as a compound statement or a block.
The general format of compound statement is:
{
statement 1;
statement 2;
statement 3;
}
for example:
{
int a,b;
a-8;
b=a+8;
}
4.
| A | B |
|---|---|
| (a) Modulus | (2) Remainder of a division |
| (b) Separators | (3) Punctuators |
| (c) Stream extraction | (4) get from |
| (d) Lexical Units | (1) Tokens |
5.
(i) 39 - Decimal
(ii) 032 - Octal
(iii) 0XCAFE - Hexadecimal
(iv) 04.14 - Decimal
6.
Keywords are the reserved words which convey specific meaning to the C++ compiler. They are the essential elements to construct C++ programs. Most of the keywords are common to C, C++ and Java. Keywords are reserved and cannot be used as identifiers.
7.
C++ program statements are constructed by many different small elelments such as commands, variables, constants and many more symbols called as operators and punctuators. Individual elements are collectively called as Lexical units or Lexical elements or Tokens. C++ has the following tokens:
(i) Keywords
(ii) Identifiers
(iii) Literals
(iv) Operators
(v) Punctuators
8.
#include <iostream>
using namespace std;
int main()
{
cout<<"\n PRINT SERIES";
for (int i=1;i< 40; i=i+3)
cout << i << "1+";
cin.get():
return ();
}
9.
The switch statement is a multi-way branch statement. It provides an easy way to dispatch execution to different parts of code based on the value of the expression. The switch statement replaces multiple if-else sequence.
The syntax of the switch statement is;
switch(expression)
{
case constant 1:
statement(s);
break;
case constant 2:
statement(s);
break;
.
.
.
.
default:
statement(s);
}
10.
The syntax of if-else ladder:
#include <iostream>
using namespace std;
int main()
(
int num:
cout<<"Enter Number to find its multiplication table";
cin >> num;
for (int a = 1; a<= 10; a++)
{
cout << num << "*" << a << "=" << num*a << endl;
}
return 0;
}
11.
C++ program is a collection of functions. Every C++ program must have a main function. The main() function is the starting point where all C++ programs begin their execution. Therefore, the executable statements should be inside the main() function.
12.
| = | == |
| " = "is an assignment operator | " == " is an equal to operator and it is a relational operator. |
| It is used to assign the value of variable or expression | It is used for comparison of both left and right side operands. |
| Eg: a = b (b value is assigned to a) | Eg: a==b (a value will be compared with b value). |
13.
C++ is a case sensitive programming language so, all the keywords must be in lowercase. Case sensitive means that the uppercase and lowercase letters are considered differently.
14.
| Keywords | Identifiers |
|---|---|
| Keywords are the reserved words which convey specific meaning to the C++ compiler. |
Identifiers are the user-defined names given to different parts of the the C++ program. |
| They are the essential elements to construct C++ programs. | They are the fundamental building blocks of a program. |
| Most of the keywords are common to C, C++ and Java. | Every language has specific rules for naming the identifiers. |
15.

16.
| Type of Error | Description |
| Syntax Error | Syntax errors occur when grammatical rules of C++ are violated. |
| Semantic Error | Semantic Error occur when there is wrong use of variable/ operator/order of execution etc. It is also called as Logical Error. |
| Run-time error | A run time error occurs during the execution of a program. It is occurs because of some illegal operation that takes place. |
17.
(a)
Nested loop
18.
(a)
do-while
19.
(c)
do ... while
20.
(b)
10
21.
(b)
3
22.
(c)
switch
23.
(a)
{ }
24.
(b)
Empty statement
25.
(d)
\n
26.
(a)
B
27.
(d)
66
28.
(d)
"1232"
29.
(d)
Tokens
30.
(a)
Rick Mascitti
31.
(b)
Bjarne Stroustrup
11th Standard Syllabus & Materials
11th Standard
TN 11th Computer Science Computer Organization Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th Computer Science Number Systems Sample Question Papers Study Material - QB365 Set A
NEW11th Standard
TN 11th Computer Science Introduction to Computers 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