CBSE

CBSE Class 12 Computer Science Syllabus 2026-27, Download PDF, Topics and Exam Pattern

👤

The CBSE Class 12 Computer Science Syllabus 2026-27 covers Python programming, file handling, data structures, computer networks and database management. Students preparing for the 2027 board examination should understand the complete syllabus and practise programming questions regularly. The theory examination carries 70 marks, while the practical examination carries 30 marks. Students can check the unit-wise marks distribution, detailed topics, practical syllabus, exam pattern and marking scheme below.

Table of Contents
  1. CBSE Class 12 Computer Science Syllabus 2026-27: Overview
  2. Download Computer Science Class 12th Syllabus 2026-27
  3. CBSE Class 12 Computer Science Syllabus 2026-27: Unit-Wise Marks Distribution
  4. CBSE Class 12 Computer Science Syllabus 2026-27: Unit-Wise Topics
  5. CBSE Class 12 Computer Science Practical Syllabus 2026-27
  6. CBSE Class 12 Computer Science Exam Pattern 2026-27
  7. CBSE Class 12 Computer Science Marking Scheme 2026-27
  8. How to Prepare for CBSE Class 12 Computer Science Exam 2027?
  9. CBSE Class 12 Science Stream Syllabus 2026-27
  10. CBSE Class 12 Science Important Questions 2027
  11. FAQs on CBSE Class 12 Computer Science Syllabus 2026-27

CBSE Class 12 Computer Science Syllabus 2026-27: Overview

The CBSE Class 12 Computer Science syllabus is divided into three theory units. It focuses on advanced Python programming, computer networking, SQL queries and Python-MySQL connectivity. Students also have to complete practical work and a project using the concepts learned in Classes 11 and 12. Check the important examination details in the table below.

Particulars Details
Exam Name CBSE Class 12 Board Examination 2027
Conducting Body Central Board of Secondary Education (CBSE)
Academic Session 2026-27
Class Class 12
Subject Name Computer Science
Subject Code 083
Total Theory Units 3
Theory Examination 70 Marks
Practical Examination 30 Marks
Total Marks 100 Marks
Theory Exam Duration 3 Hours
Question Paper Type MCQs, Short Answer, Programming, SQL and Case-Based Questions
Total Questions 37 Questions in the official sample paper
Programming Language Python
Practical Assessment Python Lab Test, SQL Lab Test, Report File, Project and Viva
Official Syllabus Available on the CBSE Academic Website

Download Computer Science Class 12th Syllabus 2026-27

Students can download the official CBSE Class 12 Computer Science Syllabus 2026-27 PDF from the link given below. The PDF includes the complete theory syllabus, unit-wise marks distribution, practical assessment, suggested programming exercises and project guidelines.

Particulars Details
Board CBSE
Class 12th
Subject Computer Science
Subject Code 083
Academic Session 2026-27
Theory Marks 70
Practical Marks 30
Total Marks 100
Syllabus Format PDF
Download Link Download CBSE Class 12 Computer Science Syllabus PDF

Students should download the latest syllabus and use it as their main study guide. It will help them understand the programming concepts, database topics and networking areas prescribed for the 2026-27 academic session.

CBSE Class 12 Computer Science Syllabus 2026-27: Unit-Wise Marks Distribution

The CBSE Class 12 Computer Science theory paper carries 70 marks. The syllabus is divided into three units, with Computational Thinking and Programming–2 carrying the highest weightage of 40 marks.

The complete unit-wise marks distribution is given below.

Unit No. Unit Name Marks
1 Computational Thinking and Programming – 2 40
2 Computer Networks 10
3 Database Management 20
Total 70

Students should give extra practice time to Python programming because it carries the highest marks. However, Computer Networks and Database Management are also important parts of the examination and should not be ignored.

CBSE Class 12 Computer Science Syllabus 2026-27: Unit-Wise Topics

The Computer Science syllabus includes three main units. Each unit covers different concepts related to programming, networking and databases.

The detailed topics are explained below.

Unit 1: Computational Thinking and Programming – 2

This unit carries 40 marks and focuses on Python programming and problem-solving. Students revise important Python concepts from Class 11 and learn advanced topics such as functions, exception handling, file handling and stacks.

