CBSE Class 12 Computer Science Syllabus

Class 12 Computer Science Syllabus 2025-26: CBSE PDF

The CBSE Class 12th Computer Science syllabus is designed to prepare students with advanced knowledge of programming, data handling, networking, and database management. 

It emphasizes Python programming with recursion, file handling, and SQL integration, ensuring a balance between practical skills and theoretical concepts. The syllabus also covers computer networks, cyber safety, and ethical use of technology, making learners responsible digital citizens. 

The Class 12 CS syllabus 2025-26 by CBSE includes both theory and practical components, along with project work for real-world application. Let’s go through the complete unit-wise syllabus, marks distribution, practicals, objectives, books, and preparation tips.

Below is the list of chapters in class 12th computer science syllabus:

Unit No.Unit NameMarks
1Computational Thinking and Programming – 240
2Computer Networks10
3Database Management20
Theory Total70
4Practical (Lab Work, Project, Viva, File)30
Grand Total100

Download the official Class 12th Computer Science Syllabus 2025-26 PDF and keep it handy for quick revision and reference.

Let’s go through the class 12 CS syllabus in detail:

Unit 1: Computational Thinking and Programming – 2

This unit in CBSE class 12th CS syllabus focuses on advanced programming concepts in Python, building on the foundation laid in Class 11. Students revise previous topics and then dive deeper into user-defined functions, parameters, and scope of variables. 

Exception handling is introduced to make programs more robust. File handling covers text, binary, and CSV files with practical applications. The unit also introduces data structures like stacks, enabling students to implement push and pop operations using lists. 

TopicsDetails
Revision of Class XI PythonQuick recap of Python basics – data types, operators, conditionals, loops, strings, lists, tuples, and dictionaries.
Functions in PythonBuilt-in, module-based, and user-defined functions; arguments, parameters, default and positional parameters; return values; flow of execution; local and global variables.
Exception HandlingIntroduction to exceptions; handling errors using try, except, finally blocks for robust coding.
File Handling – BasicsIntroduction to files, absolute vs relative paths, types of files (text, binary, CSV).
Text FilesFile operations (r, r+, w, w+, a, a+ modes); with clause; read(), readline(), readlines(), write(), writelines(); seek() and tell(); manipulation of text data.
Binary FilesFile modes (rb, rb+, wb, wb+, ab, ab+); pickle module; dump() and load(); reading, writing, searching, appending, updating binary files.
CSV FilesUsing csv module; reading and writing with writer(), writerow(), writerows(), and reader().
Data Structure – StackConcept of stack, push and pop operations, and implementation of stack using Python lists.

Unit 2: Computer Networks

This unit in the CBSE class 12th computer science syllabus provides a clear understanding of how computer systems communicate and share information. Students learn about the evolution of networks, data communication concepts, and transmission media. It also covers network devices, types, and topologies. 

Common internet protocols like HTTP, TCP/IP, and SMTP are introduced, along with web technologies such as HTML, XML, domain names, and web hosting. By mastering these concepts, students develop a strong foundation in networking, which is essential for higher studies in IT and real-world applications.

TopicsDetails
Evolution of NetworkingIntroduction to networks, ARPANET, NSFNET, and the rise of the Internet.
Data CommunicationComponents: sender, receiver, message, medium, protocol; bandwidth and data transfer rate; IP addressing; switching (circuit and packet).
Transmission MediaWired: Twisted pair, Co-axial, Fiber optic.Wireless: Radio waves, Microwaves, Infrared.
Network DevicesModem, Ethernet card, RJ45, Repeater, Hub, Switch, Router, Gateway, Wi-Fi card.
Network Types & TopologiesTypes: PAN, LAN, MAN, WAN.Topologies: Bus, Star, Tree.
Network ProtocolsHTTP, FTP, PPP, SMTP, TCP/IP, POP3, HTTPS, TELNET, VoIP.
Web ServicesWWW, HTML, XML, domain names, URLs, browsers, servers, and web hosting.

Unit 3: Database Management

The third unit in class 12th computer science syllabus introduces students to database concepts and relational models used in real-world applications. It explains tables, attributes, tuples, domains, and keys. 

A strong focus is placed on SQL (Structured Query Language), covering both Data Definition and Data Manipulation commands such as CREATE, SELECT, UPDATE, DELETE, and JOIN. 

Students also learn constraints, aggregate functions, and grouping clauses. The unit concludes with Python-SQL connectivity, enabling students to integrate databases into Python applications for dynamic data management.

TopicsDetails
Database ConceptsIntroduction to databases, need for data management systems.
Relational Data ModelRelation, attribute, tuple, domain, degree, cardinality, and types of keys (candidate, primary, alternate, foreign).
SQL – BasicsIntroduction, DDL & DML; data types (char, varchar, int, float, date); constraints (not null, unique, primary key).
SQL – Database OperationsCREATE, USE, SHOW, DROP commands for databases and tables; DESCRIBE, ALTER (add/remove attribute, key).
SQL – Data OperationsINSERT, DELETE, SELECT, UPDATE; operators (mathematical, relational, logical); aliasing, DISTINCT, WHERE, IN, BETWEEN, ORDER BY, LIKE, NULL handling.
SQL – Aggregates & JoinsAggregate functions (MAX, MIN, AVG, SUM, COUNT); GROUP BY, HAVING; joins (Cartesian, equi-join, natural join).
Python-SQL ConnectivityConnecting SQL with Python using connect(), cursor(), execute(), commit(), fetchone(), fetchall(), rowcount; performing insert, update, delete queries.

