12th Standard Syllabus & Materials
12th Standard
TN 12th Computer Applications மின்னணு தரவு பரிமாற்றம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின் - வணிக பாதுகாப்பு அமைப்புகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின்னணு செலுத்தல் முறைகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின் - வணிகம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications திறந்த மூல கருத்துருக்கள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications வலையமைப்பு வடமிடல் Sample Question Papers Study Material - QB365 Set A

Published on: 03/12/2019
Control Structures
Download Tamil Nadu 12th 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.
How many important control structures in python?
2
3
4
many
2.
Which of the following is used to alter the control flow of the process depending on the state of the process?
control structure
control statement
program statement
control structure or control statement
3.
Which amongst this is not a jump statement?
for
goto
continue
break
4.
5.
The condition in the if statement should be in the form of
Arithmetic or Relational expression
Arithmetic or Logical expression
Relational or Logical expression
Arithmetic
6.
Draw a flow chart that defines the execution of if-else statement.
7.
What is meant by alternative or branching?
8.
Define control structure.
9.
Write is the syntax of if..else statement.
10.
List the control structures in Python.
11.
What will be the range of values displayed by the following?
12.
What is the output of the following Python program?
13.
Write the syntax of working of continue statement in for and while loop.
14.
List the differences between break and continue statements.
15.
Write the syntax of while loop.
16.
Write a program to display multiplication table for a given number.
17.
Write a program to display all 3 digit odd numbers.
1.
(b)
3
2.
(d)
control structure or control statement
3.
(a)
for
4.
(c)
5.
(c)
Relational or Logical expression
6.

7.
There may be situations in our real life programming where we need to skip a segment or set of statements and execute another segment based on the test of a condition. This is called alternative or branching.
8.
A program statement that causes a jump of control from one part of the program to another is called control structure or control statement.
9.
Syntax:
if < condition >:
statements-block 1
else:
statements-block 2
10.
There are three important control Structures
(i) Sequential
(ii) Alternative or Branching
(iii) Iterative or Looping
11.
range (1,30,1) - will start the range of values from 1 and end at 29
range (2,30,2) - will start the range of values from 2 and end at 28
range (30,3,-3) - will start the range of values from 30 and end at 6
range (20) - will consider this value 20 as the end value(or upper limit) and starts the range count from 0 to 19 (remember always ranget) will work till stop -1 value only)
12.
i= 10 # intializing part of the control variable
while (i<=15): # test condition
print (i, end='\t') # statements - block 1
i=i+1 # Updation of the control variable
else:
print ("\n Value of i when the loop exit",i)
Output:1
10 11 12 13 14 15
Value of i when the loop exit 16
13.
for var in sequence:
# code inside for loop
if condition:

while test expression:
#code inside while loop
if condition:

14.
| Break | Continue |
| The break statement terminates the loop containing it. | The continue statement is used to skip the remaining part of a loop. |
| Control of the program flows to the statement immediately after the body ot the loop. | Control of the program flows start with next iteration |
| Syntax : break | Syntax : continue |
15.
Syntax :
while <condition>;
statements block 1
[else:
statements block2]
16.
Multiplication table :
num =int(input("Enter the number: "))
print("multiplication Table of", num)
for i in range(1,11):
print (num,"x",i, "= ",num*i )
Output :
Enter the number : 6
Multiplication Table of 6
6 x 1 = 6
6 x 2 = 12
6 x 3 = 18
6 x 4 = 24
6 x 5 = 30
6 x 6 = 36
6 x 7 = 42
6 x 8 = 48
6 x 9 = 54
6 x 10 = 60.
17.
for i in range (100, 1000):
if a%2==1:
print b
Output :
101,103,105,107,...........,997,999
12th Standard Syllabus & Materials
12th Standard
TN 12th Computer Applications களப்பெயர் முறைமை (DNS) Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications வலையமைப்பு எடுத்துக்காட்டுகள் மற்றும் நெறிமுறைகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications கணினி வலையமைப்பு ஓர் அறிமுகம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications PHP-உடன் MySQL-ஐ இணைத்தல் Sample Question Papers Study Material - QB365 Set A
Tamilnadu Stateboard 12th Standard Subjects

Maths

Chemistry

Physics

Biology

Computer Science

Business Maths and Statistics

Economics

Commerce

Accountancy

History

Computer Applications

Biology

Computer Technology

Computer Applications

Computer Science

Business Maths and Statistics

Commerce

Economics

Maths

Chemistry

Physics

Computer Technology

History

Accountancy

Tamil

English

French
Tamilnadu Stateboard Standards