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

CBSE Sample Papers for Class 11 Informatics Practices Term 2 Set 1 with Solutions

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.
Find the output
a = [10, 20, 30, 40, 50, 60, 70]
print (a [4 :1: – 5])

Question 2.
(i) Write the output of the following.
string = ‘Oswaal’
print(list(stringl))
(ii) Why does eavesdropping activities go unnoticed?

Question 3.
Write a Python Program to generate a random number between 0 and 9.

Question 4.
(i) Who are cyber trolls?
(ii) What are gender issues while teaching learning and using computer?

Question 5.
Observe the following code and find the output:
Write a Python program to generate a random number between 0 and 9.
arr = I[l, 3,5,7], [9,11,13,15], [17,19,21,23], [25,27,29,31]] for i in range (0,4):
print (arr [i], pop ())

Question 6.
(ii) What are Worms and Trojan horses?

Question 7.
What is statistics module? Also, explain functions defined in it.
OR
Which function is used to find the absolute value of any number? Also, give an example.

Section – B [3 marks each]

Question 8.
Write a short note on netiquette.
OR
What do you mean by copyright?

Question 9.
What is the difference between the outputs of the code#l and code#2? Give reasons. IS]
(i) code#1
t1=(1,2,3)
t2=(4,5,6)
t3= t1+t2
print(“New tuple is :”,str(t3))

(ii) code #2
t1=(1,2,3),
t2=(4,5,6),
t3=t1+t2
print(”New tuple is :”,str(t3))

Question 10.
How is backup utility useful? Is it necessary to backup data?

Section – C [4 marks each]

Question 11.
Write a python program to find the frequency of a number in a list.

Question 12.
(i) What involve using technology to determine and reveal criminal evidence? Also, explain the techniques.
OR
What measures would you take to avoid –
(a) Virus attack
(b) Spyware
(d) Spam
(e) PC Intrusion
(ii) What precautions should be taken while handling emails?

Question 13.
Presume that a ladder is put upright against a wall. Let variables length and angle store the length of the ladder and the angle that it forms with the ground as it leans against the wall. Rohit writes a Python program to compute the height reached by the ladder on the wall for the following value of length and angle:
16 feet and 75 degrees
Program:
#import the __________ module, to use sin & radians function
import __________ Line 1
length = int(input(“Enter the length of the ladder: “))
degrees = int(input(“Enter the alignment degree: “))

radian = __________ (degrees) Line 2
#Computing sin value
sin = __________ (radian) Line 3
# Calculating height and rounding it off to 2 decimal places
height = __________ (length * sin,2) Line 4
# displaying the output
print(“The height reached by ladder with length”, length, “feet and aligned at”, degrees, height, “feet.”)
On the basis of the written program answer the following Questions.
(i) Name the module he should import in Line 1.
(ii) Which function, he should use to convert degree into radian?
(iii) Which function, he should use to compute sine value?
(iv) Fill in the blank in Line 4 to round up the decimal places.
(v) Write the output he will obtain while given the input as:
Enter the length of the ladder: 16
Enter the alignment degree: 75