Xi SPL Computer SC Sample Paper
Xi SPL Computer SC Sample Paper
General Instructions :
1. This question paper contains five sections : Section A to E .
2. All questions are compulsory .
3. Section A have 18 questions carrying 01 mark each .
4. Section B has 07 Very Short Answer type questions carrying 02 marks each .
5. Section C has 05 Short Answer type questions carrying 03 marks each .
6. Section D has 03 Long Answer type questions carrying 05 marks each .
7. Section E has 02 questions carrying 04 marks each . One internal choice is given in
Q34 against part (iii) only .
6. All programming questions are to be answered using Python Language only .
Question Marks
SECTION - A
No. Allocated
1 State True or False 1
(A+0).(A.1.A’)
Identify the statement from the list below that will produce the
result as [25, 43, 13, 45, 90]
T = (100,101,-89,45)
print(sum(T)) #Statement 1
print(T.sort()) #Statement 2
x, y, z, w = T #Statement 3
print(sorted(T)) #Statement 4
(a) Statement 1
(b) Statement 2
(c) Statement 3
(d) Statement 4
15 It is a small text file on the user’s computer where visited 1
websites store own information about a user .
25=Val
for I in the range(0,Val)
if I%2=0:
print( I+1)
Else:
print (I-1)
L = [1,2,3,4,5,6,2,3,4]
del L[2]
L.remove(4)
L.pop(3)
print(L)
L.append(9)
L.insert(3,10)
print(L)
OR
Predict the output of the Python code given below:
L = [100,50,60,90,40,10,30,20,80,70]
L.pop()
L.sort()
print(L)
L[3] = 50
L1 = L.count(200)
L.insert(0,L1)
print(L)
(a) X + 1 = X
(b) (A’)’ = A’
(c) A + A’ = 0
(d) (A + B)’ = A.B
22 What is SOC ? How is it different from CPU and why it is 2
considered for better development ?
23 What possible outputs(s) are expected to be displayed on 2
screen at the time of execution of the program from the
following code? Also specify the maximum values that can be
assigned to each of the variables Lower and Upper.
import random
AR=[20,30,40,50,60,70];
Lower =random.randint(1,3)
Upper =random.randint(2,4)
for K in range(Lower, Upper +1):
print (AR[K],end=”#“)
24 Nibedita has recently shifted to new city and new school . She 2
does not know many people in her new city and school . But all
of a sudden , someone is posting negative , demeaning
comments on her social networking profile , school site’s
forum etc.
She is also getting repeated mails from unknown people .
Everytime she goes online , she finds someone chasing her
online .
(a) What is this happening to Nibedita ?
(b) What action should she taken to stop them ?
OR
OR
a={}
a[2]=1
a[1]=[2,3,4]
print(a[1][1])
Example :
OUTPUT :
{'i': 3, ' ': 3, 'l': 1, 'k': 1, 'e': 1, 'p': 2, 'y': 1, 't': 1, 'h': 1, 'o': 2, 'n': 2,
'r': 2, 'g': 2, 'a': 1, 'm': 2}
str="Exam@7PM"
m=""
for i in range(0,len(str)):
if(str[i].isupper()):
m=m+str[i].lower()
elif str[i].islower():
m=m+str[i].upper()
else:
m=m+"#"
print(m)
OR
Text = "Pattern123"
L=len(Text)
ntext= ""
for i in range(0,L):
if Text[i].isupper():
ntext = ntext + Text[i].lower()
elif Text[i].isalpha():
ntext=ntext + Text[i].upper()
else:
ntext=ntext + '@'
print(ntext)
Example :
OUTPUT :
29 (a) What can be done to reduce the risk of identity theft ? Write 3
any two ways .
(b) Enumerate any two disability issues while teaching and
using computers .
(c) Differentiate between open source and open data .
30 Write the program in Python to shift the negative numbers to 3
right and the positive numbers to left so that the resultant list
will be as follows :
Example :
New List : [1, 16, 5, -6, -3, -17, -15, -3, -2]
OR
Example :
OUTPUT :
SECTION - D
31 (a) Write a Python Program to input an integer number from 3
the user and find the sum of digits of that integer number .
Example :
OUTPUT :
Sum of digits : 12
(b) Write a Python Program to print the Fibonacci series for nth
number of terms . 2
Example :
OUTPUT :
0 1 1 2 3 5 8
32 (a) Write a python program to input a string having some digits 3+2
and alphabets and calculate the sum of digits and alphabets
present in that string .
For example :
Output :
OR
OR
Example :
OUTPUT :
SECTION - E
34 Yagnesh a fruit seller, who sales the seasonal fruits . 1+1+2
Total_Fruits = [ ]
Summer_Fruits = ['Mango' , 'Papaya' , 'Watermelon',
'Pineapple', 'Litchi']
Winter_Fruits = ['Orange' , 'Pear', 'Pomegranate', 'Kiwi' ,
'Pineapple']
print("Summer Season Fruits :", Summer_Fruits)
print("Winter Season Fruits :", Winter_Fruits)
Total_Fruits.append(sumwin_Fruits)
Rainy_Fruits = ['Jamun','Peaches','Cherries']
Total_Fruits________________ #Statement1
print("The Fruitseller has : ",Total_Fruits)
print()
print("One of the Rainy season Fruit : ",
Total_Fruits[1][1]) #Statement2
print()
__________________ #Statement3
(iii) At the end of each day , he sales all of his fruits and he
returns back home with empty Fruit basket and smiley face .
Write an appropriate statement in Statement5 to empty his
Fruit basket . Write an appropriate statement to destroy the
basket also .
(ii) The program that tracks the usage of the system without the
knowledge of the owner is __________________.