Professional Documents
Culture Documents
CLASS XI
SUBJECT- COMPUTER SCIENCE
TERM I EXAMINATION (2021-22)
Time: 2 hrs M.M. 35
General Instructions
The question paper is divided into 3 sections - A, B and C
Section A, consists of 7 questions (1-7). Each question carries 2 marks.
Section B, consists of 3 questions (8-10). Each question carries 3 marks.
Section C, consists of 3 questions (11-13). Each question carries 4 marks.
Internal choices have been given for question numbers 7, 8 and 12
SECTION - A
s="Welcome to Programming"
n=len(s)
m
for i in range(0,n):
if(s[i]>= 'a' and sil <= 'm'):
m=m+s[].upper()
elif(s[i]> = 'n' and s[i] <=z):
m=m+ s[i-1]
elif s[i).isupper():
m=m+si]lower()
else:
m=m+#
print(m)
of Internet
2 ) Boby is a student of Class 9 and she is a very frequent user 2
applications. One day she got an unpleasant message on her instant messenger.
What she should do?
(i) Name the rights ofthe owner of information to decide how much information is to
3. Consider the following tuple t1 and 12. Based on it answer the given statements. 2
T1=(10,20,30,40)
T2 = (46,23,14,43,36,[46,22]43,46)
Page 1/3
Write the output of the following code
O.
SUMEDH',5:'SANAYA,2:'AYAAN',3:'VISHVWA',6: KUSH',4:'SHAILLY 2
D1-{1:
print(D1 len(D1)-3])
print(D1.values()
Asmita has copied article from the lnternet and submitted in schoolto
6. (i) 1
publish in school magazine by her name. She has not given credit to
its author. Which type of crime it is?
(i) Linux, MysQL and Mozilla Firefox software comes under which
category?
Sona has recently changed her school so she is not aware of the people, but 2
someone is posting negative, demeaning comments on her social media profile. She
is also getting repeated mails from unknown people. Every time she goes online, she
finds someone chasing her online.
() Rajan finally locates some useful information and clicks on the link
provided to access the website. What is that link known as?
(ii) How cookies is harmful?
Explain if
SECTION - B
| (1) Based on the given python code chose the correct possible output from the
following:
import random
A=random.randint(1,5)
B=random.randint(1,3)
C=random.randint(2.6)
print(A.B,C)
() 2 1 3 (i) 4 4 4 (ii) 3 21 (iv) 5 3 5
(11) Write the utility of following methods/function of math module with example: 1
) pow() i) fabs()
10.
SECTION-C
Each question carries 4 marks
11. Amit has created
dictionary containing Employee Names and Salary as key value |4
a
Page 3/3