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 - Python - Variables and Operators , 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.
Identify the type of literals.
(i) OX13B
(ii) i+34j
(iii) 12e05
(iv) 0346
2.
Assume a = 1000 b = 10, Evaluate the following expression.
(i) a%30
(ii) a/b
(iii) b**2
(iv) b//3
3.
Fill in the blanks.
(i) _____ statements are ignored by Python interpreter.
(ii) The value of an operator used is called _______
(iii) 100/30 = ______
4.
What are the rules followed while defining python identifier?
5.
How will you define program blocks in python?
6.
Write a note on statement which are ignored by the Python interpreter.
7.
Write a short note on comment statement.
8.
Write a Python program to get the following output.
Output:
Enter Number 1: 50
Enter Number 2: 50
The sum of 50 and 50 is 100
9.
Write a Python programme to get the following output.
Output:
Enter Number 1: 50
Enter Number 2: 50
X = 50 Y = 50
10.
Why the following statement not accept the data as numbers? Give reason and also state what function is used to accept the number.
11.
Fill up the blanks to get the following output from Python code given.
Output:
Enter Number 1: 34
Enter Number 2: 70
The Sum = 104
Code:
X = \(\overset { (1) }{ \_ \_ \_ \_ \_ } \) (input ("Enter Number 1:"))
Y = \(\overset { (2) }{ \_ \_ \_ \_ \_ } \) (\(\overset { (3) }{ \_ \_ \_ \_ \_ } \) ("Enter Number 2 :"))
\(\overset { (4) }{ \_ \_ \_ \_ \_ } \) ("The sum =", \(\overset { (5) }{ \_ \_ \_ \_ \_ } \))
12.
Fill in the blanks.
>>> city = \(\overset { (1) }{ \_ \_ \_ \_ \_ } \) ("Enter your City")
Enter your city \(\overset { (2) }{ \_ \_ \_ \_ \_ } \)
>>> print ("I am from", \(\overset { (3) }{ \_ \_ \_ \_ \_ } \))
I am from Chennai
13.
Write the function of the following
(i) Ctrl + N
(ii) Ctrl + S
(iii) F5
14.
Differentiate two ways in which Python programs can be written.
15.
Write the key features of Python.
1.
(i) Hexadecimal literal
(ii) Complex literal
(iii) Floating point literal
(iv) Octal literal
2.
(i) 100
(ii) 100.0
(iii) 100
(iv) 3
3.
(i) Comment
(ii) Operands
(iii) 3
4.
(i) An identifier must start with an alphabet (A..Z or a..z) or underscore (_)..
(ii) Identifiers may contain digits (0 .. 9).
(iii) Python identifiers are case sensitive i.e. uppercase and lowercase letters are distinct. (iv) Identifiers must not be a python keyword.
(v) Python does not allow punctuation character such as %,$, @ etc., within identifiers.
5.
(i) Python uses whitespace such as spaces and tabs to define program blocks whereas other languages like C, C++, java use curly braces { } to indicate blocks of codes for class, functions or body of the loops and block of selection command.
(ii) The number of whitespaces (spaces and tabs) in the indentation is not fixed, but all statements within the block must be indented with same amount spaces.
6.
(i) In Python, comments begin with hash symbol (#). The lines that begins with # are considered as comments and ignored by the Python interpreter.
(ii) Comments may be single line or no multilines. The multiline comments should be enclosed within a set of # as given below.
# It is Single line Comment
# It is multiline comment
which contains more than one line #
7.
(i) In Python, comments begin with hash symbol (#). The lines that begins with # are considered as comments and ignored by the Python interpreter.
(ii) Comments may be single line or no multilines. The multiline comments should be enclosed within a set of # as given below.
# It is Single line Comment
# It is multiline comment
which contains more than one line #
8.
x = int(input ("Enter Number 1")
y = int(input("Enter Number 2")
print ("The sum of", x, " and ", y, "is", x+y)
9.
x, y = int (input("Enter Number 1:")),
int (input ("Enter Number 2:" ))
print ("X =,x", " Y =, y" )
Output:
Enter Number 1 : 30
Enter Number 2 : 50
X= 30 Y = 50
10.
x = input ("Enter number")
Reason : If a numerical value is entered, the input values should be explicitly converted into numeric data type. The int ( ) function is used to convert string data as integer data explicitly.
11.
(1) int
(2) int
(3) input
(4) print
(5) x + y
12.
(1) input
(2) Chennai
(3) City
13.
(i) to open Python shell window.
(ii) to save the Python file.
(iii) to run the Python program.
14.
(i) In Python, programs can be written in two ways namely Interactive mode and Script mode.
(ii) The Interactive mode allows us to write codes in Python command prompt >>> whereas in script mode programs can be written and stored as separate file with the extension.
(iii) py and executed. Script mode is used to create and edit python source file.
15.
(i) It is a general purpose programming language which can be, used for both scientific and non-scientific programming.
(ii) It is a platform independent programming language.
(iii) The programs written in Python are easily readable and understandable.
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