Skip to content

CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)

Download the CBSE Class 12 Computer Science Sample Paper 2027 PDF with its marking scheme (solutions) – the official CBSE sample question paper (SQP) for the 2026-27 session, the paper to practise for the CBSE Class 12 board exam 2027. It is a 70-mark, 3-hour paper with 37 questions in 5 sections. The pattern is the same as the 2026 sample paper. The 2026 and 2025 sample papers are also here. Students also call it the CBSE 12th Computer Science model question paper 2027 or model test paper – it is the same official CBSE paper.

CBSE Class 12 Computer Science Sample Paper 2027 PDF Download

Open a paper to read it online or download the PDF. The marking scheme has the answers, with the marks for each step.

YearDocumentDownload
2027CBSE Class 12 Sample Paper 2027 for Computer ScienceView PDF
2027CBSE Class 12 Sample Paper 2027 Solution (Marking Scheme) for Computer ScienceView PDF
2026CBSE Class 12 Sample Paper 2026 for Computer ScienceView PDF
2026CBSE Class 12 Sample Paper 2026 Solution for Computer ScienceView PDF
2025CBSE Class 12 Sample Paper 2025 for Computer ScienceView PDF

CBSE 12th Computer Science Model Question Paper 2027 – Quick Facts

BoardCentral Board of Secondary Education (CBSE)
ClassClass 12
SubjectComputer Science (code 083)
Session2026-27 – for the board exam 2027
Marks and time70 marks, 3 hours
Questions37 questions in 5 sections
SolutionsYes – official CBSE marking scheme
Older papers2026, 2025
Released byCBSE (cbseacademic.nic.in)

CBSE Class 12 Computer Science Sample Paper 2027 – Read Online

CBSE Class 12 Sample Paper 2027 for Computer Science Open PDF
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)

CBSE Class 12 Computer Science Paper Pattern 2027

How the 2027 sample paper is set (from the paper itself) – 70 marks, 3 hours, 37 questions:

SectionQuestionsTypeMarks eachTotal
A1–21MCQ, predict-the-output, fill-in and assertion-reason (Q20–21)121
B22–28Very short answer – theory, error correction, short functions, output prediction, MySQL commands, networking214
C29–31Short answer – text-file function, stack push/pop functions, list/tuple function39
D32–35Long answer – SQL queries on a given table, CSV file functions, SQL on two tables, Python–MySQL connectivity program416
E36–37Case-based – binary file functions (2+3) and network-design case study (5 parts)510
Total3770

Choice: No choice in Section A; internal choice in 10 questions – Q22, Q24, Q25, Q27, Q28 (Section B), Q29, Q31 (Section C), Q32 and part IV of Q34 (Section D), and part V of Q37 (Section E).

  • All programming questions are to be answered using Python language only.
  • In case of an MCQ, the text of the correct answer should also be written.

Unit-wise Marks in the Computer Science Sample Paper 2027

Marks for each unit (counted question by question from the 2027 paper):

UnitQuestionsMarks
Computational Thinking and Programming – 2 (Python revision, functions, exception handling, text/binary/CSV files, stack)Q1, Q2, Q3, Q5, Q6, Q7, Q10, Q11, Q14, Q16, Q18, Q20, Q22, Q23, Q24, Q25, Q26, Q29, Q30, Q31, Q33, Q3640
Computer NetworksQ8, Q12, Q17, Q28, Q3710
Database Management (relational model, SQL, Python–MySQL interface)Q4, Q9, Q13, Q15, Q19, Q21, Q27, Q32, Q34, Q3520

What Is New in the Computer Science Sample Paper 2027?

Compared with the 2026 sample paper (session 2025-26):

  • No change in pattern – same 37 questions in five sections (A 21×1, B 7×2, C 3×3, D 4×4, E 2×5), 70 marks, 3 hours and identical General Instructions as the 2025-26 paper.
  • Internal choice is in the same 10 places as in 2025-26 (Q22, Q24, Q25, Q27, Q28, Q29, Q31, Q32, Q34 part IV, Q37 part V).
  • Paper footnote changed from ‘the assessment scheme of the Academic Session 2024-25 will continue in the current session i.e. 2025-26’ to ‘There is no change in the Question Paper Design and Assessment Pattern for Academic Session 2026-27’.
  • Both papers are 8 pages.

Questions from the Computer Science Sample Paper 2027

Two questions from the 2027 paper, to show the level:

  • Section A, 1 mark: What will be the output of the following Python statement: print(25+100**1**3/5)
  • Section C, 3 marks: A list of books is given as B = [(“Machine Learning Basics”, 550), (“World Geography”, 450), (“Wonder World”, 140), (“AI Revolution”, 750)]. Write user-defined functions on a stack named Books: I. Push_element() – push only books whose price is more than 250; II. Pop_element() – pop and display the items, then display “Stack Empty”.

