12th-Computer-Science
12th-Computer-Science
Com
NANDHAKUMAR POONGOTHAI M.Sc., M.Phil., B.ed.,
PART : I
et
i.N
Note : ( I ) All the questions are compulsory. 15 x 1 = 15
( II ) Choose the most appropriate answer from the given four
la
alternatives and write the option code and the
corresponding answer.
sa
2. The process of providing only the essentials and hiding the details is known
as _______
w.
et
10. The human readable text file where each line has a number of fields,
separated by commas:
12. Python is a:
da
PART : II
18. Write a short note about token and list the token types of python.
et
21. What is List in Python? Write with an example.
i.N
22. List out any four characteristics of DBMS.
la
23. Mention the two ways to read a CSV file using Python.
sa
PART : III
Pa
25. Answer to the following questions with the help of the function given below:
if b=0 then 1
x=20
x-=5
et
import matplotlib.pyplot as plt
i.N
plt.plot([1,2,3,4], [1,4,9,16])
plt.show( )
la
PART : IV
sa
(OR)
w.
Explain about the input( ) and print( ) functions in python with suitable
example.
ww
35. Explain about the Nested if...elif...else statement of python with suitable
example.
(OR)
36. Explain the different set operations supported by python with suitable
example.
(OR)
(OR)
Write the syntax for getopt( ) and explain its arguments and return values.
38. Write in brief about SQLite and the steps used to use it.
(OR)
x = [1,2,3]
et
y = [5,7,4]
x2 = [1,2,3]
i.N
la
y2 = [10,14,12]
sa
plt.xlabel('X-Axis')
Pa
plt.ylabel('Y-Axis')
w.
plt.title('LINE GRAPH')
ww
plt.legend( )
plt.show( )