Marking Scheme
Class: XII Session: 2021-22
Computer Science (Code 083)
computer science answers
1 d. pass
2 b. tuple
3 d. (40,60)
4 b. if we try to read a text file that does not exist, the file gets created.
5 c. myfile = open(‘Myfile.txt’); myfile.readline()
6 d. myfile.readlines()
7 c. both iii and iv
8 a. string
9 d. /
10 b. tup1[2] = 20
11 c. Every line ends with a new line character
12 b. tells the current position of the file pointer within the file
13 b. pickling is used for object serialization
14 a. 0
15 d. Both a and c
16 d. def cal_si(p, r=8, t=2)
17 a. my_func()
18 c. ,
19 d. EOL Translation is suppressed
20 b. Comma Separated Values
21 a. read()
22 c. .py
23 d. #
New Website link