1. Revision of Python Topics

Students should revise the Python concepts studied in Class 11 before starting the advanced topics.

2. Functions

This section explains how functions help divide a program into smaller parts. Students learn how to create and use user-defined functions.

Important topics include:

  • Built-in functions
  • Functions defined in modules
  • User-defined functions
  • Creating user-defined functions
  • Arguments and parameters
  • Default parameters
  • Positional parameters
  • Functions returning values
  • Flow of execution
  • Scope of variables
  • Global and local variables

3. Exception Handling

Exception handling helps manage errors that occur while a program is running. Students learn how to handle exceptions and prevent programs from stopping unexpectedly.

Important topics include:

  • Introduction to exceptions
  • try block
  • except block
  • finally block
  • Handling exceptions using try-except-finally

4. Introduction to Files

This section explains how Python stores and accesses information using files. Students learn about different file types and file paths.

Important topics include:

  • Introduction to files
  • Text files
  • Binary files
  • CSV files
  • Relative paths
  • Absolute paths

5. Text File Handling

Students learn how to create, read, write and update text files using Python.

Important topics include:

  • Opening and closing a text file
  • File opening modes: r, r+, w, w+, a and a+
  • Using the with clause
  • Writing data using write() and writelines()
  • Reading data using read(), readline() and readlines()
  • seek() and tell() methods
  • Manipulation of data in a text file

6. Binary File Handling

Binary files store data in a format that is not directly readable as normal text. Students learn how to perform different operations on binary files.

Important topics include:

  • Opening and closing binary files
  • Binary file modes: rb, rb+, wb, wb+, ab and ab+
  • Using the pickle module
  • dump() and load() methods
  • Reading and writing binary files
  • Creating binary files
  • Searching records
  • Appending records
  • Updating records

7. CSV File Handling

CSV files are used to store tabular data in rows and columns. Students learn how to work with CSV files using Python.

Important topics include:

  • Importing the csv module
  • Opening and closing CSV files
  • Writing data using writer()
  • Writing rows using writerow() and writerows()
  • Reading data using reader()

8. Data Structure: Stack

A stack is a linear data structure that follows the Last In, First Out (LIFO) principle. Students learn how to create and manage a stack using Python lists.

Important topics include:

  • Introduction to stacks
  • Push operation
  • Pop operation
  • Implementation of stacks using lists

Unit 2: Computer Networks

This unit carries 10 marks and explains how computers communicate and share information. Students learn about network development, data communication, transmission media, network devices, topologies and protocols.

1. Evolution of Networking

This section introduces computer networks and explains how networking developed over time.

Important topics include:

  • Introduction to computer networks
  • ARPANET
  • NSFNET
  • Internet

2. Data Communication Terminologies

Students learn about the basic terms used in data communication and how information moves between devices.

Important topics include:

  • Concept of communication
  • Sender and receiver
  • Message
  • Communication media
  • Protocols
  • Bandwidth
  • Data transfer rate
  • IP address
  • Circuit switching
  • Packet switching

3. Transmission Media

Transmission media are used to transfer information between connected devices. They are divided into wired and wireless communication media.

Important topics include:

  • Twisted pair cable
  • Co-axial cable
  • Fibre-optic cable
  • Radio waves
  • Microwaves
  • Infrared waves

4. Network Devices

Students learn about different devices used to connect computers and manage communication within a network.

Important topics include:

  • Modem
  • Ethernet card
  • RJ45
  • Repeater
  • Hub
  • Switch
  • Router
  • Gateway
  • Wi-Fi card

5. Network Topologies and Network Types

This section explains how computers are connected and arranged in a network.

Important topics include:

  • Personal Area Network (PAN)
  • Local Area Network (LAN)
  • Metropolitan Area Network (MAN)
  • Wide Area Network (WAN)
  • Bus topology
  • Star topology
  • Tree topology

6. Network Protocols

Protocols are rules that allow devices to communicate with each other. Students learn about commonly used network protocols.

Important topics include:

  • HTTP
  • FTP
  • PPP
  • SMTP
  • TCP/IP
  • POP3
  • HTTPS
  • TELNET
  • VoIP

