Thursday , June 4 2026
Class XI & XII Computer Science: Python

11 Class Computer Science Final Exam 2025-26: St. Margaret School, Rohini, New Delhi

 

11th Class CBSE Final Examination 2025–26 St. Margaret Sr. Sec. School, Prashant Vihar, Sector 14, Rohini, Delhi-85 India

School Name: St. Margaret Sr. Sec. School, D-Block, Prashant Vihar, Sector 14, Rohini, New Delhi  110085 India
Class: XI Standard (CBSE)
Subject: Computer Science (083)
Time Duration: 03 Hours
Maximum Marks: 70

General Instructions:

Important Instructions: The question paper is divided into five sections A, B, C, D and E.

  1. Section A consists of 21 questions (Question 1 to 21). Each question carries 1 mark.
  2. Section B consists of 7 questions (Question 22 to 28). Each question carries 2 marks.
  3. Section C consists of 3 questions (Question 29 to 31). Each question carries 3 marks.
  4. Section D consists of 4 questions (Question 32 to 35). Each question carries 4 marks.
  5. Section E consists of 2 questions (Question 36 to 37). Each question carries 5 marks.
  6. All questions are compulsory.
  7. Use of calculators is not permitted.
  8. Read the questions carefully before answering.

SECTION A

Q.No Question Marks
1 Accessing of data in a dictionary is done through ________
(a) index   (b) value   (c) key   (d) cell number
1
2 Which of the following is not valid string in Python?
(a) “Hello”   (b) ‘Hello   (c) “Hello’   (d) “Hello””
1
3 Full form of OMR is:
(a) Optical Mark Reading
(b) Optical Mark Recognition
(c) Optical Mark Reader
(d) Optical Mark Resolution
1
4 Components that provide internal storage to the CPU is:
(a) Registers   (b) Program Counters   (c) Controller   (d) Internal Chips
1
5 Identify the output produced when this code executes:

L1 = [1,2] L2 = [3,4] (L1 + L2) * 2

(a) [2,4,6,8] (b) [1,2,3,4,1,2,3,4] (c) [1,3,4,4] (d) [3,4,1,2]

1
6 In a range function, ______ argument is mandatory to pass.
(a) Start   (b) Stop   (c) Step   (d) All of these
1
7 ______ asterisks are printed by the following code:

a = 3
while a < 20:
print(“*”)
a += 1

(a) 16   (b) 17   (c) 18   (d) 20

1
8 Identify the output of given Python code:

abc = “6/4”
print(“abc”)

1
9 Identify the valid identifier:
(a) NUM   (b) 1_Num   (c) F.No   (d) False
1
10 Identify the smallest unit of data in a computer:
(a) Bit   (b) KB   (c) Nibble   (d) Byte
1
11 Which of the following is an example of primary memory?
(a) Hard Disk   (b) RAM   (c) Floppy Disk   (d) DVD
1
12 Identify when a person is constantly followed/chased by another person or group of people:
(a) Phishing   (b) Bullying   (c) Stalking   (d) Identity theft
1

13 Given the following dictionary:

Dict1 = {‘Tuple’:’immutable’, ‘List’:’mutable’, ‘Dictionary’:’mutable’, ‘String’:’immutable’}

Identify the statement that will delete key:value pair for key=’Dictionary’:
(a) del Dict1[‘Dictionary’] (b) Dict1[‘Dictionary’].delete()
(c) delete(Dict1[“Dictionary”])
(d) del(Dict1[‘Dictionary’]):

1
14 Identify the output of the following:

t1 = (4,2,3,4,5,6)
print(t1.index(4))

(a) 4   (b) 5   (c) 6   (d) 0

1
15 Which of the following is not a cyber crime?
(a) Unauthorized account access
(b) Email spoofing and spamming
(c) Mass attack using Trojans as botnets
(d) Report vulnerability in any system
1
16 Identify the statement that will give “Simon” as output.
If str1 = “Hari,Simon,Vinod”(a) print(str1[-7:-12])
(b) print(str1[-11:-7])
(c) print(str1[-11:-6])
(d) print(str1[-7:-11])
1
17 “Python is an interpreted high level language.” What does it mean to you? 1
18 Select the correct output of the following string operations:

Str = “KENDRIYA VIDYALAYA SANGATHAN JAMMU REGION”
Str = Str.split()
NewStr = Str[0] + “#” + Str[1] + “#” + Str[4] print(NewStr)

(a) KENDRIYA#VIDYALAYA#SANGATHAN#JAMMU
(b) KENDRIYA#VIDYALAYA#REGION
(c) KENDRIYA#VIDYALAYA#SANGATHAN
(d) KENDRIYA#VIDYALAYA#

