Commerce (English Medium)
Science (English Medium)
Arts (English Medium)
Academic Year: 2025-2026
Date & Time: 25th March 2026, 10:30 am
Duration: 3h
Advertisements
General Instructions:
- This question paper contains 37 questions.
- All questions are compulsory. However, internal choices have been provided in some questions. Attempt only one of the choices in such questions.
- The paper is divided into 5 Sections – A, B, C, D and E.
- Section A consists of 21 questions (1 to 21). Each question carries 1 mark.
- Section B consists of 7 questions (22 to 28). Each question carries 2 marks.
- Section C consists of 3 questions (29 to 31). Each question carries 3 marks.
- Section D consists of 4 questions (32 to 35). Each question carries 4 marks.
- Section E consists of 2 questions (36 & 37). Each question carries 5 marks.
- All programming questions are to be answered using Python Language only.
- In case of MCQs, text of the correct answer should also be written.
State True or False:
In Python, data type of 74 is same as the data type of 74.0.
Chapter:
Identify the output of the following code snippet:
8 = “the Truth”
print(s.capitalize())
The truth
THE TRUTH
The Truth
the Truth
Chapter:
Which of the following expressions in Python evaluates to True?
2>3 and 2<3
3>1 and 2
3>1 and 3>2
3>1 and 3<2
Chapter:
Advertisements
What is the output of the following code snippet?
s=‘War and Peace by Leo Tolstoy’
print(s.partition(“by”))
('War and Peace ', 'by', ' Leo Tolstoy')
['War and Peace ', 'by', ' Leo Tolstoy']
('War and Peace ', ' Leo Tolstoy')
['War and Peace ', ' Leo Tolstoy']
Chapter:
What will be the output of the following statement?
print(“PythonProgram”[−1:2:−2])
Chapter:
What will be the output of the following code snippet?
t = tuple('tuple')
t2 = t[2],
t += t2
print(t)
(‘tuple’)
(‘tuple’,‘p’)
(‘t’, ‘u’, ‘p’, ‘1’, ‘e’, ‘p’)
(‘t’, ‘u’, ‘p’, ‘1’, ‘e’)
Chapter:
Advertisements
Which of the following statements is true about dictionaries in Python?
A dictionary is an example of sequence data type.
A dictionary cannot have two elements with same key.
A dictionary cannot have two elements with same value.
The key and value of an element cannot be the same.
Chapter:
If L is a list with 6 elements, then which of the following statements will raise an exception?
L.pop (1)
L.pop (6)
L.insert(1,6)
L.insert(6,1)
Chapter:
What will be the output of the following code?
def f1(a,b=1):
print(a+b,end='-')
c=f1(1,2)
print(c,sep='*')
3−2
3−2*
3−None
3*None
Chapter:
Consider the statement given below:
f1 = open(“pqr.dat”,“______”)
Which of the following is the correct file mode to open the file in read only mode?
a
rb
r+
rb+
Chapter:
State whether the following statement is True or False:
In Python, Logical errors can be handled using try...except...finally statement.
Chapter:
Other Solutions
Submit Question Paper
Help us maintain new question papers on Shaalaa.com, so we can continue to help studentsonly jpg, png and pdf files
CBSE previous year question papers Class 12 Computer Science (Python) with solutions 2025 - 2026
Previous year Question paper for CBSE Class 12 Computer Science (Python)-2026 is solved by experts. Solved question papers gives you the chance to check yourself after your mock test.
By referring the question paper Solutions for Computer Science (Python), you can scale your preparation level and work on your weak areas. It will also help the candidates in developing the time-management skills. Practice makes perfect, and there is no better way to practice than to attempt previous year question paper solutions of CBSE Class 12.
How CBSE Class 12 Question Paper solutions Help Students ?
• Question paper solutions for Computer Science (Python) will helps students to prepare for exam.
• Question paper with answer will boost students confidence in exam time and also give you an idea About the important questions and topics to be prepared for the board exam.
• For finding solution of question papers no need to refer so multiple sources like textbook or guides.
