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: 05/09/2022
QB365 provides a detailed and simple solution for every Possible Creative Questions in Class 12 Computer Science Subject - Control Structures , English Medium. It will help Students to get more practice questions, Students can Practice these question papers in addition to score best marks.
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.
What are the values taken by range ()?
2.
Write a python program to find the sum of odd numbers between. 10 and 20.
3.
Write a python program to find the sum of even numbers between 1 and 10.
4.
Write a python program to calculate the sum of numbers between. 1 and 100.
5.
What is the expression. or statement at? 1? and ?2? in the following program to get the output 2 4 6 8.
for ?!? in range (2, ?2?, 2):
print (i, end =")
6.
What will the output of the following program?
for i in range (1,9, 2):
print (i, end = ' ')
else:
print (")n. End of the loop")
7.
Draw the flowchart that illustrates the working of for loop.
8.
Write the syntax of for loop.
9.
Write a note on the parameters used in print () statement.
10.
What are the two types of looping construct in python?
11.
Write a program in python to check if the accepted number us even or odd (use alternate method of if-else).
12.
Write the syntax of alternative method to write complete if-else.
13.
Write a program in python to check if the accepted number even or odd.
a = int(input("Enter any number:"))
if a%2==0:
print (a, "is an even number")
else:
print (a, "is an odd number")
14.
Draw a flow chart that defines the execution of if-else statement.
15.
What is meant by alternative or branching?
1.
It take values from string, list, dictionary.
2.
s = 0
for i in range (11, 21, 2)
s=s+i
print (s)
3.
s = 0
For i in range (2,11,2)
s=s+i
print (s)
4.
Program to calculate the sum of numbers 1 to 100
Program:
n= 100
sum=0
for counter in ranget (1, n + 1):
sum = sum + counter
print("Sum of 1 until %d: %d" % (n,sum))
Output:
Sum of 1 until 100: 5050
5.
?1? - i
?2? - 10
6.
Output:
1, 3, 5, 7
End of the loop
7.

8.
Syntax:
for counter_variable in sequence:
statements-block 1
[else: # optional block
statement-block 2]
9.
(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
10.
Python provides two types of looping constructs:
(i) while loop
(ii) for loop
11.
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
12.
Syntax:
variable = variablel if condition else variable 2
13.
Output:
Enter any number: 56
56 is an even number
Output 2:
Enter any number: 67
67 is an odd number
14.

15.
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.
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