7. Introduction to Web Services

This section explains the basic terms and technologies used to access websites and online services.

Important topics include:

  • World Wide Web (WWW)
  • HyperText Markup Language (HTML)
  • Extensible Markup Language (XML)
  • Domain names
  • URL
  • Website
  • Web browser
  • Web servers
  • Web hosting

Unit 3: Database Management

This unit carries 20 marks and focuses on database concepts, SQL commands and Python-MySQL connectivity. Students learn how to create databases, manage tables, retrieve information and perform different operations using SQL.

1. Database Concepts

This section introduces databases and explains why they are used to store and manage information.

Important topics include:

  • Introduction to database concepts
  • Need for databases
  • Basic database terminology

2. Relational Data Model

Students learn how information is arranged in tables and how different tables are connected.

Important topics include:

  • Relation
  • Attribute
  • Tuple
  • Domain
  • Degree
  • Cardinality
  • Candidate key
  • Primary key
  • Alternate key
  • Foreign key

3. Structured Query Language (SQL)

SQL is used to create, manage and retrieve information from relational databases. Students learn different SQL commands and their uses.

Important topics include:

  • Introduction to SQL
  • Data Definition Language (DDL)
  • Data Manipulation Language (DML)
  • SQL data types: CHAR, VARCHAR, INT, FLOAT and DATE
  • Constraints: NOT NULL, UNIQUE and PRIMARY KEY
  • CREATE DATABASE
  • USE
  • SHOW DATABASES
  • DROP DATABASE
  • SHOW TABLES
  • CREATE TABLE
  • DESCRIBE TABLE
  • ALTER TABLE
  • INSERT
  • DELETE
  • SELECT
  • Mathematical, relational and logical operators
  • Aliasing
  • DISTINCT clause
  • WHERE clause
  • IN and BETWEEN operators
  • ORDER BY clause
  • NULL values
  • IS NULL and IS NOT NULL
  • LIKE operator
  • UPDATE command
  • Aggregate functions: MAX, MIN, AVG, SUM and COUNT
  • GROUP BY clause
  • HAVING clause
  • Cartesian product
  • Equi-join
  • Natural join

4. Interface of Python with an SQL Database

This section explains how Python can connect with a MySQL database and perform database operations.

Important topics include:

  • Connecting SQL with Python
  • Performing INSERT queries
  • Performing UPDATE queries
  • Performing DELETE queries
  • Using cursor()
  • Using execute()
  • Using commit()
  • Using fetchone()
  • Using fetchall()
  • Using rowcount
  • Creating database connectivity applications
  • Using the %s format specifier or format() to perform queries

CBSE Class 12 Computer Science Practical Syllabus 2026-27

The Computer Science practical examination carries 30 marks. It includes a Python programming lab test, SQL queries, a report file, a project and viva voce.

Students should practise Python programs and SQL queries regularly because practical work tests their ability to apply programming concepts.

CBSE Class 12 Computer Science Practical Marks Distribution

The official CBSE practical assessment scheme is given below.

Practical Assessment Marks
Python Programming Lab Test 8
SQL Queries Lab Test 4
Report File 7
Project 8
Viva Voce 3
Total 30

Computer Science Practical Details

1. Python Programming Lab Test – 8 Marks

Students have to write and execute a Python program during the practical examination. The assessment is based on the following criteria:

  • Logic: 60%
  • Documentation: 20%
  • Code quality: 20%

2. SQL Queries Lab Test – 4 Marks

Students have to solve four SQL queries based on one or two database tables.

3. Report File – 7 Marks

Students must prepare a practical report file containing:

  • Minimum 15 Python programs
  • Minimum 5 sets of SQL queries using one or two tables
  • Minimum 4 programs based on Python-SQL connectivity

4. Project – 8 Marks

Students have to prepare a project using the concepts learned in Classes 11 and 12. The project may use Python file handling or Python-SQL connectivity.

5. Viva Voce – 3 Marks

Students have to answer questions related to their practical work, programming concepts, SQL queries and project.

Suggested Python Practical Programs

