Skip to content
Find your exam
School boardsGuide

CBSE class 12 computer science

Conducted by Central Board of Secondary Education (CBSE)

  1. Theory
  2. Practical

Python, file handling, stacks, networks and SQL: 70 theory plus 30 practical

Class 12 computer science syllabus (CBSE, code 083)

School boardsTheory 70Practical 30Updated 26 Oct 2026

The class 12 computer science syllabus of CBSE (subject code 083) has three units: Computational Thinking and Programming 2 for 40 marks, Computer Networks for 10 and Database Management for 20, making a 70 mark theory paper, plus 30 marks of practical work. Python remains the language throughout, and SQL with Python connectivity is the big addition you build on from class 11.

This page lays out the latest syllabus unit by unit, explains how the 30 practical marks are earned, and suggests an order of study that leaves time for the project. If you are choosing between subjects, see how this paper fits beside your other subjects on our overview of every CBSE class 12 subject.

Exam at a glance

  • Board

    Central Board of Secondary Education
  • Subject code

    083 (Computer Science)
  • Theory

    70 marks, 3 hour board paper
  • Practical

    30 marks: lab test, report file, project, viva
  • Language

    Python, with SQL for databases
  • Prerequisite

    Computer Science of class 11
  • Official curriculum

Class 12 computer science syllabus: unit wise marks

Theory distribution, computer science 083
UnitNameMarks
1Computational Thinking and Programming 240
2Computer Networks10
3Database Management20
Theory total70

Unit 1 alone is worth more than half of the theory paper. That is why most of your year goes on Python: functions, exceptions, three kinds of files and the stack.

Unit 1: Computational Thinking and Programming 2

The unit opens with a revision of the Python basics from class 11, then moves to:

  • Functions: built in, module and user defined functions; arguments and parameters; default and positional parameters; return values; flow of execution; local and global scope
  • Exception handling: what an exception is, and the try, except and finally blocks
  • File basics: text, binary and CSV files; relative and absolute paths
  • Text files: modes r, r+, w, w+, a and a+; open and close; the with clause; write(), writelines(), read(), readline(), readlines(); seek() and tell()
  • Binary files: modes rb, rb+, wb, wb+, ab and ab+; the pickle module with dump() and load(); reading, writing, searching, appending and updating records
  • CSV files: the csv module; writer(), writerow(), writerows() and reader()
  • Stack: push and pop, implemented with a Python list

Board questions in this unit lean on writing short functions, predicting output and finding errors in code, so practise on a computer, not only on paper.

Unit 2: Computer Networks

  • Evolution of networking: ARPANET, NSFNET and the Internet
  • Data communication terms: sender, receiver, message, medium and protocol; bandwidth and data transfer rate; IP address; circuit and packet switching
  • Wired media (twisted pair, coaxial, optical fibre) and wireless media (radio waves, microwaves, infrared)
  • Devices: modem, Ethernet card, RJ45, repeater, hub, switch, router, gateway and Wi Fi card
  • Network types PAN, LAN, MAN and WAN; bus, star and tree topologies
  • Protocols: HTTP, FTP, PPP, SMTP, TCP/IP, POP3, HTTPS, TELNET and VoIP
  • Web basics: WWW, HTML, XML, domain names, URL, website, web browser, web server and web hosting

Only 10 marks, but almost all of it is definitions and a case based question on placing devices and cables in a campus layout. Learn it late and revise it often.

Unit 3: Database Management

  • Need for a database; the relational model: relation, attribute, tuple, domain, degree and cardinality; candidate, primary, alternate and foreign keys
  • SQL as DDL and DML; data types char(n), varchar(n), int, float and date; constraints not null, unique and primary key
  • Database commands create, use, show and drop; table commands create, describe, alter (add or remove a column or primary key), drop
  • insert, delete, select and update
  • Operators, aliasing, distinct, where, in, between, order by, like, is null and is not null
  • Aggregate functions max, min, avg, sum and count; group by and having
  • Joins: Cartesian product, equi join and natural join
  • Python with SQL: connect(), cursor(), execute(), commit(), fetchone(), fetchall(), rowcount; inserting, updating and deleting from Python; using %s or format() to build queries

Practical work: how the 30 marks are earned

Practical distribution
ComponentMarks
Lab test: one Python program (8) and four SQL queries on one or two tables (4)12
Report file7
Project8
Viva voce3
Total30

The report file should hold at least 15 Python programs, at least 5 sets of SQL queries and at least 4 programs that link Python with SQL. In the lab test, the Python program is judged on logic (60 percent), documentation (20 percent) and code quality (20 percent).

The project is done in groups of two or three, using file handling or Python and SQL connectivity to solve a real problem. CBSE suggests starting at least six months before submission and warns against copied work.

How the theory paper is set

The theory exam lasts three hours. Recent CBSE sample papers have grouped questions into sections that rise from 1 mark objective items, including assertion and reason, to longer 4 and 5 mark questions on code, SQL and a network case study. The board changes the exact count from time to time, so grab the newest model paper and its marking guide from the CBSE academic portal before your pre boards.

Syllabus documents are released each session. Always confirm the deleted or added topics in the latest curriculum PDF rather than relying on old notes or a senior's copy.

A year plan for 12th computer science

Arjun studies the class 12th computer science syllabus alongside physics, chemistry and maths, and also prepares for engineering entrances. He finishes functions and exceptions by early summer, does text, binary and CSV files before the mid term, then SQL and Python connectivity. Networks, which need little practice time, fit into the weeks before the pre boards. His project, a small library record system using CSV files, grows alongside the file handling chapter.

  • Write code every day, even 20 minutes; output and error questions punish rusty fingers
  • Keep a page of file method signatures and SQL clauses and revise it weekly
  • Solve CBSE's own model papers and older board papers; the guide to CBSE class 12 previous papers shows a way to use them

The NCERT computer science textbook for class 12 and the CBSE support material match this syllabus closely, so they are enough as your main books. Pairing CS with maths? The class 12 maths syllabus page and our school boards hub cover your other papers.

Frequently asked questions

What does the 12th computer science syllabus contain?

There are three: Computational Thinking and Programming 2 (40 marks), Computer Networks (10 marks) and Database Management (20 marks). Together they make the 70 mark theory paper, and practicals add 30 more.

Which programming language is used in CBSE class 12 CS?

Python. You write functions, handle exceptions and files and build a stack in Python, and you connect Python to an SQL database in the third unit.

Is the project compulsory?

Yes. The project carries 8 of the 30 practical marks. It is done in a group of two or three students and should use file handling or Python with SQL to solve a practical problem.

Is computer science 083 the same as informatics practices?

No. Informatics Practices carries a different code and centres on data handling. Computer Science 083 goes deeper into programming, files, the stack and networks.

Which chapter is best to begin with?

Start with functions, since files, the stack and the Python SQL interface all depend on writing clean functions. Leave networks for later because it needs revision more than practice.

Where is the computer science class 12 CBSE syllabus published?

CBSE posts each session's senior secondary curriculum on its academic portal. Use that PDF to check topics added or dropped this year.