Class 12Python · Files & Stack · Networks · SQLCode 083

Class 12 Computer Science

CBSE Computer Science (083) — functions and exceptions, files and a stack, computer networks, and SQL wired to Python.

13 syllabus chapters · 13 live now · all chapters complete

Programming with Python Unit 1 · 40 marks

01

Functions

4 resources

Writing your own functions, arguments and parameters, default and positional, returning values, and why a variable inside a function is invisible outside it.

02

Exception Handling

4 resources

try, except and finally — catching the error you expected without swallowing the one you did not.

03

Text Files

4 resources

Open modes r through a+, the with clause, read/readline/readlines, write and writelines, and what seek and tell actually count.

04

Binary Files

4 resources

pickle dump and load, the rb/wb/ab modes, and doing search, append and update on records that are not text.

05

CSV Files

4 resources

The csv module, writer/writerow/writerows and reader — and why newline= matters more than any tutorial admits.

06

Stack

4 resources

Last in, first out, implemented on a plain Python list — push, pop, and the empty-stack case that separates a working implementation from a crashing one.

Computer Networks Unit 2 · 10 marks

07

ARPANET to the internet, the five components of data communication, bandwidth versus data transfer rate, IP addresses, and circuit versus packet switching.

08

Twisted pair, co-axial and fibre, radio, micro and infrared waves — and what a hub, switch, router, repeater and gateway each actually do.

09

PAN through WAN, bus star and tree, the protocol list the exam names, and WWW, HTML, XML, URLs, web servers and hosting.

Database Management Unit 3 · 20 marks

10

Why a database beats a pile of files, then relation, attribute, tuple, domain, degree, cardinality — and candidate, primary, alternate and foreign keys.

11

DDL and DML, data types and constraints, create through drop, insert, select, where, in, between, like, order by — and what NULL really means.

12

max, min, avg, sum and count, group by and having, then cartesian product, equi-join and natural join — and why COUNT(*) and COUNT(column) disagree.

13

connect, cursor, execute, commit, fetchone, fetchall and rowcount — running real queries from Python, and why the %s placeholder is not string formatting.

Chapters follow the CBSE 083 units rather than the NCERT print order, because the units are what carry the marks. Every syllabus chapter here is complete — see what's live across Priodemy for School.

Ask AI