The official syllabus provides a list of suggested programming exercises. Students should practise these programs to prepare for the practical examination.

  • Read a text file line by line and display each word separated by a #.
  • Read a text file and count vowels, consonants, uppercase and lowercase characters.
  • Remove lines containing the character ‘a’ from a file and write the remaining lines into another file.
  • Create a binary file with names and roll numbers and search for a given roll number.
  • Create a binary file with roll numbers, names and marks, then update the marks of a student.
  • Generate random numbers between 1 and 6 to simulate a dice.
  • Implement a stack using a Python list.
  • Create a CSV file containing user IDs and passwords, then search for a password using a user ID.

Suggested Database Management Practical Programs

Students should also practise database operations using SQL.

Some suggested exercises include:

  • Create a student table and insert records.
  • Add or remove attributes using ALTER TABLE.
  • Modify records using UPDATE.
  • Display records in ascending or descending order using ORDER BY.
  • Delete records using DELETE.
  • Use GROUP BY with MIN, MAX, SUM, COUNT and AVG.
  • Connect Python with SQL using a suitable module.

Computer Science Project Work

The project is an important part of the practical assessment. Students have to create something useful using Python file handling or Python-SQL connectivity.

The official syllabus suggests that students should work in groups of two to three members and start their projects at least six months before the submission deadline.

Students can identify a real-world problem and develop a small application to solve it. Some project ideas include:

  • Student record management system
  • Library management system
  • School fee management system
  • Inventory management system
  • Billing and invoice generation system
  • Employee record management system
  • Book issue and return system

Students should avoid plagiarism and respect copyright rules while preparing their projects.

CBSE Class 12 Computer Science Exam Pattern 2026-27

The CBSE Class 12 Computer Science theory examination carries 70 marks and has a duration of 3 hours. According to the official 2026-27 sample question paper, the examination contains 37 questions divided into five sections.

The paper includes Python programming, SQL queries, networking concepts, database questions and application-based problems.

Section Question Type Number of Questions Marks per Question Total Marks
A Objective Questions 21 1 21
B Short Answer Questions 7 2 14
C Short Answer Questions 3 3 9
D Application-Based Questions 4 4 16
E Long Answer Questions 2 5 10
Total 37 70

Important Points About the Computer Science Exam Pattern

  • The theory examination is conducted for 3 hours.
  • The maximum marks for the theory paper are 70.
  • The official sample paper contains 37 questions.
  • All questions are compulsory.
  • The paper is divided into five sections: A, B, C, D and E.
  • Section A contains 21 one-mark questions.
  • Section B contains seven two-mark questions.
  • Section C contains three three-mark questions.
  • Section D contains four four-mark questions.
  • Section E contains two five-mark questions.
  • Internal choices are provided in selected questions.
  • All programming questions must be answered using Python.
  • In MCQs, students should also write the text of the correct answer.

CBSE Class 12 Computer Science Marking Scheme 2026-27

The CBSE Computer Science marking scheme helps students understand the expected answers and marks distribution for the official sample question paper.

It is especially useful for programming and SQL questions because students can understand how marks are awarded for correct logic, commands, output and steps.

Use the links below to access the official marking scheme and sample papers for Class 12.

Study Resource What You Will Find Open Resource
Computer Science Marking Scheme 2026-27 Official answers and marking points for the CBSE Class 12 Computer Science sample paper. Download PDF
CBSE Class 12 Sample Papers and Marking Schemes 2026-27 Official sample papers and marking schemes for all Class 12 subjects. View on CBSE website

How to Prepare for CBSE Class 12 Computer Science Exam 2027?

Computer Science preparation requires regular programming practice and a clear understanding of Python, SQL and networking concepts. Students should practise writing code instead of only reading programming examples.

Here are some useful preparation tips:

  1. Follow the latest syllabus: Check all three units and prepare every prescribed topic.
  2. Revise Python basics: Understand variables, data types, loops, strings, lists, tuples and dictionaries.
  3. Practise functions: Learn how to create user-defined functions and pass arguments.
  4. Learn file handling: Practise text, binary and CSV file operations.
  5. Understand stacks: Write Python programs using push and pop operations.
  6. Practise SQL queries: Learn CREATE, INSERT, SELECT, UPDATE, DELETE and JOIN commands.
  7. Revise networking concepts: Prepare network devices, protocols, topologies and transmission media.
  8. Practise Python-SQL connectivity: Understand how to connect Python with MySQL and perform database operations.
  9. Complete practical work: Prepare your report file and project according to CBSE guidelines.
  10. Solve sample papers: Attempt the official sample paper within 3 hours and check your answers using the marking scheme.

