Xi CS QP
Xi CS QP
Section – A
Each question carries 1 mark
2. Name the Python Library modules which need to be imported to invoke the 1
following functions:
a) randrange()
b) mean()
7. Which of the following are the best security measures that should be taken
1
against phishing attacks?
a) Never open unknown or suspicious email attachments.
b) Never share your personal information such as email, credit card number, etc
on unknown sites.
c) Both a and b
d) None of these
8. Answer in True or False:
1
a) Like ‘+’, all other arithmetic operators are also supported by strings.
b) A=[ ] and A=list() will produce the same result.
prints the number after doubling it. He is not getting desired results, help Sunil to
find and correct the errors in his code given below:
Number=input(“Enter Number”)
DoubleTheNumber = Number*2
Print(DoubleTheNumber)
16. Things like online email account, social media account or handle, online shopping 1
account, online photo sharing account, trademarks, own registered domain name
etc. are collectively called _______________.
(a) Online Identity
(b) Online estate
(c) Digital identity
(d) Digital property
Q17 and 18 are ASSERTION AND REASONING based questions. Mark the
correct choice as
(a) Both A and R are true and R is the correct explanation for A
(b) Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False
(d) A is False but R is True
Property Rights.
Page 3 of 6
20. Predict the output of the Python code given below:
2
T=(1,2,3,4,5,6,7,8)
a) print (T [0])
b) print (T [3:4])
c) print (T [4:1])
d) print (T [2:6:2])
21. Differentiate between System Software and Application Software. 2 22. What are
mutable and immutable data types in Python? Give examples for each. 2
23. Draw the logic circuit diagram for the boolean expression: X=AB'+A’B+AB 2
24. Write a short note on the Act which enforces cyber laws in India. 2 25. Draw a flowchart
Section – C
Each question carries 3 marks
Page 4 of 6
29. Shantanu wanted to gift his brother a football or a wrist watch. So, he searched 3
them online. But after that every time he goes online, his web browser shows him
advertisements about sports items and wrist watches.
(a) Why is this happening?
(b) How could have Shantanu avoided them?
(c) How can Shantanu get rid of this now?
30. Write a python program to print the following pattern:
3
1
23
345
4567
56789
Section – D
Each question carries 5 marks
31. Write python statements using the most appropriate list method/function to 5
Page 5 of 6
33. The record of a student (Name, Roll No., Marks in five subjects, percentage of 5
marks) is stored in the following:
Record = ['Raman','A-36’, [56,98,99,72,69], 78.8]
Write Python statements to retrieve the following information from the list Record.
a) Percentage of the student
b) Marks in the fifth subject
c) Maximum marks of the student
d) Roll no. of the student
e) Change the name of the student from ‘Raman’ to ‘Raghav’
Section – E
Each question carries 4 marks
34. a) Write a Python program to input start and stop range from user and print all 4
Prime number in that range.
35. a) What can be done to reduce risk of identity theft? Write any two ways. 4
----:O:----
Page 6 of 6