More Important Resources for CBSE Exam:

CBSE Board: All detailsCBSE Class 11 Commerce Subjects
CBSE Full FormAll about CBSE Class 11th
Class 11th Hornbill Syllabus

Python Programming

  • Read a text file line by line and display each word separated by a #.
  • Read a text file and display the number of vowels, consonants, uppercase, and lowercase characters.
  • Remove all the lines containing the character ‘a’ from a file and write them to another file.
  • Create a binary file with name and roll number. Search for a given roll number and display the name, otherwise show an error message.
  • Create a binary file with roll number, name, and marks. Input roll number and update the marks.
  • Write a random number generator program that simulates a dice (1–6).
  • Write a Python program to implement a stack using list.
  • Create a CSV file with user ID and password, then read and search the password for a given user ID.

Database Management (SQL & Integration)

  • Create a student table and insert data.
  • Frame similar SQL exercises for practice.
  • Integrate SQL with Python using a suitable module to perform insert, update, delete, and display queries.
  • Perform SQL commands:
    • ALTER table (add, modify, drop attributes)
    • UPDATE table (modify data)
    • ORDER BY (ascending/descending)
    • DELETE (remove records)
    • GROUP BY with aggregate functions (MIN, MAX, SUM, COUNT, AVG)
  • Strengthen Python Programming Skills: Enhance coding abilities by learning recursion, functions, exception handling, and file operations (text, binary, CSV).
  • Apply Data Structures: Understand and implement stacks using Python lists for real-world problem solving.
  • Master Database Concepts: Gain knowledge of relational data models, keys, and SQL commands to manage and analyze structured data effectively.
  • Integrate Python with SQL: Learn database connectivity with Python for creating dynamic applications that can insert, update, delete, and fetch data.
  • Understand Computer Networks: Build knowledge of network devices, topologies, communication modes, and internet protocols like HTTP, TCP/IP, and SMTP.
  • Explore Web Services: Familiarize with WWW, HTML, XML, domain names, and hosting concepts that power modern websites.
  • Focus on Cyber Safety and Ethics: Develop awareness about cybercrime, data protection, IPR, malware, and responsible use of technology in society.
  • Enhance Problem-Solving and Debugging: Cultivate logical thinking, identify errors, and apply efficient solutions while programming and working with databases.
  • Develop Practical and Project Skills: Apply concepts through lab assignments, SQL queries, and one project to build real-life applications.
  • Prepare for Higher Studies and Careers: Lay a strong foundation in programming, databases, and networking, essential for computer science courses, engineering, and IT careers.

Prescribed Book (CBSE Official):

  • Computer Science with Python (Class XII) – Published by NCERT: This is the official textbook recommended by CBSE and fully aligned with the syllabus and exam pattern.

Recommended Reference Books:

  • Sumita Arora – Computer Science with Python (Class XII): Widely used across schools; detailed explanations, solved examples, and exercises for practice.
  • Preeti Arora – Computer Science with Python (Class XII): Focuses on Python programming, database management, and networking concepts with easy-to-follow examples.
  • Reeta Sahoo & Gagan Sahoo – Computer Science with Python (Class XII): Well-structured and student-friendly; covers practical exercises and projects alongside theory.
  • NCERT Exemplar Problems (if available for Computer Science): Helps with higher-order thinking questions and extra practice for exams.

1. Revise Python Concepts from Class 11

Brush up basics like loops, conditionals, and functions. Strengthening Class 11 topics will make advanced concepts like recursion, file handling, and exception handling much easier to understand.

2. Practice File Handling Regularly

Work with text, binary, and CSV files. Practice reading, writing, updating, and searching data. File handling carries high weightage in exams and requires regular coding practice.

3. Strengthen SQL Commands

Write and practice SQL queries daily. Focus on CREATE, SELECT, UPDATE, DELETE, and JOINs. Combine queries with aggregate functions to build confidence and accuracy in database management tasks.

4. Learn Python-SQL Connectivity

Build small applications using Python and MySQL. Practice inserting, updating, and displaying records through code. This practical knowledge improves logical thinking and helps in both exams and projects.

5. Prepare Networking and Theory Notes

Networking and ethics are scoring units. Prepare concise notes on protocols, devices, topologies, and cyber safety. Regularly revising short points helps in quick recall during exams.

6. Work on Your Project Early

Start your project file at least two months before exams. Choose simple real-life applications like student records or billing systems. Early preparation gives more time for corrections and polish.

7. Focus on Error Debugging

