CBSE Class 12 Computer Science Syllabus

CBSE Syllabus For Class 12 Computer Science 2020 | NCERT Computer Science Book PDFs

CBSE Class 12 Computer Science Syllabus

CBSE Syllabus For Class 12 Computer Science: Computer Science is the study of computer technology, both hardware, and software. However, computer science is a diverse field. It has a great scope across the world. By studying Computer Science in 12, you will have a better base on the subject. It will also help to score a better mark in the 12th board exam and also helpful for further higher study in Computer Science.

With the latest CBSE Syllabus for Class 12 Computer Science, you will get to know the chapters and concepts to be covered in all topics. It will also let you know the weightage in various topics for the board exam.

You should have a depth concept in every topic of Class 12 Computer Science to score better marks CBSE Class 12 Board exam.

In this article, you can check the detailed CBSE Class 12 Computer Science Syllabus for better preparation.

CBSE Syllabus For Class 12 Computer Science 2020

CBSE updates the Class 12 syllabus almost every year to provide the most updated curriculum to students. To prepare correctly for CBSE Class 12 Computer Science board exam, you must have the latest syllabus along with books and other study materials.

You should have depth concepts on the subject to score better marks. Based on the score in CBSE Class 12, you can get admission to the better institute for higher education.

CBSE updates the Class 12 syllabus every year to provide the most updated curriculum to students.

You can check and download the latest CBSE Syllabus For Class 12 Computer and Exam Pattern 2020 from below. You can also download NCERT Computer Science Textbook PDFs based on the latest syllabus.

Unit I: Computational Thinking and Programming – 2

  • Revision of the basics of Python covered in Class XI.
  • Functions: scope, parameter passing, mutable/immutable properties of data objects, passing strings, lists, tuples, dictionaries to functions, default parameters, positional parameters, return values, functions using libraries: mathematical and string functions.
  • File handling: Need for a data file, Types of file: Text files, Binary files and CSV (Comma separated values) files.
  • Text File: Basic operations on a text file: Open (filename – absolute or relative path, mode) / Close a text file, Reading and Manipulation of data from a text file, Appending data into a text file, standard input / output and error streams, relative and absolute paths.
  • Binary File: Basic operations on a binary file: Open (filename – absolute or relative path, mode) / Close a binary file, Pickle Module – methods load and dump; Read, Write/Create, Search, Append and Update operations in a binary file.
  • CSV File: Import csv module, functions – Open / Close a csv file, Read from a csv file and Write into a csv file using csv.reader ( ) and csv.writerow( ).
  • Using Python libraries: create and import Python libraries.
  • Recursion: simple algorithms with recursion: print a message forever, sum of first n natural numbers, factorial, Fibonacci numbers; recursion on arrays: binary search.
  • Idea of efficiency: performance measurement in terms of the number of operations.
  • Data-structures: Lists as covered in Class XI, Stacks – Push, Pop using a list, Queues – Insert, Delete using a list.

Unit II: Computer Networks

  • Evolution of Networking: ARPANET, Internet, Interspace Different ways of sending data across the network with reference to switching techniques (Circuit and Packet switching).
  • Data Communication terminologies: Concept of Channel, Bandwidth (Hz, KHz, MHz) and Data transfer rate (bps, Kbps, Mbps, Gbps, Tbps).
  • Transmission media: Twisted pair cable, coaxial cable, optical fiber, infrared, radio link, microwave link and satellite link.
  • Network devices: Modem, RJ45 connector, Ethernet Card, Router, Switch, Gateway, WiFi card.
  • Network Topologies and types: Bus, Star, Tree, PAN, LAN, WAN, MAN.
  • Network Protocol: TCP/IP, File Transfer Protocol (FTP), PPP, HTTP, SMTP, POP3, Remote Login (Telnet) and Internet, Wireless / Mobile Communication protocol such as GSM, GPRS and WLL.
  • Mobile Telecommunication Technologies: 1G, 2G, 3G, 4G and 5G; Mobile processors;
  • Electronic mail protocols such as SMTP, POP3, Protocols for Chat and Video Conferencing: VoIP, Wireless technologies such as Wi-Fi and WiMax
  • Network Security Concepts:
  • Threats and prevention from Viruses, Worms, Trojan horse, Spams Use of Cookies, Protection using Firewall, https;
  • India IT Act, Cyber Law, Cyber Crimes, IPR issues, hacking.
  • Introduction To Web services: WWW, Hyper Text Markup Language (HTML), Extensible Markup Language (XML); Hyper Text Transfer Protocol (HTTP); Domain Names; URL; Website, Web browser, Web Servers; Web Hosting, Web Scripting – Client side (VB Script, Java Script, PHP) and Server side (ASP, JSP, PHP), Web 2.0 (for social networking)
  • E-commerce payment transactions using online banking, mobile banking, payment apps and services.

