Skip to content

CBSE Class 12 Computer Science

Class 12 · CBSEComputer Science31 notes in 7 folders, 140 KB

Notes for CBSE Class 12 Computer Science (083), in folders for the three units of the 2026-27 curriculum in its order: computational thinking and programming (Python revision, functions, exceptions, file handling, stacks), computer networks, and database management (SQL and Python-MySQL connectivity). Code is in Python and MySQL. The practical list and project are not covered.

Adding them puts a copy in your notes, in a folder of its own with the folders below, for you to change and turn into flashcards or a question deck. Download gives you a zip of markdown files, which opens in any notes app.

What is inside

  • Computational thinking and programming
    • Python revision
      • Python basics6 KB
      • Data types, operators and expressions7 KB
      • Conditional statements and loops6 KB
      • Strings6 KB
      • Lists5 KB
      • Tuples4 KB
      • Dictionaries4 KB
      • Modules4 KB
    • Functions and exceptions
      • Functions4 KB
      • Arguments, parameters and scope6 KB
      • Exception handling4 KB
    • File handling
      • Files and paths3 KB
      • Text files5 KB
      • Binary files5 KB
      • CSV files3 KB
    • Stacks
      • Stacks5 KB
  • Computer networks
    • Evolution of networking3 KB
    • Data communication4 KB
    • Switching techniques3 KB
    • Transmission media4 KB
    • Network devices5 KB
    • Network types and topologies4 KB
    • Network protocols4 KB
    • Web services4 KB
  • Database management
    • Database concepts and the relational model4 KB
    • SQL: defining databases and tables4 KB
    • SQL: inserting, updating and deleting data3 KB
    • SQL: selecting data5 KB
    • SQL: aggregate functions, group by and having4 KB
    • SQL: joins4 KB
    • Connecting Python to MySQL6 KB

The first note

Computational thinking and programming / Python revision / Python basics

## What Python is Python is a high-level, general-purpose programming language. It is **interpreted**, which means a program is translated and run one statement at a time by the Python interpreter rather than being compiled to a separate machine-code file first. It is **dynamically typed**, so a variable has no declared type and takes the type of whatever value it currently refers to. It is free and open source, runs on Windows, Linux and macOS without changes to the program, and has a large library of ready-made modules. Python is case-sensitive, so `Total` and `total` are two different names, and it uses indentation, not braces, to mark where a block of statements begins and ends. ## Execution modes Python can be used in two ways. In **interactive mode** each statement is typed at the `>>>` prompt and executed at once, and the result of an expression is shown straight away. This suits trying out a single idea, but nothing is saved. ```python >>> 6 * 7 42 >>> print("hello") hello ``` In **script mode** the statements are written in a file saved with the extension `.py`, and the whole file is run. The value of a bare expression is not printed in a script, so `print()` is needed to show output. A first program is one line: ```python print("Hello, world") ``` ## Python character set and tokens The character set is the group of characters Python recognises: letters, digits, special symbols such as `+ - * / % ( ) [ ] { } , : ; .`, white space (space, tab, newline) and other…

And 30 more once you add or download them.

Reviews

No written reviews yet. Add these notes to yours and you can be the first to leave one.