Professional Documents
Culture Documents
Dayanand Anglo Vedic Public School, Airoli Term-I Sample Paper 2020-21 Sub: Computer Science STD: Xi M. Marks: 40 Date:30/09/2020 Duration: 2 Hrs
Dayanand Anglo Vedic Public School, Airoli Term-I Sample Paper 2020-21 Sub: Computer Science STD: Xi M. Marks: 40 Date:30/09/2020 Duration: 2 Hrs
i) X + 1 = X ii) L1 = [ 1,2,3,4)
f) Give the data type of the following variables ( Any 6): 3M
a) x= 'Raghav'
b) y= 100.56
c) z=10
d) t=15 +6j
e) var1=[120, 130, 140, 'Ajit']
f) var2=(‘May’, ‘June’, 5, 6)
g) num=true
Q. 2. a) Differentiate between break and continue in Python? 2M
b) Rewrite the following code after removing syntactical errors. Underline each correction done in
the code.
For name in [amar,shweta,parag] 2M
If name[0]=’s’:
Std: XI Page 1 Comp.Sci
Print(name)
OR
a,b = 0
if (a = b)
a +b = c
print z
c) Write a program to find factorial of any given number. Factorial of number 5 is 120 2M
(factorial = 5x4x3x2x1). Consider the following example:
Input: 5
Output: 120
OR
_______________________________************__________________________________________
https://forms.gle/fMGCCzS59eri9xSdA