1
19 Write the output of the following statement:

print(‘INDIA’.capitalize())

1
20 Read the following statements: Assertion (A) and Reason (R). Choose the correct alternative:

(a) Both A and R are true and R is correct explanation
(b) Both A and R are true but R is not correct explanation
(c) A is true but R is false
(d) A is false but R is true

S1 = ‘CoMPuter SciENce’
S1[0] = S1[0].lower()

Assertion (A): Above code will generate error.
Reason (R): String is mutable by nature.

1
21 Assertion (A): Comments are non-executable statements that help understand program logic.
Reason (R): Comments are used to explain the code and make it informative.Choose the correct option:
(a) Both A and R are true and R is correct explanation
(b) Both A and R are true but R is not correct explanation
(c) A is true but R is false
(d) A is false but R is true
1

SECTION B

Q.No Question Marks
22 What is difference between the two loops provided in Python programming language?
Also write the syntax for both.
2
23 Differentiate between High Level Language and Low Level Language with example.
How are instructions converted? Name the software used.
2
24 Rewrite the following code after removing errors (if any):

N = 100
A = “Number” + 5
B = 2N + 20
Print(B)

2
25 Answer the following based on LISTS in Python:

(a) Write the most appropriate list method:
(i) Delete a given element from the list
(ii) Add an element at the beginning of the list

(b) Predict the output:
my_list = [‘p’,’r’,’o’,’b’,’l’,’e’,’m’] my_list[3:6] = [] print(my_list)

2
26 Explain actual and formal parameters used in functions with example. 2
27 Predict the output of the following Python code:

fruits = [“apple”, “mango”, “banana”, “cherry”] for x in fruits:
if(len(x) > 5):
print(x)

2
28 Give the output of:

(a) a = [12,14,16,18,10] print(a[-1:1:-2])

(b) d = {‘Name’:’Ravi’, ‘Marks’:90}
e = {‘Age’:16, ‘Marks’:95}
d.update(e)
print(d)

2

SECTION C

Q.No Question Marks
29 Explain the following with examples:
(a) index()    (b) extend()    (c) tolower()
3
30 Consider the following conversation and answer the questions:

Person 1: What’s your name?
Person 2: Radha

Person 1: What is the name of your first school?
Person 2: Army Public School

Person 1: What are your Father and Mother name?
Person 2: Krishna and Sarita

Person 1: Who is your favorite actor or actress?
Person 2: Amitabh

Person 1: What is the name of your pet animal?
Person 2: Tommy

Person 1: Where were you born and when?
Person 2: Ajmer on 15 March 2002

Person 1: May I use your Laptop for online banking for fees payment?
Person 2: Sure

3
31 a) Who may be victim of Cyber Crime – Person 1, Person 2 or both? Justify your answer.

b) Who is doing Ethical Hacking – Person 1 or Person 2? Justify your answer.

c) Person 2 was using Key Logger software in his computer. What is it?

3

SECTION D

 

Q.No Question Marks
32 Differentiate between the following:
(a) pop() and remove()
(b) mutable and immutable data types
4
33 Write a program to display the double of the reverse of the entered number.

Example:
Input: 526
Reverse: 625
Output: 1250

4
34 (a) Write a Python program to find the maximum and minimum marks from given dictionary and print their difference.

Dictionary:
{‘Henil’:78, ‘Kartvya’:82, ‘Avee’:93, ‘Dhruvin’:88, ‘Shaan’:94}

(b) Write statements to create a blank dictionary and blank list.

3
35 (a) “Strings are immutable datatype” (True/False). Justify with example.

(b) Given:
s1 = “Strings are immutable datatype”
print(s1[::-2])
print(s1[::2])
print(s1[:2])

4

SECTION E

Q.No Question Marks
36 (a) Write a program to accept a date and print the date after n days (n from user).

(b) Write a Python program to shift elements of list to left by n positions.

Example:
Arr = [10,20,30,40,12,11] n = 2
Output: [30,40,12,11,10,20]

5
37 Answer the following with respect to cyber security:

(a) Why should firewall be used? What is firewall?

(b) What are different ways to protect your system from cyber attack?

(c) What is a worm? Explain.

5

 

Check Also

11th Class Physics NCERT Textbooks

Class XI Physics Pre-Final Examination 2025-26 – St. Margaret Sr. Sec. School

ST MARGARET SR SEC. SCHOOL PRE-FINAL EXAMINATION 2025–26 Subject: PHYSICS Class: XI Time: 3 Hours …