11th Class CBSE Pre-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.
- Section A consists of 21 questions (Question 1 to 21). Each question carries 1 mark.
- Section B consists of 7 questions (Question 22 to 28). Each question carries 2 marks.
- Section C consists of 3 questions (Question 29 to 31). Each question carries 3 marks.
- Section D consists of 4 questions (Question 32 to 35). Each question carries 4 marks.
- Section E consists of 2 questions (Question 36 to 37). Each question carries 5 marks.
- All questions are compulsory.
- Use of calculators is not permitted.
- Read the questions carefully before answering.
Section – A
Question 01. Identify the mutable data type.
- Tuple
- String
- List
- Set
Question 02. Identify the Python statement used to repeat a block of code until a condition becomes false.
- for
- while
- if
- if – elif
Question 03. Consider the given expression: print(19 < 11 and 29 > 19 or not 75 > 30)
Identify the correct output of the given expression.
- True
- False
- Null
- No output
Question 04. Identify the odd one out.
- boolean
- float
- int
- meter
Question 05. Identify the output of the following Python code:
str = “Soft Skills”
print(str[-3::-3])
- 1Sf
- Stkl
- StKi
- 1
Question 06. ________ unit of the CPU coordinates all activities of the computer.
- ALU
- CU
- MU
- Register
Question 07. ________ is the output of the expression: “5” * 3
- 15
- “15”
- “555”
- Invalid
Question 08. Cyber safety practice where data is changed before sending is called ________.
- Firewall
- Encryption
- Decryption
- Typo
Question 09. The lowest-level programming language is ________.
- Programming language
- Machine language
- Assembly language
- SQL
Question 10. Identify the cybercrime out of the following.
- Digital Footprints
- Phishing
- Hypertext
- Trojan Horse
Question 11. Which of these is an OS?
- Chrome
- MS Word
- Linux
Question 12. Identify the one known as Online harassment.
- Cracking
- Hacking
- Cyberbullying
- Phishing
Question 13. The ________ function returns the absolute value.
- truncate()
- abs()
- round()
- mod()
Question 14. Find the output of the given Python code.
st = “Waterskiing is thrilling!”
print(st.split(” “))
- [‘Waterskiing’, ‘is’, ‘thrilling!’]
- [‘Watersk’, ‘ng’, ‘s thr’, ‘ll’, ‘ng!’]
- [‘Watersk’, ‘i’, ‘ng’, ‘s thr’, ‘ll’, ‘ng!’]
- Error
Question 15. ________ method inserts value at a specific index.
- +
- extend()
- append()
- insert()
Question 16. Given an object
obj1 = (10, 20, 30, 40, 50, 60, 70, 80, 90).
Identify the output of:
print(obj1[3:7:2])
- (40, 50, 60, 70, 80)
- (40, 50, 60, 70)
- (40, 50, 60)
- (40, 60)
Question 17. Which of the following is an invalid datatype in Python?
- Set
- None
- Integer
- Real
Question 18. Given the following dictionaries:
dict_exam = {“Exam”:”AISSCE”, “Year”:2025}
dict_result = {“Total”:500, “Pass_Marks”:165}
Which statement will merge the contents of both dictionaries?
- dict_exam.update(dict_result)
- dict_exam + dict_result
- dict_exam.add(dict_result)
- dict_exam.merge(dict_result)
Question 19. Which of the following statement(s) would give an error after executing the following?
S = “Welcome to class XII” # Statement 1
print(S) # Statement 2
S[0] = ‘Q’ # Statement 3
S = S + “Thank you” # Statement 4
- Statement 3
- Statement 4
- Statement 5
- Statement 4 & 5
Question 20. Read the following statements:
Assertion (A) and Reason (R). Choose the correct alternative.
Assertion (A): The expression (1, 2, 3, 4).append(5) in Python will modify the original sequence datatype.
Reason (R): The append() method adds an element to the end of a list and modifies the list in place.
- Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).
- Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of Assertion (A).
- Assertion (A) is true, but Reason (R) is false.
- Assertion (A) is false, but Reason (R) is true.
Question 21. Read the following statements: Assertion (A) and Reason (R).
Choose the correct alternative from those given below:
(a) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).
(b) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of Assertion (A).
(c) Assertion (A) is true, but Reason (R) is false.
(d) Assertion (A) is false, but Reason (R) is true.
Assertion (A): List is an immutable data type.
Reason (R): When an attempt is made to update the value of an immutable variable, the old variable is destroyed and a new variable is created by the same name in memory.
Section – B
Question 22. Write a Python statement to accomplish the following tasks using built-in functions: (2)
You have a list named Numbers and want to insert an element 150
at the second position and then print the list in reverse order.
Question 23. Write the output of the following: (2)
a) Given is a Python string declaration:
myexam = “@@CBSE Examination 2022@@”
print(myexam[::-2])
b) my_dict = {“name”:”Aman”, “age”:26}
my_dict[“age”] = 27
my_dict[“address”] = “Delhi”
print(my_dict.items())
Question 24. Predict the output of the Python code given below: (2)
tuple1 = (11, 22, 33, 44, 55, 66)
list1 = list(tuple1)
new_list = []
for i in list1:
if i % 2 == 0:
new_list.append(i)
new_tuple = tuple(new_list)
print(new_tuple)
Question 25. Write a program in Python that accepts a list L and a number n.
If the number n exists in the list, it should be removed.
If it does not exist, print a message saying “Element not found”. (2)
Question 26. Predict the output of the Python code given below: (2)
emp = {
“Arv”: (85000, 90000),
“Ria”: (78000, 88000),
“Jay”: (72000, 80000),
“Tia”: (80000, 70000)
}
selected = []
for name in emp:
salary = emp[name]
average = (salary[0] + salary[1]) / 2
if average > 80000:
selected.append(name)
print(selected)
Question 27. Observe the following tuple and answer the questions that follow: (2)
t1 = (70, 56, “Hello”, 22, 2, “Hi”, “The”, “World”, 3)
(a) t1[2 : 4] (b) t1[-6]
Question 28. Predict the output of the code given below: (2)
s = “welcome2cs”
n = len(s)
m = “”
for i in range(0, n):
if (s[i] >= ‘a’ and s[i] <= ‘m’): m = m + s[i].upper() elif (s[i] >= ‘n’ and s[i] <= ‘z’):
m = m + s[i – 1]
elif (s[i].isupper()):
m = m + s[i].lower()
else:
m = m + ‘&’
print(m)
Section – C
Question 29. Explain the following, with the help of examples: (3)
- keyword break
- update()
- capitalize()
Question 30. Explain the following terms with reference to Cyber Security: (3)
- Trojan Horse
- Ransomware
- Software Piracy
Question 31. Why do we use comments in a PYTHON program? Explain different methods of giving comments in a program. (3)
Section – D
Question 32. Differentiate between the following: (4)
- ALU and CPU
- Conditional and Unconditional loops
Question 33. How are Lists different from Tuples? Give an example for both.
Also, why do we use nested lists? Give an example of a nested list as well. (4)
Question 34. Which string method is used to implement the following?
Write the statement for string S: (4)
- To count the number of characters in the string
- To change the first character of the string into a capital letter
- To check whether the given character is a letter or a number
- To replace all the occurrences of the old string with the new string
Question 35. (3+1)
- What are Digital Footprints? Explain the two types of Digital Footprints. (3)
- Write any two benefits of e-waste recycling. (1)
Section – E
Question 36. (3+2)
- Write a program in PYTHON that inputs a list of numbers and shifts all the zeros
to the right and all non-zero numbers to the left of the list. (3) - Write a program in Python that takes the dictionary PLACES and
displays the names (in uppercase) of the places whose names are longer than
5 characters. (2)For example, consider the dictionary:
PLACES = {
1: “Delhi”,
2: “London”,
3: “Paris”,
4: “New York”,
5: “Doha”
}
The output should be:
LONDON
NEW YORK
Question 37. Explain the following: (5)
- OCR
- Light Pen
- e-waste
- Conditional statements
- IN operator
Class Notes NCERT Solutions for CBSE Students