Don’t just memorize programs—analyze and fix errors. Understanding logical, runtime, and syntax errors sharpens problem-solving skills and reduces mistakes in coding exams and practical tests.

Check the latest CBSE Class 11 syllabus for all subjects below:

Class 11th History SyllabusClass 11th Chemistry Syllabus
Class 11th Legal Studies SyllabusClass 11th Biology Syllabus
Class 11th Accountancy SyllabusClass 11th Psychology Syllabus
Class 11th Entrepreneurship SyllabusClass 11th Fine Arts Syllabus
Class 11th Business Studies SyllabusClass 11th Sociology Syllabus
Class 11th Maths SyllabusClass 11th Economics Syllabus
Class 11th Political Science SyllabusClass 11th English Syllabus
Class 11th Physics SyllabusClass 11th Hindi Syllabus
Class 11th Geography SyllabusClass 11th Computer Science Syllabus
Class 11th Informatics Practices SyllabusClass 11th Physical Education Syllabus
Class 11th Home Science SyllabusClass 11th Sanskrit Syllabus
What is the subject code for Class 12 Computer Science?

The subject code for Class 12 Computer Science is 083.

What is the total marks distribution in Class 12 CS?

The syllabus has 70 marks theory and 30 marks practical, making a total of 100 marks.

Which programming language is included in Class 12 CS syllabus 2025-26?

The CBSE Class 12 Computer Science syllabus is based on Python.

Is recursion included in Class 12 Computer Science syllabus?

Yes, recursion is introduced in Class 12 Python programming under user-defined functions.

What is exception handling in Class 12 CS?

Exception handling allows handling of runtime errors in Python using try, except, and finally blocks.

What data structure is included in Class 12 CS?

The syllabus includes the Stack data structure and its operations like push and pop using lists.

Which SQL commands are included in the syllabus?

Commands include CREATE, ALTER, DROP, SELECT, UPDATE, DELETE, ORDER BY, GROUP BY, HAVING, JOINs, and aggregate functions.

What project work is required in Class 12 CS?

Students must create one project using Python, file handling, or Python-SQL connectivity.

How many programs are required in the practical file?

A minimum of 15 Python programs, 5 SQL sets, and 4 Python-SQL connectivity programs are required.

Is Class 12 Computer Science tough?

No, it is manageable with regular practice of Python, SQL queries, and revision of theory topics like networks and ethics.

Read the chapter-wise summaries of Class 11 English here:

The Portrait of a Lady SummaryDiscovering Tut: The Saga Continues Summary
We’re Not Afraid to Die SummaryThe Landscape of The Soul Summary
The Ailing Planet SummaryThe Browning Version Summary
The Adventure SummaryA Photograph Summary
Silk Road SummaryThe Voice of The Rain Summary
Childhood SummaryFather to Son Summary
Birth SummaryMother’s Day Summary
The Summer of The Beautiful White Horse SummaryThe Address Summary
The Laburnum Top Summary

Find detailed questions and answers from all chapters of English Class 11 now:

Father to Son Questions & AnswersBirth Questions and Answers
Childhood Questions & AnswersThe Address Questions & Answers
The Laburnum Top Questions & AnswersMother’s Day Questions & Answers
A Photograph Questions & AnswersThe Voice of The Rain Questions & Answers
The Summer of Beautiful White Horse Questions & Answers

Discover CLAT exam resources that can help you get started early:

Online CLAT CoachingWhat is CLAT?
CLAT Scholarship TestHow to Prepare for CLAT?
CLAT Mock TestCLAT Eligibility Criteria
CLAT SyllabusList of all National Law Universities
CLAT Previous Year Question PaperUpcoming Law Entrance Exam

Explore CLAT coaching centers across different cities:

CLAT Coaching in JaipurCLAT Coaching in LucknowCLAT Coaching in NoidaCLAT Coaching in Agra
CLAT Coaching in JodhpurCLAT Coaching in BangaloreCLAT Coaching in KanpurCLAT Coaching in Ghaziabad
CLAT Coaching in BhopalCLAT Coaching in MumbaiCLAT Coaching in PrayagrajCLAT Coaching in Varanasi
CLAT Coaching in IndoreCLAT Coaching in GwaliorCLAT Coaching in PuneCLAT Coaching in Bhilai
CLAT Coaching in PatnaCLAT Coaching in JabalpurCLAT Coaching in NagpurCLAT Coaching in Rewari
CLAT Coaching in DelhiCLAT Coaching in MuzaffarpurCLAT Coaching in MysoreCLAT Coaching in Gurgaon
CLAT Coaching in ChandigarhCLAT Coaching in BathindaCLAT Coaching in KolkataCLAT Coaching in Raipur
CLAT Coaching in AhmedabadCLAT Coaching in JammuCLAT Coaching in DehradunCLAT Coaching in Jamshedpur
CLAT Coaching in ChennaiCLAT Coaching in RajasthanCLAT Coaching in Delhi NCRCLAT Coaching in Kankarbagh
CLAT Coaching in Hyderabad
Scroll to Top