Home › Blog › How to Score 90+ in CBSE Class 12 Computer Science (Python &…
Updated 09 October 2026 · Source: CBSE board papers and marking schemes
Subject guides · BoardPrep blog

How to Score 90+ in CBSE Class 12 Computer Science (Python & SQL)

How to score 90+ in CBSE Class 12 Computer Science. Python and SQL carry most of the marks; here's how to practise code-writing and output questions.

Computer Science is dominated by two areas: Python programming and Database/SQL.

Where the marks are

ChapterAvg marks per paperShare
Python Revision & Functions24.539%
Database & SQL21.534%
Computer Networks8.814%
Exception & File Handling7.812%
Data Structures (Stack)0.81%

Averaged across 4 CBSE Class 12 Computer Science (CS) board papers, 2023–2026. All chapters

Python

  • functions, scope and parameters
  • file handling: text, binary and CSV files
  • data structures: stacks with lists
  • exception handling
  • output prediction: trace code by hand, line by line

Write code on paper as well as on a computer, since board answers are handwritten. Indentation and syntax matter.

SQL

  • SELECT with WHERE, ORDER BY, GROUP BY and HAVING
  • aggregate functions and joins
  • DDL and DML commands
  • Python–MySQL connectivity

Networks

Learn topologies, devices, protocols and network types precisely. These are quick marks.

Practise this free on BoardPrep

192 CBSE board papers split into single questions with official answers, chapter-wise practice and unlimited mock papers. 100% free: no ads, no paid plan, no hidden charges.

Open the free app →

Related articles

All articles → · CBSE board exam FAQ