CBSE Class 12 Science Stream Syllabus 2026-27

Students preparing for the CBSE Class 12 Science stream can use this table to find subject-wise syllabus details for the 2026-27 academic session.

S. No. Subject Syllabus Page
1 Physics CBSE Class 12 Physics Syllabus 2026-27
2 Chemistry CBSE Class 12 Chemistry Syllabus 2026-27
3 Biology CBSE Class 12 Biology Syllabus 2026-27
4 Mathematics CBSE Class 12 Mathematics Syllabus 2026-27
5 Biotechnology CBSE Class 12 Biotechnology Syllabus 2026-27

CBSE Class 12 Science Important Questions 2027

Students should practise important questions from all Science subjects to revise key concepts and improve their board examination preparation. Check the subject-wise important questions below.

S. No. Subject Practice Questions
1 Physics CBSE Class 12 Physics Important Questions 2027
2 Chemistry CBSE Class 12 Chemistry Important Questions 2027
3 Biology CBSE Class 12 Biology Important Questions 2027
4 Mathematics CBSE Class 12 Mathematics Important Questions 2027
5 Computer Science CBSE Class 12 Computer Science Important Questions 2027
6 Biotechnology CBSE Class 12 Biotechnology Important Questions 2027

FAQs on CBSE Class 12 Computer Science Syllabus 2026-27

1. How many units are there in the CBSE Class 12 Computer Science Syllabus 2026-27?

The CBSE Class 12 Computer Science syllabus includes three units: Computational Thinking and Programming–2, Computer Networks and Database Management.

2. How many marks are allotted to the Class 12 Computer Science theory paper?

The Computer Science theory paper carries 70 marks. The practical examination carries 30 marks, making the total subject marks 100.

3. Which unit carries the highest marks in Class 12 Computer Science?

Computational Thinking and Programming–2 carries the highest weightage in the syllabus. It carries 40 marks out of the total 70 theory marks.

4. What is the duration of the CBSE Class 12 Computer Science exam?

The CBSE Class 12 Computer Science theory examination has a duration of 3 hours. Students should manage their time while solving programming, SQL and theory questions.

5. How many questions are included in the CBSE Class 12 Computer Science sample paper?

The official 2026-27 Computer Science sample question paper contains 37 questions divided into five sections, from Section A to Section E.

6. Which programming language is used in the CBSE Class 12 Computer Science examination?

Python is the programming language used for programming questions in the CBSE Class 12 Computer Science examination. The official sample paper instructs students to answer all programming questions using Python.

7. What is the practical examination marking scheme for Class 12 Computer Science?

The practical examination carries 30 marks. It includes 8 marks for the Python lab test, 4 marks for SQL queries, 7 marks for the report file, 8 marks for the project and 3 marks for viva voce.

8. Which topics are included in the Computer Science practical syllabus?

The practical syllabus includes Python programming, text and binary file handling, CSV files, stacks, SQL queries, database operations and Python-SQL connectivity.

9. Is Python-MySQL connectivity included in the CBSE Class 12 Computer Science syllabus?

Yes, Python-SQL connectivity is included in the Database Management unit. Students learn how to connect Python with an SQL database and perform INSERT, UPDATE and DELETE operations.

10. Where can students download the CBSE Class 12 Computer Science syllabus PDF?

Students can download the official Computer Science syllabus PDF from the CBSE Academic website. It contains the complete theory syllabus, practical assessment and project guidelines for the 2026-27 academic session.

Last updated on

Geetanjali Gupta

SEO Content Writer at GenZExams, creating easy-to-understand and informative content on government jobs, competitive exams, recruitment notifications, exam dates and results. Focused on providing accurate and useful information to help candidates prepare for their exams.