Unit III: Database Management

  • Database Concepts: Introduction to database concepts and its 
  • Relational data model: Concept of domain, relation, tuple, attribute, degree, cardinality, key, primary key, candidate key, alternate key and foreign key;
  • Structured Query Language:
  • General Concepts: Advantages of using SQL, Data Definition Language and Data Manipulation Language;
  • Data Types: number / decimal, character / varchar / varchar2, date;
  • SQL functions: SUM ( ), AVG ( ), COUNT ( ), MAX ( ) and MIN ( );
  • Joins: equi-join and natural join
  • Interface of Python with an SQL database
  • Connecting SQL with Python
  • Creating Database connectivity Applications
  • Performing Insert, Update, Delete queries
  • Display data by using fetchone(),fetchall(),rowcount


Python Programming

  • Recursively find the factorial of a natural number.
  • Write a recursive code to find the sum of all elements of a list.
  • Write a recursive code to compute the nth Fibonacci number.
  • 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/ lowercase characters in the file.
  • Create a binary file with name and roll number. Search for a given roll number and display the name, if not found display appropriate message.
  • Create a binary file with roll number, name and marks. Input a roll number and update the marks.
  • Remove all the lines that contain the character `a’ in a file and write it to another file.
  • Write a random number generator that generates random numbers between 1 and 6 (simulates a dice).
  • Write a Python program to implement a stack and queue using a list data-structure.
  • Take a sample of ten phishing e-mails (or any text file) and find most commonly occurring word(s)
 Database Management
  • Create a student table and insert data. Implement the following SQL commands on the student table:
  • ALTER table to add new attributes / modify data type / drop attribute
  • UPDATE table to modify data
  • ORDER By to display data in ascending / descending order DELETE to remove tuple(s)
  • GROUP BY and find the min, max, sum, count and average
  • Similar exercise may be framed for other cases.
  • Integrate SQL with Python by importing the MySQL module.


The aim of the class project is to create something that is tangible and useful using Python / Python and SQL connectivity. This should be done in groups  of two to three students and should be started by students at least 6 months before the submission deadline. The aim here is to find a real world problem that is worthwhile to solve.

Students are encouraged to visit local businesses and ask them about the problems that they are facing. For example, if a business is finding it hard to create invoices for filing GST claims, then students can do a project that  takes the raw data (list of transactions), groups the transactions by category, accounts for the GST tax rates, and creates invoices in the appropriate format. Students can be extremely creative here. They can use a  wide  variety of Python libraries to create user friendly applications such as games, software for their school, software for their disabled fellow students, and mobile applications, Of course to do some of these projects, some additional learning is required; this should be encouraged. Students should  know how  to teach themselves.

The students should be sensitized to avoid plagiarism and violations of copyright issues while working on projects. Teachers should take necessary measures for this.

Download CBSE 12th Computer Science Syllabus 2020

Other Important Links For CBSE Class 12 Computer Science

You should have the following study materials to boost your exam preparation for the Class 12 Computer Science exam. Click on the link to access the study materials.

CBSE Class 12 Computer Science Exam Pattern

Here you can check the chapter-wise weightage for CBSE Class 12 Computer Science question Paper.

12th Computer Science Theory Exam Pattern

Unit No.

Unit Name

Theory Marks






Computational Thinking and Programming – 2






Computer Networks





Database Management









12th Computer Science Practical Exam Pattern







Lab Test:

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

2.    Small Python program that sends a SQL query to a database and displays the result. A stub

program can be provided.







Report file: Minimum 20 Python programs. Out of this at least 4 programs should send SQL  commands to a database and retrieve the result



Project (that uses the concepts that have been learnt

in Class 11 and 12)



Viva voce


CBSE NCERT Textbook For Class 12 Computer Science 2020 PDF

Computer Science is an important subject in Class 12. The book has multiple benefits from class 12 exam preparation to exam preparation for various higher studies in the computer science field.

Here you can download NCERT Textbook for Class 12 Computer Science.

Download CBSE 12th Computer Science Text Books

We have covered the detailed guide on CBSE Syllabus For Class 12 Computer Science. Feel free to ask any questions related to CBSE Class 12 Computer Science in the comment section below.

Leave a Comment