Home › Class 12 papers › Computer Science
Free · 5 board papers · 282 questions

CBSE Class 12 Computer Science Previous Year Question Papers (2022–2026)

Download every CBSE Class 12 Computer Science board paper from 2022–2026 as a free PDF, with the official CBSE marking scheme. Or practise all 282 questions online, one by one, with answers (190 have marking-scheme solutions).

Class 12 Computer Science board papers with marking schemes

Two sets per year from different CBSE regions. Question papers are published by CBSE; click a PDF to download it free.

PaperQuestionsFree downloadAnswersOnline
Board exam 202637 Question paper PDF Not published Practise online
Board exam 202535 Question paper PDF Marking scheme PDF Practise online
Board exam 202435 Question paper PDF Marking scheme PDF Practise online
Board exam 202335 Question paper PDF Marking scheme PDF Practise online
Board exam 2022 · Term 213 Question paper PDF Marking scheme PDF Practise online

Class 12 Computer Science sample paper 2026-27

CBSE released the 2026-27 Sample Question Paper on 21 September 2026 and confirmed there is no change in the question paper design for 2026-27. Practise it first: it shows exactly how your board paper will look.

PaperQuestionsFree downloadAnswersOnline
Sample paper 2026-2737 Question paper PDF Marking scheme PDF Practise online

Chapter-wise weightage (from 4 board papers)

Average marks each chapter carried per board paper. Start revision with the chapters at the top.

ChapterShareAvg. marks per paper
Python Revision & Functions
24.5
Database & SQL
21.5
Computer Networks
8.8
Exception & File Handling
7.8
Data Structures (Stack)
0.8

Most repeated Computer Science questions in CBSE board exams

These questions (or near-identical ones) appeared in more than one board exam year.

  1. Given the following Tuple Tup= (10, 20, 30, 50) Which of the following statements will result in an error ? (a) print(Tup[O]) (b) Tup.insert (2,3) (c) print(Tup[1:2]) (d) print(len(Tup))
    Asked in 2023, 2024, 2025, 2026Python Revision & Functions1 mark
  2. fetchallO method fetches all rows in a result set and returns a : (a) Tuple of lists (b) List of tuples (c) List of strings (d) Tuple of strings Q. 17 and 18 are ASSERTION (A) and REASONING (R) based questions. Mark the …
    Asked in 2023, 2024, 2025, 2026Python Revision & Functions1 mark
  3. Select the correct output of the code : 5. S= "Amrit Mahotsav @ 75" A=s.partition ("") print (a) (a) ('Amrit Mahotsav','@','75') (b) ['Amrit','Mahotsav','@','75'] (c) ('Amrit', 'Mahotsav @ 75') (d) ('Amrit', 'Mahotsav @ …
    Asked in 2023, 2024, 2025, 2026Database & SQL1 mark
  4. o. Select the correct output of the following code : event="G20 Presidency@2023" L=event.split(' ') print(L[::-2]) (a) 'G201 (b) ['Presidency@2023'] (c) ['G20'] (d) 'Presidency@2023' 2191 P.T.O.
    Asked in 2023, 2024, 2025, 2026Database & SQL1 mark
  5. Consider the following Python statement : F=OPen('CONTENT.TXT') Which of the following is an invalid statement in Python ? (b) (a) F.seek(1,0) F.seek(0,1) (d) (c) F.seek(0,-1) F.seek(0,2) Q. 17 and 18 are ASSERTION (A) a…
    Asked in 2023, 2024, 2025, 2026Exception & File Handling1 mark
  6. *There is no change in the Question Paper Design and Assessment Pattern for Academic Session 2026-27. pg. 3 ) g Q20 and Q21 are Assertion(A) and Reason(R) based questions. Mark the correct choice as: a) Both A and R are …
    Asked in 2023, 2024, 2025, 2026Exception & File Handling1 mark
  7. Expand ARPANET. Q. Nos. 20 and 2l are Assertion (A) and Reason (R) based questions. Mark the correct choice as (A) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation for Assertion (A). (…
    Asked in 2023, 2024, 2025, 2026Computer Networks2 marks
  8. Fill in the blank: _________ protocol provides access to services hosted on a remote computer. a. FTP b. PPP c. Telnet d. SMTP 1 Q17 and 18 are ASSERTION AND REASONING based questions. Mark the correct choice as (a) Both…
    Asked in 2023, 2024, 2025, 2026Computer Networks1 mark

See all repeated questions with answers →

Class 12 Computer Science paper pattern

Based on the sample paper 2026-27 (70 marks).

SectionQuestionsMarks
Section A21 × 1 mark21
Section B7 × 2 marks14
Section C3 × 3 marks9
Section D4 × 4 marks16
Section E2 × 5 marks10

CBSE additional practice papers for Class 12 Computer Science

PaperQuestionsFree downloadAnswersOnline
Additional practice paper 2023-2435 Question paper PDF Marking scheme PDF Practise online
Additional practice paper 2021-2255 Question paper PDF Not published Practise online

Frequently asked questions

Where can I download CBSE Class 12 Computer Science previous year question papers for free?

All CBSE Class 12 Computer Science board papers from 2022–2026 are listed on this page as free PDF downloads, together with the official marking schemes. You can also practise every question online in the free BoardPrep app.

Are marking schemes included with the Class 12 Computer Science papers?

Yes. The official CBSE marking scheme is linked next to each paper where CBSE has published it. In the app, 190 of the 282 questions show their marking-scheme answer.

Which chapters carry the most marks in Class 12 Computer Science?

In recent board papers the highest-weightage chapters were Python Revision & Functions, Database & SQL, Computer Networks. See the chapter-wise weightage table above for the full list.

Has the CBSE exam pattern changed for 2026-27?

No. CBSE's notification of 21 September 2026 says there is no change in the question paper design or assessment pattern for 2026-27, and the passing criteria stay the same as 2025-26.

Is BoardPrep free?

Yes. All papers, the question bank, the paper generator, mock tests and the Pattern Challenge are free to use.

Practise Class 12 Computer Science free

Question-wise practice with answers, chapter tests, board-pattern paper generator with PDF download, and a daily streak to keep you going.

Start free →