You are on page 1of 1

MOUNT LITERA ZEE SCHOOL- GOA

TEST 5
Subject: Computer Science Marks: 15
Class XII Science/Commerce/Humanities

1. Answer the following


a) What is pickling? (1) (01)
b) What is the significance of using a file? (1) (01)
c) Write the full form of CSV (1) (01)
d) What is the default file opening mode for a text file? (1) (01)
e) Which functions you use to write data in a binary file? (1) (01)

2. Write the output of the following (02)


def power(a,b=2):
r=1
for i in range(b):
r=r*a
return r
print(power(4))
print(power(4,3))

3. Give one difference between seek( ) and tell( ) function (02)

4. State the use of global keyword. Give an example to illustrate its use. (03)

5. Define Big ‘0’ notation. State the two factors which determine the complexity of an algorithm. (03)

You might also like