Students can access the CBSE Sample Papers for Class 11 Computer Science with Solutions and marking scheme Term 2 Set 5 will help students in understanding the difficulty level of the exam.

## CBSE Sample Papers for Class 11 Informatics Practices Term 2 Set 5 for Practice

Time: 2 Hours
Maximum Marks: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 [2 marks each]

Question 1.
What result will be produced after executing the following code
list1 = [‘Delhi’, ‘Meerut’, ‘Hapur’, ‘Agra’]
list2 – list1
list3 = list1 [:]
list2 [1] = ‘Mumbai’
list3 [3] — ‘Chandigarh’
sum = 0
for i in (list1, list2, list3):
if i [1] = = ‘Mumbai’:
sum + = 5
if i [3] = = ‘Chandigarh’:
sum + = 10 print (sum)

Question 2.
(i) What is the difference between extend() and append() ?
(ii) What is online identity theft?

Question 3.
Write a program to find the sum of all elements in a list.

Question 4.
(i) Explain recycling in e-waste management.
(ii) Explain passive digital footprint

Question 5.
What would be the range of output if following python code is executed? Why? import random
print (15+random.random () *5)

Question 6.
(i) What is licensing?
(ii) What is the use of Reuse process in E-waste management?

Question 7.
What are the differences between lists and tuples?
OR
Write a program to input a list from user and find and display the maximum and minimum element in a list. Also, give its output.

Section – B [3 marks each]

Question 8.
What are the advantages of digital footprint?
OR
What are the effects of cyber bullying and trolling?

Question 9.
Write the output of the following code.
T1 = (10,20,30,40,50)
T2=(10,20,30,40,50)
T3=(100,200,300)
(i) cmp(T1,T2)
(ii) cmp(T2,T3) cmp(T3, T1)

Question 10.
Discuss the various ways to dispose off e-waste.

Section – C [4 marks each]

Question 11.
Write a program in Python to demonstrate the three different ways of copying a list.

Question 12.
(i) What is Internet Privacy? Which types of risk it included?
OR
What are gender inequality issues?
(ii) How websites track their visitors?

Question 13.
Following is a program that prompts for a phone number of 10 digits and two dashes after the area code and the next three digits of the number. It displays if the phone number entered is in valid format or not and also of the phone number is valid or not.
phone_no = ______________ (“ enter phone number with area code:”) #Line 1
check = ()
for a in ______________(______________ (phone_no)): #Line 2
ifa = = 3 or a ==7:
1f Phone_no[a]! = ‘-‘:
print(“invalid input”)
______________#Line3
else:
if not (phone_nolal.isalphaO):
print(“Invalid Input”)
break
else:
print (“valid phone no”, phone_no)
(i) Name the function we should call in Line 1 to take the input.
(ii) Name the function we should call in Line 2 with for loop.
(iii) Name the function we should call in Line 2 to find the length of phone number.
(iv) Name the function we should call in Line 3 to discontinue the statement.
(v) Write the output he wiii obtain while phone number is 017-230-0037.