CBSE Class 12 Computer Science Paper: Syllabus, Pattern, Preparation Tips, Important Topics & FAQs
CBSE Class 12 Computer Science Paper is the Class XII board examination paper for Computer Science subject code 083. Under the CBSE 2025–26 curriculum, the theory component is of 70 marks, covering Computational Thinking and Programming, Computer Networks, and Database Management. The official 2025–26 sample paper has a 3-hour duration, 37 questions, and five sections carrying 1, 2, 3, 4 and 5 marks respectively. Programming questions are to be answered using Python. Students preparing through CampusWale can use the official syllabus, sample paper, chapter-wise practice, Python programming, SQL and networking revision to build exam readiness.
The CBSE Class 12 Computer Science paper is based on Computer Science subject code 083. For the 2025–26 session, the theory paper carries 70 marks and has a three-hour duration. The syllabus covers Computational Thinking and Programming, Computer Networks and Database Management. The official sample paper contains 37 questions divided into five sections, with questions carrying one to five marks. Programming questions are answered using Python. Students can prepare for the CBSE Class 12 Computer Science Paper with the official CBSE syllabus and sample paper, along with chapter-wise practice resources available through CampusWale.
Introduction
Computer Science is one of the most practical and scoring-oriented subjects available to students in the CBSE Class 12 curriculum. Unlike subjects where preparation may depend heavily on memorising long theoretical answers, Computer Science requires a combination of conceptual understanding, logical thinking, programming practice and problem-solving ability.
The CBSE Class 12 Computer Science Paper for Subject Code 083 covers three major areas in the 2026–27 curriculum: Computational Thinking and Programming–2, Computer Networks, and Database Management. CBSE assigns 40 marks to the programming unit, 10 marks to networking and 20 marks to database management, making programming the largest component of the theory examination.
For students, this distribution provides a useful roadmap for preparation. Python should receive significant attention because it forms the largest theory unit. However, students should not ignore SQL, networking or practical work because all three areas contribute to the overall subject assessment.
The CBSE curriculum also includes a 30-mark practical component. It covers a lab test, report file, project and viva voce.
This article explains the CBSE Class 12 Computer Science Paper 2026–27, syllabus, marks distribution, important topics, preparation methods, practical examination and frequently asked questions in a student-friendly format.
What Is the CBSE Class 12 Computer Science Paper?
The CBSE Class 12 Computer Science examination is conducted under Subject Code 083. The subject is designed to help students develop programming, database and networking skills while applying computational thinking to practical problems.
According to the CBSE 2026–27 curriculum, the Class 12 Computer Science theory component is worth 70 marks. The remaining 30 marks are allocated to practical assessment.
The syllabus is built around three major units:
- Computational Thinking and Programming–2
- Computer Networks
- Database Management
The largest unit is Computational Thinking and Programming–2, which carries 40 marks. Computer Networks carries 10 marks, while Database Management carries 20 marks.
This means that students should not treat Computer Science simply as a programming subject. The paper requires preparation across Python, networking, SQL and database concepts.
CBSE Class 12 Computer Science Paper 2026–27 Overview
The following table provides a quick overview of the examination structure:
| Particular | Details |
|---|---|
| Board | Central Board of Secondary Education |
| Class | 12 |
| Subject | Computer Science |
| Subject Code | 083 |
| Academic Session | 2026–27 |
| Theory Marks | 70 |
| Practical Marks | 30 |
| Total Subject Assessment | 100 |
| Programming Unit | 40 marks |
| Computer Networks | 10 marks |
| Database Management | 20 marks |
The above distribution is based on the official CBSE Class XII Computer Science 2026–27 curriculum.
Students should always check the latest official CBSE notifications and examination documents before the examination because the Board is the authoritative source for final examination-related instructions.
CBSE Class 12 Computer Science Syllabus 2026–27
The official 2026–27 Computer Science syllabus contains three theory units.
Unit 1: Computational Thinking and Programming–2
Marks: 40
This is the largest unit in the CBSE Class 12 Computer Science syllabus.
It includes:
- Revision of Python
- Functions
- Arguments and parameters
- Default and positional parameters
- Return values
- Scope of variables
- Exception handling
- Text files
- Binary files
- CSV files
- File modes
- File reading and writing
- Pickle
- CSV module
- Stack
- Push and pop operations
- Stack implementation using lists
The programming section requires students to understand not only syntax but also how a program works.
Unit 2: Computer Networks
Marks: 10
Computer Networks introduces students to fundamental networking concepts.
The official syllabus includes:
- Evolution of networking
- ARPANET
- NSFNET
- Internet
- Data communication
- Communication components
- Bandwidth
- Data transfer rate
- IP address
- Circuit switching
- Packet switching
- Wired transmission media
- Wireless transmission media
- Network devices
- Network topologies
- Types of networks
- Network protocols
- Web services
Students should understand the meaning and practical use of important networking terms rather than memorising isolated definitions.
Unit 3: Database Management
Marks: 20
Database Management is another important section of the CBSE Class 12 Computer Science Paper.
Topics include:
- Database concepts
- Need for databases
- Relational data model
- Relation
- Attribute
- Tuple
- Domain
- Degree
- Cardinality
- Candidate key
- Primary key
- Alternate key
- Foreign key
- SQL
- DDL
- DML
- SQL data types
- Constraints
- CREATE DATABASE
- CREATE TABLE
- ALTER TABLE
- DROP TABLE
- INSERT
- UPDATE
- DELETE
- SELECT
- WHERE
- ORDER BY
- DISTINCT
- BETWEEN
- IN
- LIKE
- NULL
- Aggregate functions
- GROUP BY
- HAVING
- Joins
The syllabus also includes Python connectivity with SQL databases.
Important Topics for CBSE Class 12 Computer Science Paper
Although every part of the prescribed syllabus should be prepared, students can organise revision around the following major areas.
Python Functions
Students should understand:
- Built-in functions
- Module functions
- User-defined functions
- Function definition
- Parameters
- Arguments
- Positional arguments
- Default parameters
- Return statements
- Local variables
- Global variables
- Flow of execution
A common preparation mistake is memorising function syntax without understanding how values move between the calling statement and the function.
Practice writing small functions before attempting longer programs.
Exception Handling
Exception handling is another important Python topic.
Students should understand the purpose and structure of:
tryexceptfinally
The objective is to understand how a program can respond when an error occurs during execution.
Students should practise identifying which part of a program may generate an exception and how the exception-handling structure changes program execution.
File Handling in Python
File handling is one of the major components of Unit 1.
The CBSE syllabus covers:
- Text files
- Binary files
- CSV files
- Relative paths
- Absolute paths
- File opening
- File closing
- Reading
- Writing
- Appending
read()readline()readlines()write()writelines()seek()tell()
Text Files
Students should understand different modes such as:
rr+ww+aa+
A good preparation technique is to create a small text file and practise each operation.
For example, students can practise a program that reads a file and counts vowels, consonants, uppercase letters and lowercase letters. Such practical exercises are also reflected in the official suggested practical list.
Binary Files and Pickle
Binary file questions can appear intimidating if students only memorise the syntax.
The syllabus includes the pickle module and operations such as:
dump()load()- Reading
- Writing
- Searching
- Appending
- Updating
Students should practise a complete binary-file program rather than learning individual commands separately.
For example, a student database containing roll number, name and marks can be used to practise searching and updating records.
CSV Files
CSV stands for Comma-Separated Values.
Students should understand:
- Importing the
csvmodule - Opening a CSV file
- Writing data
writer()writerow()writerows()- Reading data
reader()
The official CBSE practical list includes creating a CSV file containing user information and reading/searching records.
Stack in Python
Stack is the data structure included in the Class 12 syllabus.
Students should understand the basic principle of a stack:
LIFO — Last In, First Out
The two fundamental operations are:
- Push: inserting an item into the stack
- Pop: removing an item from the stack
CBSE specifies implementation of a stack using a Python list.
Students should practise:
- Creating an empty stack
- Adding elements
- Removing elements
- Checking whether the stack is empty
- Handling overflow or underflow conditions according to the program design
Computer Networks: Important Topics
The networking unit carries 10 marks and should be prepared carefully.
Evolution of Networking
Students should know the basic development of networking through:
- ARPANET
- NSFNET
- Internet
The objective is to understand how interconnected computer systems developed into modern networks.
Data Communication
Students should revise the basic components:
- Sender
- Receiver
- Message
- Communication medium
- Protocol
They should also understand bandwidth and data transfer rate.
Transmission Media
Transmission media can be divided into wired and wireless categories.
Wired Media
The syllabus includes:
- Twisted pair cable
- Coaxial cable
- Fibre-optic cable
Wireless Media
The syllabus includes:
- Radio waves
- Microwaves
- Infrared waves
Students should learn the basic characteristics and applications of each medium.
Network Devices
Important network devices include:
- Modem
- Ethernet card
- RJ45
- Repeater
- Hub
- Switch
- Router
- Gateway
- Wi-Fi card
Instead of simply memorising names, students should understand the basic function of each device.
Network Topologies
The Class 12 syllabus includes:
- Bus topology
- Star topology
- Tree topology
Students should prepare diagrams and understand how devices are connected in each topology.
Types of Computer Networks
Students should revise:
- PAN
- LAN
- MAN
- WAN
The key difference is generally related to the geographical or operational range of the network.
Creating a simple comparison table during revision can make these concepts easier to remember.
Network Protocols
Important protocols listed in the syllabus include:
- HTTP
- FTP
- PPP
- SMTP
- TCP/IP
- POP3
- HTTPS
- TELNET
- VoIP
Students should understand what these protocols are used for and distinguish between similar terms.
Web Services
The syllabus also introduces:
- WWW
- HTML
- XML
- Domain names
- URL
- Website
- Web browser
- Web server
- Web hosting
These concepts are particularly useful because they connect theoretical networking concepts with technologies students encounter every day.
Database Management: Important Topics
Database Management carries 20 marks, making it an important part of the theory paper.
Relational Database Concepts
Students should understand:
Relation
A relation can generally be understood as a table containing data.
Attribute
An attribute represents a column or property.
Tuple
A tuple represents a row or record.
Domain
A domain represents the permitted set or range of values associated with an attribute.
Degree
Degree refers to the number of attributes in a relation.
Cardinality
Cardinality refers to the number of tuples in a relation.
These terms are frequently confused, so students should revise them together.
Keys in Database Management
Students should understand:
- Candidate key
- Primary key
- Alternate key
- Foreign key
A primary key is used to uniquely identify records in a table.
A foreign key is used to establish a relationship between tables.
Practising with two related tables is an effective way to understand these concepts.
SQL Commands for CBSE Class 12
SQL preparation should involve regular hands-on practice.
Important commands include:
- CREATE DATABASE
- USE DATABASE
- SHOW DATABASES
- DROP DATABASE
- SHOW TABLES
- CREATE TABLE
- DESCRIBE TABLE
- ALTER TABLE
- DROP TABLE
- INSERT
- SELECT
- UPDATE
- DELETE
The official syllabus also covers conditions, operators, aliases, DISTINCT, WHERE, IN, BETWEEN, ORDER BY, LIKE, aggregate functions, GROUP BY, HAVING and joins.
SQL Aggregate Functions
Students should practise:
MAX()MIN()AVG()SUM()COUNT()
These functions are particularly important when working with groups of records.
For example, a student table containing marks can be used to calculate:
- Highest marks
- Lowest marks
- Average marks
- Total marks
- Number of students
GROUP BY and HAVING
Students often confuse GROUP BY and HAVING.
A simple way to remember the difference is:
GROUP BY is used to arrange records into groups for aggregation.
HAVING is used to apply conditions to grouped results.
Students should practise several queries involving both clauses rather than learning a single example.
SQL Joins
The 2026–27 syllabus includes:
- Cartesian product
- Equi-join
- Natural join
Students should practise joins using two related tables.
For example, one table could contain student information while another contains course information. Creating a common field between the tables makes it easier to understand how related records can be combined.
Python-SQL Connectivity
Python-SQL connectivity is an important practical and theoretical area.
The syllabus includes:
- Connecting Python with SQL
connect()cursor()execute()commit()fetchone()fetchall()rowcount- Insert queries
- Update queries
- Delete queries
- Database connectivity applications
Students should understand the sequence of operations instead of memorising one long program.
A useful learning sequence is:
Connect → Create Cursor → Execute Query → Commit Changes → Fetch Results
CBSE Class 12 Computer Science Practical Examination
The theory examination is only one component of the subject.
The official 2026–27 curriculum allocates 30 marks to practical assessment. The practical structure includes a lab test, report file, project and viva voce.
The lab test includes:
- Python program
- SQL queries
The report file includes Python programs, SQL query sets and Python-SQL connectivity programs.
The project carries marks separately, while viva voce is also assessed.
This means students should not postpone practical preparation until immediately before the practical examination.
CBSE Class 12 Computer Science Project
The CBSE curriculum recommends a project using concepts learned in Classes 11 and 12.
The official syllabus says the project should create something tangible and useful using Python file handling or Python-SQL connectivity. It recommends that projects be completed in groups of two to three students and started well before the submission deadline.
Possible project themes include:
- Student management system
- Library management system
- Inventory management system
- Billing system
- Attendance management system
- School information system
- Small business database application
Students should choose a project that they can explain confidently during the viva.
How to Prepare for the CBSE Class 12 Computer Science Paper
A systematic strategy can make preparation easier.
Step 1: Understand the Syllabus
Begin with the official syllabus.
Divide the syllabus into:
- Python
- File handling
- Stack
- Networking
- SQL
- Python-SQL connectivity
Do not start by solving random questions.
Step 2: Build Strong Python Fundamentals
Before solving complicated programs, revise:
- Variables
- Data types
- Operators
- Conditions
- Loops
- Strings
- Lists
- Functions
Class 12 programming depends heavily on concepts developed earlier.
Step 3: Practise Programs Daily
Programming improves through repetition.
Instead of reading ten programs, write three or four programs yourself.
For each program:
- Understand the problem.
- Plan the logic.
- Write the code.
- Run the program.
- Identify errors.
- Correct the code.
- Rewrite it without looking at the solution.
This develops genuine problem-solving ability.
How to Prepare for File Handling
Create separate practice files for:
- Text files
- Binary files
- CSV files
Practise one operation at a time.
Then combine multiple operations into one question.
For example, first practise reading a text file. Later, practise reading and counting characters. Finally, attempt a question requiring filtering and writing the result into another file.
How to Prepare for SQL
SQL preparation should be practical.
Create a small database and experiment with:
- Creating tables
- Inserting records
- Selecting records
- Filtering records
- Updating records
- Deleting records
- Sorting results
- Grouping records
- Using aggregate functions
- Joining tables
Writing queries repeatedly makes syntax easier to remember.
How to Prepare for Computer Networks
Create short revision notes.
For example:
| Topic | What to Revise |
|---|---|
| PAN | Basic concept |
| LAN | Basic concept |
| MAN | Basic concept |
| WAN | Basic concept |
| Router | Function |
| Switch | Function |
| Hub | Function |
| HTTP | Purpose |
| HTTPS | Purpose |
| FTP | Purpose |
| SMTP | Purpose |
| TCP/IP | Networking protocol suite |
Students should also revise diagrams for network topologies.
How to Use Sample Papers
Sample papers help students understand how concepts may be converted into examination questions.
CBSE's official 2025–26 Computer Science sample paper had 37 questions distributed across five sections, with questions carrying 1, 2, 3, 4 and 5 marks. It also specified Python as the language for programming questions.
The corresponding official marking scheme provides answers and marking guidance for that sample paper.
However, students should use the sample paper as a preparation resource rather than assuming that every future examination will reproduce the same questions or exact arrangement.
Always check the latest official CBSE sample paper and examination instructions for the relevant session.
Common Mistakes in CBSE Class 12 Computer Science Paper
1. Memorising Code Without Understanding It
A memorised program may fail when the question changes slightly.
Understand the logic behind each program.
2. Ignoring SQL
Some students spend most of their time on Python and leave SQL for the end.
Since Database Management carries 20 marks, SQL deserves regular preparation.
3. Ignoring Networking
Computer Networks carries 10 marks. Short revision sessions can cover a significant portion of this unit.
4. Not Practising File Handling
File handling requires familiarity with syntax and logic.
Reading theory alone may not be enough.
5. Leaving Practical Work Until the Last Week
The practical component carries 30 marks, so project, report, programming and viva preparation should be completed progressively.
6. Not Reading Questions Carefully
Programming questions can contain small changes in conditions, variable names or expected output.
Read every line carefully before writing code.
Last-Minute Revision Strategy
During the final revision period, students can divide the day into focused blocks.
Morning
Revise Python concepts and programming logic.
Afternoon
Practise SQL queries and database concepts.
Evening
Revise networking definitions, devices, protocols and topologies.
Night
Solve a few mixed questions and review mistakes.
The goal of last-minute revision should be accuracy and recall, not learning an entirely new topic.
One-Day Revision Checklist
Before entering the examination, revise:
- Python functions
- Scope of variables
- Exception handling
- Text files
- Binary files
- CSV files
- Stack
- Network types
- Network devices
- Transmission media
- Network topologies
- Protocols
- Database terminology
- Keys
- SQL commands
- Aggregate functions
- GROUP BY
- HAVING
- Joins
- Python-SQL connectivity
How CampusWale Can Help With Computer Science Preparation
Students preparing for board examinations often need information in a simple, searchable format.
CampusWale can be used as an educational resource for students looking for exam-related explanations, syllabus information, academic guidance and other education-focused content.
When using online resources, students should compare important examination information with official CBSE notices, curriculum documents and sample papers.
CampusWale can complement official resources by presenting complicated topics in a more accessible student-oriented format.
For students planning their next academic step after Class 12, educational platforms such as CampusWale can also be useful for researching courses, colleges, admissions and career-related information.
Frequently Asked Questions About CBSE Class 12 Computer Science Paper
1. What is the subject code for CBSE Class 12 Computer Science?
The subject code for CBSE Class 12 Computer Science is 083.
2. How many marks is the CBSE Class 12 Computer Science theory paper?
The theory component carries 70 marks, while practical assessment carries 30 marks.
3. Which unit carries the highest marks in Class 12 Computer Science?
Computational Thinking and Programming–2 carries the highest weightage, with 40 marks in the 2026–27 syllabus.
4. How many marks are assigned to Computer Networks?
Computer Networks carries 10 marks in the CBSE Class 12 Computer Science 2026–27 syllabus.
5. How many marks are assigned to Database Management?
Database Management carries 20 marks in the theory syllabus.
6. Is Python included in the CBSE Class 12 Computer Science syllabus?
Yes. Python programming is a major component of Computational Thinking and Programming–2. The syllabus includes functions, exception handling, file handling and stack implementation, among other topics.
7. Is SQL important for the CBSE Class 12 Computer Science Paper?
Yes. Database Management carries 20 theory marks and includes SQL commands, aggregate functions, grouping, joins and other database concepts.
8. Is Python-SQL connectivity included?
Yes. The syllabus includes connecting Python with an SQL database and using operations such as connect(), cursor(), execute(), commit(), fetchone() and fetchall().
9. How many marks are there in the Computer Science practical?
The practical component carries 30 marks. It includes lab work, report file, project and viva voce.
10. Where should students check the latest CBSE Computer Science information?
Students should check the official CBSE Academic website for the latest curriculum, sample papers, marking schemes, examination notices and other official updates. Educational websites such as CampusWale can be used for additional explanations and preparation guidance.
Conclusion
The CBSE Class 12 Computer Science Paper 2026–27 requires a balanced preparation strategy covering programming, networking and database management. The official syllabus assigns 40 marks to Computational Thinking and Programming–2, 10 marks to Computer Networks and 20 marks to Database Management, with an additional 30 marks for practical assessment.
Students should give particular attention to Python functions, exception handling, file handling and stacks because programming forms the largest theory unit. At the same time, SQL and database concepts should be practised regularly because Database Management carries 20 marks.
Computer Networks should be revised through concise notes, diagrams and concept-based questions. Practical preparation should continue throughout the academic session instead of being postponed until the final days.
For students looking for simplified educational content, exam preparation resources and guidance about courses and colleges after Class 12, CampusWale can serve as an additional education resource. However, official CBSE documents should remain the primary reference for final syllabus and examination instructions.
After completing Class 12, students have many possible academic pathways in technology, computer applications, engineering, management, data-related fields and other disciplines. Students should compare eligibility, curriculum, fees, admission requirements and career pathways before selecting a course or college.
With consistent programming practice, regular SQL revision, networking notes and proper practical preparation, students can approach the Computer Science examination with greater familiarity with the syllabus and question-solving process.
Official CBSE Reference
Students should verify the latest examination-related information through the CBSE Academic website and the official curriculum documents. The 2026–27 Computer Science curriculum confirms Subject Code 083, the 70-mark theory structure, the three theory units and the 30-mark practical assessment.