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: 27/09/2019
Flow of Control
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.
Name the elements used in loop.
2.
Write the three types of iteration?
3.
What is the use of iteration statements?
4.
Define iteration.
5.
What is if statement is executed?
6.
Write the syntax of if statement.
7.
What is body of the loop?
8.
Compare an if and a?: operator.
9.
Write a while loop that displays numbers 2, 4, 6, 8.......20.
10.
Write a for loop that displays the number from 21 to 30.
11.
What is the output of the following code?
for (int i = 2; i < = 10 ; i + = 2)
cout << i;
12.
What will be the output of the following code:
int year;
cin >> year;
if (year % 100 == 0)
if ( year % 400 == 0)
cout << "Leap";
else
cout << "Not Leap year";
If the input given is
(i) 2000
(ii) 2003
(iii) 2010?
13.
Correct the following code sigment:
if (x = 1)
p = 100;
else
p = 10;
14.
What is selection statement? write it's types?
15.
What is a null statement and compound statement?
1.
(i) Initialization expression
(ii) Test expression
(iii) Update expression
(iv) The body of the loop
2.
(i) for statement
(ii) while statement
(iii) do-while statement
3.
Iteration statements is used to reduce the length of code, to reduce time, to execute program and takes less memory space.
4.
An iteration (or looping) is a sequence of one or more statements that are repeatedly executed until a condition is satisfied. These statements are also called as control flow statements.
5.
The if statement evaluates a condition, if the condition is true then a true-block (a statement or set of statements) is executed, otherwise the true-block is skipped.
6.
if (expression)
true-block;
statement-x;
7.
The set of statements that are executed again and again is called the body of the loop.
8.
|
if |
?: |
|---|---|
| 'if' is a c++ statement Syntax: if (expression) true-block; statement-x; |
'?:' is a c++ operator. Syntax: Expression 1? Expression 2: Exp 3: |
9.
#include
using namespace std;
int main()
{
int i = 2:
while (i<=20)
cout << i <<"\t";
i+= 2;
}
return 0;
}
Output:
2 4 6 8 10 12 13 14 16 18 20
10.
#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
11.
Output:
2 4 6 8 10.
12.
If the input given is (i) 2000 (ii) 2003 (iii) 2010?
(i) Output
(Input = 2000)
Leap
(ii) Output
(Input-2003)
Not leap Year
(iii) Output
(Input = 2010)
Not leap Year
13.
| Given Code | Corrected Code |
| if (x = 1) p = 100; else p = 10; |
if (x ==1) p =100; else p = 10; |
14.
The selection statement means the statements are executed depends upon a condition. If a condition is true, a true block (a set of statements) is executed, otherwise a false block is executed. This statement is also called decision statement or selection statement because it helps in making decision about which set of statements are to be executed.
Types: (i) Two way branching, (ii) Multiway branching.
15.
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;
}
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