CBSE Class 12 Computer Science Marking Scheme 2027 (Solutions)

The 2026-27 marking scheme gives the correct option/output for every Section A question and model Python programs and SQL queries for the rest, with a step-wise ½-mark break-up for coding questions (e.g. ½ for function header, ½ for opening the file, marks for logic, ½ for calling/printing; for Q35 ½ each for import, connection and cursor objects, 1 for the query, 1 for execute with commit, ½ for closing). Outputs for Q32 B are shown as result tables. Check your answers against it after you solve the paper.

Computer Science Marking Scheme 2027 – Read Online

CBSE Class 12 Sample Paper 2027 Solution (Marking Scheme) for Computer Science Open PDF
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)
CBSE Class 12 Computer Science Sample Paper 2027 with Solutions PDF (2026-27)

How to Score Well – Tips from the 2027 Paper

  • About a third of Section A is output prediction – practise operator precedence (e.g. 25+100**1**3/5 = 45.0), negative-step slicing (‘Drone Expo'[-2::-4] = ‘peD’), split(), random.randint/randrange ranges and local vs global variable errors.
  • File handling carries heavy marks: a text-file function (Q29, 3 marks), CSV append/read functions (Q33, 4 marks) and binary-file append and update with pickle (Q36, 5 marks) – learn the standard patterns, including try/except EOFError for reading binary files.
  • Practise SQL on given tables: GROUP BY with HAVING, DISTINCT, LIKE ‘%an%’, ORDER BY … DESC, IN, joins and Cartesian product (Q32, Q34), plus a Python–MySQL update program with commit() (Q35).
  • For the 5-mark networking case study (Q37), be ready to choose the server location (block with most computers), topology, repeater placement (links over 100 m), switch placement and the cable for a long-distance wired link (optical fibre).
  • For MCQs, write the text of the correct option along with the letter, as the General Instructions require.
  • Solve the 2027 paper in one sitting with a timer, check it with the marking scheme, then solve the 2026 paper a few days later.

More Class 12 Computer Science Papers and Study Material

Practise past board papers, or plan your revision with the syllabus and important questions for Class 12 Computer Science:

CBSE Class 12 Computer Science Sample Paper 2027 – FAQs

Is the CBSE Class 12 Computer Science Sample Paper 2027 out?

Yes. CBSE has released the Class 12 Computer Science sample paper 2027 for the 2026-27 session with its marking scheme – both are in the table on this page, free.

Is the CBSE Class 12 Computer Science Sample Paper 2027 available with solutions?

Yes. The official CBSE marking scheme is the solution – it gives the answers and the marks for each step. Download it from the table above or read it online on this page.

Has the CBSE Class 12 Computer Science paper pattern changed for 2027?

No. CBSE says there is no change in the question paper design for 2026-27. The 2027 sample paper keeps the 2026 pattern – 70 marks, 3 hours, 37 questions in 5 sections. Small changes: Internal choice is in the same 10 places as in 2025-26 (Q22, Q24, Q25, Q27, Q28, Q29, Q31, Q32, Q34 part IV, Q37 part V).; Paper footnote changed from ‘the assessment scheme of the Academic Session 2024-25 will continue in the current session i.e. 2025-26’ to ‘There is no change in the Question Paper Design and Assessment Pattern for Academic Session 2026-27’..

How many marks and questions are in the CBSE Class 12 Computer Science Sample Paper 2027?

It is a 70 marks, 3 hours, 37 questions paper – Section A: 1–21 (21 marks); Section B: 22–28 (14 marks); Section C: 29–31 (9 marks); Section D: 32–35 (16 marks); Section E: 36–37 (10 marks).

Which units carry the most marks in the Computer Science sample paper 2027?

In the 2027 sample paper: Computational Thinking and Programming – 2 (Python revision, functions, exception handling, text/binary/CSV files, stack) (40 marks), Database Management (relational model, SQL, Python–MySQL interface) (20 marks), Computer Networks (10 marks).

Is the CBSE 12th Computer Science model question paper 2027 the same as the sample paper?

Yes. CBSE calls it the sample question paper (SQP); students also search for it as the 12th Computer Science model question paper or model test paper – it is the same official paper on this page.

Will the board exam paper be the same as the sample paper?

No – the CBSE Class 12 board exam 2027 has different questions, but it follows the same pattern as the sample paper: the same sections, marks and question types.

Official website: cbse.gov.inCentral Board of Secondary Education publishes date sheets, admit cards and results here
Visit

Ask a question

?

Loading comments…