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

Published on: 19/09/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.
Write a note an pass statement.
2.
What will the output the following
for w in "school"?
If w = = '0':
continue
print (w)
3.
Draw the flowchart that illustrates the working of continue statement in python.
4.
Write the syntax how break statement used in for loop.
5.
What are the statements are there to achieve jump statements in python?
6.
Write a python program to find the sum of odd numbers between. 10 and 20.
7.
Write a note on the parameters used in print () statement.
8.
What are the two types of looping construct in python?
9.
Write a program in python to check if the accepted number us even or odd (use alternate method of if-else).
10.
What is meant by alternative or branching?
11.
Write note on range () in loop.
12.
Define control structure.
13.
Write is the syntax of if..else statement.
14.
Write note on break statement.
15.
List the control structures in Python.
1.
pass statement in Python programming is a null statement. pass statement when executed by the interpreter it is completely ignored. Nothing happens when pass is executed, it results in no operation.
2.
schl
3.

4.
for var in sequence:
if condtion:

5.
The jump statement in Python, is used to unconditionally transfer the control from one part of the program to another. There are three keywords to achieve jump statements in Python: break, continue, pass. The following flowchart illustrates the use of break and continue.
6.
s = 0
for i in range (11, 21, 2)
s=s+i
print (s)
7.
(i) print can have end, sep as parameters. end parameter can be used when we need to give any escape sequences like '\t' for tab, '\n' for new line and so on.
(ii) sep as parameter can be used to specify any special characters like, (comma) (semicolon) as separator between values
8.
Python provides two types of looping constructs:
(i) while loop
(ii) for loop
9.
a = int (input("Enter any number :"))
x="even" if a%2==0 else "odd"
print (a, "is",x)
Output 1:
Enter any number 3
3 is odd
Output 2:
Enter any number: 22
22 is even
10.
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.
11.
The range() is a built-in function, to generate series of values between two numeric intervals.
The syntax of range() is as follows:
range (start,stop,[step])
Where,
start - refers to the initial value
stop - refers to the final value
step - refers to increment value, this is optional part.
12.
A program statement that causes a jump of control from one part of the program to another is called control structure or control statement.
13.
Syntax:
if < condition >:
statements-block 1
else:
statements-block 2
14.
The break statement terminates the loop containing it. Control of the program flows to the statement immediately after the body of the loop.
15.
There are three important control Structures
(i) Sequential
(ii) Alternative or Branching
(iii) Iterative or Looping
12th Standard Syllabus & Materials
12th Standard
TN 12th Tamil அருமை உடைய செயல் - செய்யுள்-தேவாரம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Tamil அருமை உடைய செயல் - செய்யுள்-பெருமாள் திருமொழி Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Tamil அருமை உடைய செயல் - செய்யுள்-தெய்வமணிமாலை * Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Tamil நாகரிகம், தொழில், வணிகம், ஆளுமை - உரைநடை உலகம் -திரைமொழி 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