CBSE Syllabus for Class 12 Computer Science 2021-2022 Exam


CBSE Class 12 Computer Science syllabus contains all the details of the subject that will be helpful for your exam preparation. The syllabus includes the list of topics to be studied in this academic year along with the marking scheme of theory and practical examination, a list of practicals, suggested reading material and project work. Every student needs to take note of the syllabus for Class 12 Computer Science by CBSE at the starting of the session. This is because CBSE might make slight changes in the exam pattern and the list of topics in the new session which you must be aware of. Always check the latest syllabus by CBSE for your exam preparation as it will provide you with correct information. 


CBSE syllabus for Class 12 Computer Science includes three units - Unit 1: Computational Thinking and Programming - 2, Unit 2: Computer Networks and Unit 3: Database Management. The theory examination is 70 Marks while the practical examination is 30 Marks. CBSE recommends the NCERT Textbook for COMPUTER SCIENCE (Class XII) for this subject which includes 13 Chapters on various topics. You will first study exception handling and file handling in Python then you will learn about some important data structures - stack and queue. The CBSE syllabus also includes sorting techniques, database concepts and SQL (Structured Query Language). You will also study computer networks, data communication and cybersecurity. Then, you will also be taught to work on a real-life project so that you can learn how things work in a programming environment.  


askIITians provides the complete syllabus for CBSE Class 12 Computer Science based on the latest updates by CBSE. We have included all the necessary details of the syllabus in simple language so that you do not get confused. We can also help you prepare the syllabus for the Class 12 Board examination through our online CBSE coaching program. We offer self-paced video lectures and live classes to help you understand the concepts of Computer Science and programming. You will get access to our wide range of study resources for Computer Science like chapter notes, NCERT solutions, mindmaps, flashcards, sample papers and more! 

Check Detailed Syllabus for CBSE Class 12 Computer Science 


In the tables given below, we have provided information about the distribution of marks for each of the units and the topics included in every chapter for Class 12 Computer Science. You can access the full syllabus for Class 12 Computer Science and get the complete list of practicals along with theory topics. Also, in the third table, we have provided the complete marking scheme for the Class 12 Computer Science practical examination. Hope this information will be quite helpful in preparing for your exams. 


CBSE Class 12 Computer Science Distribution of Marks (Theory Examination) 

Unit 1: Computational Thinking and Programming - 2

40 Marks 

Unit 2: Computer Networks 

10 Marks 

Unit 3: Database Management

20 Marks 


Total 70 Marks 


CBSE Class 12 Computer Science Syllabus 

Chapter 1: Exception Handling in Python 

Syntax Errors, Exceptions, Built-in Exceptions, Raising Exceptions, Handling Exceptions, Finally Clause

Chapter 2: File Handling in Python 

Introduction to Files, Types of Files, Opening and Closing a Text File, Writing to a Text File, Reading from a Text File, Setting Offsets in a File, Creating and Traversing a Text File, The Pickle Module

Chapter 3: Stack 

Stack, Operations on Stack, Implementation of Stack in Python, Notations for Arithmetic Expressions, Conversion from Infix to Postfix Notation, Evaluation of Postfix Expression 

Chapter 4: Queue 

Introduction to Queue, Operations on Queue,  Implementation of Queue using Python, Introduction to Dequeue, Implementation of Dequeue Using Python 

Chapter 5: Sorting 

What is Sorting, Bubble Sort, Selection Sort, Insertion Sort, Time Complexity of Algorithms

Chapter 6: Searching 

What is Searching, Linear Search, Binary Search, Search by Hashing

Chapter 7: Understanding Data 

Introduction to Data, Data Collection, Data Storage, Data Processing, Statistical Techniques for Data Processing 

Chapter 8: Database Concepts 

What is a Database, File System, Database Management System, Relational Data Model, Keys in a Relational Database 

Chapter 9: SQL 

Structured Query Language (SQL), Data Types and Constraints in MySQL, SQL for Data Definition, SQL for Data Manipulation, SQL for Data Query, Data Updation and Deletion, Functions in SQL, GROUP BY Clause in SQL, Operations on Relations, Using Two Relations in a Query

Chapter 10: Computer Networks 

Introduction to Computer Networks, Evolution of Networking, Types of Networks, Network Devices, Networking Topologies, Identifying Nodes in a Networked Communication, Internet, Web and the Internet of Things, Domain Name System

Chapter 11: Data Communication 

Concept of Communication, Components of data Communication, Measuring Capacity of Communication Media, Types of Data Communication, Switching Techniques,  Transmission Media, Mobile Telecommunication Technologies, Protocol

Chapter 12: Security Alerts 

Threats and Prevention, Malware, Antivirus, Spam, HTTP vs HTTPS, Firewall, Cookies, Hackers and Crackers, Network Security Threats

Chapter 13: Project-Based Learning 

Approaches for Solving Projects, Teamwork, Project Descriptions 


CBSE Class 12 Computer Science Distribution of Marks (Practical Examination)

Lab Test: 1. Python program (60% logic + 20% documentation + 20% code quality)

7 Marks 

Lab Test: 2. 5 SQL Queries

5 Marks 

Report file: Minimum 20 Python programs (at least 5 programs should be based on SQL Queries and 2 programs based on Python-database connectivity)

7 Marks 

Project (using concepts learnt in Classes 11 and 12)

8  Marks 

Viva voce 

3 Marks 


Total 30 Marks 


CBSE Class 12 Computer Science Syllabus 2021-22 FAQs


#1 Is Computer Science a scoring subject? 

Of course, computer science is a scoring subject if you understand programming skills and concepts thoroughly. However, one must take care of small mistakes like syntax errors because you may lose marks if you forget to put a semicolon at the right place or follow the other rules of syntax and semantics. 


#2 What are some CBSE Class 12 Computer Science preparation tips? 

  • Enhance your logic skills so that you can create programs on your own. 
  • Develop the habits of writing codes. It will make you more acquainted with the programming language you are learning. 
  • Try testing programs on your own. Once you write a code, dry run it yourself and think of any possible mistakes. 
  • Understand the concepts behind sorting, searching, stack, queue etc before learning their programs. 
  • Make your notes and add all the important points in them for your exam preparation. 
  • Practice programming as much as you can. This will enhance your concepts and develop your logical skills. 


#3 Is Computer Science hard in Class 12? 

Computer Science is a subject that requires logic, analysis and problem-solving skills. You might need some practice until you gain confidence in creating programs on your own. This is why many students think that it is hard. But, if you study the subject daily, focus on the concepts and work on your logic building skills, you can score full marks in this subject. 


#4 Can askIITians help me in preparing for the CBSE Class 12 Computer Science exam? 

Yes, we can help you in enhancing your Computer Science concepts for the Class 12 board exams. You can join our online coaching classes and learn through video-based lectures. We also offer live classes for programming and a plethora of study resources like chapter notes, mindmaps, flashcards, sample papers, and more! 



Upto 50% Scholarship on Live Classes

Course Features

  • Video Lectures
  • Revision Notes
  • Previous Year Papers
  • Mind Map
  • Study Planner
  • NCERT Solutions
  • Discussion Forum
  • Test paper with Video Solution