top of page

CBSE Class 12 Computer Science Sample Papers 2026-27

This page offers 3 free CBSE Class 12 Computer Science (Code 083) sample papers for the 2026-27 session, built to follow the exact CBSE question paper design and marking scheme for the subject. These are not official CBSE sample papers; they are original practice papers prepared in-house to mirror the pattern, difficulty level and marks distribution that CBSE follows, covering Python programming, computer networks and database management (SQL). Every sample paper is paired with its own detailed answer key and marking scheme, including full working for programming and SQL questions, so you can self-check your logic and see exactly how marks are awarded for each step.

The theory paper carries 70 marks, with a further 30 marks awarded for the practical examination (lab test, report file with viva, and project). These sample papers cover the theory component; the exam pattern below reflects the 70-mark theory design.


Exam Pattern (Theory, 70 Marks)

The question paper design below reflects the current CBSE Class 12 Computer Science (083) theory blueprint.

Section

Question Type

No. of Questions

Marks per Question

Section A

MCQs and Assertion-Reason (Q1-21)

21

1 mark each

Section B

Very Short Answer (Q22-28)

7

2 marks each

Section C

Short Answer (Q29-31)

3

3 marks each

Section D

Long Answer (Q32-35)

4

4 marks each

Section E

Case-based / Source-based (Q36-37)

2

5 marks each

Total

37 questions

 

70 marks

 

Total duration: 3 hours. All questions are compulsory, though internal choices are provided in some questions. All programming questions must be answered in Python, and for MCQs the text of the correct answer must be written, not just the option letter.

FutureTopper offers free CBSE Class 10 Math and Science question banks, 2026–27. Blue-yellow theme with icons and bold text. Limited time offer.

Download Sample Papers

Each PDF below contains the full sample paper followed by its complete solution and marking scheme, in a single file.

Sample Paper

PDF

Sample Paper 1

Sample Paper 2

Sample Paper 3


Unit-wise Weightage

This is the official unit-wise weightage for the 70-mark theory paper.

Unit

Marks

Computational Thinking and Programming – 2

40

Computer Networks

10

Database Management

20

Total (Theory)

70

 

The remaining 30 marks are for the practical examination: Lab Test (12 marks, a Python program and SQL queries on a given table), Report File with Viva Voce (10 marks) and Project (8 marks).


How to Prepare

•     Work through the NCERT Computer Science textbook for Class 12, practising every Python program and SQL example rather than just reading through it.

•     Type out and actually run every Python program you study, on file handling, exception handling, stack implementation and Python-MySQL connectivity, instead of only reading the code.

•     Practise SQL queries daily on a real table, including joins-free single-table queries, aggregate functions and DDL/DML commands, since small syntax slips cost easy marks.

•     Revise computer networks (topologies, protocols, transmission media) using labelled diagrams, since network questions are often asked as case-based scenarios.

•     Attempt at least one full-length sample paper a week under timed, exam-like conditions once your syllabus is mostly covered.

•     Keep your practical file, project and viva preparation going alongside theory revision; the practical component carries 30 of the 100 total marks.


Tips to Score Well

•     Write the complete, correctly indented Python code for programming questions; partial marks are given for correct logic even if the final output has a small error.

•     For MCQs, always write out the full correct answer text, not just the option letter, as CBSE marking schemes require this.

•     In SQL questions, double-check keywords, clause order (WHERE before GROUP BY, HAVING after GROUP BY) and semicolons, since these are common, easily-avoided errors.

•     For network case studies, justify your answers briefly instead of giving one-word responses; reasoning carries marks even when the final suggestion is simple.

•     Attempt Section A and B first to secure quick, confident marks before moving to longer programming and case-based questions.

•     Keep 10-15 minutes at the end to re-check Python syntax (colons, indentation, brackets) and SQL semicolons across your answers.


Frequently Asked Questions

Are these official CBSE sample papers?

No. These are not official CBSE sample papers. They are original practice papers created in-house, designed to match the official CBSE question paper pattern, marking scheme and difficulty level as closely as possible.

Which programming language should I use for the programming questions?

Python. All programming questions in the CBSE Class 12 Computer Science paper must be answered using Python, in line with the current syllabus.

How many sample papers are provided, and do they come with solutions?

There are 3 sample papers in total. Each PDF contains the full sample paper followed by its complete solution and marking scheme, including full Python code and SQL query answers.

Do these sample papers cover the practical exam as well?

These sample papers cover the 70-mark theory paper. The remaining 30 marks come from the practical examination (lab test, report file with viva, and project), which is assessed separately by your school.

Which textbook should I refer to alongside these sample papers?

The NCERT Computer Science textbook for Class 12 remains the primary reference. These sample papers are best used after you have worked through the relevant chapters and practised the programs and queries within them.

bottom of page