You are on page 1of 3

KENDRIYA VIDYALAYA SANGATHAN, AHMEDABAD REGION

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

Each question carries 2 marks


Write the output of the following: 2

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

be shared/exchanged/distributed with others?

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)

i) print(T1+T2) (i) print(T2.count(46))


4. Explain the following terms: 2

() Trojan (i) Adware

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.

i) Sona becomes victim of whichtype of cybercrime?


(i) The act of fraudulently acquiring someone's
personal and private
information, such as online account names, login information and
password is called as?
OR
Rajan has to work on his science project which deals with electromagnetic waves. A
lot of research work is
required by him for the same. He uses Google Chrome to
search for the relevant matter.

() 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

Each question carries 3 marks


8 Rajan has created a list to store the marks of students.
Help him to enter marks 3
from the user for 10 students. Write aprogram in python to search the largest
from thelist i.e. find the
value
highest marks from the given list.
OR
Find the output of the following:
L=[10,20,30,40,50,60,70,80]
print(L3:7])
print(L[:4))
print(L[5:)
print(L[:-1])
print(sum(L[0:3]))
print(len(L) + min(L)
9.

| (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.

() Define Digital Footprint.


(i) What measures a user have to take to
keep data secure? Mention any two
measures.

SECTION-C
Each question carries 4 marks
11. Amit has created
dictionary containing Employee Names and Salary as key value |4
a

pairs of 5 employees. Write a program to perform the following operations.


a. Display the minimum salary of employee
b. Display all the key with values whose salary is more than 50000
12. Write a python
program to enter a string from the user and perform the following 4
tasks:

() Count the number of alphabets present in a string


Gi) Count the number of vowels present in a string
OR
Write the statements to perform the following task based the
on given string:
str="Learning python is Fun"
i) Find the word 'Fun' present in str or not
(i) Count the length of the string str
(ii) Convert first letter of every word in capital letter
(iv) Convert entire string in capital
13.i) How many types of digital footprint are there? Name it.
(i) Wite down any two Net Etiquettes.
(ii) What is e-Waste? Give any two ways to
proper disposal of e-Waste?

Page 3/3

You might also like