Class 12 Computer Science Notes

Unit 1: Computational Thinking and Programming - 2

Functions in Python Class 12 CBSE (083): Complete Notes with Examples Master Python Functions for CBSE Class 12 Computer Science (083). Learn about built-in functions, module functions, user-defined functions, parameters, arguments, default and positional parameters, return values, flow of execution, and variable scope with easy explanations and practical examples.
Exception Handling in Python Class 12 CBSE (083): try, except and finally with Examples Learn Exception Handling in Python for CBSE Class 12 Computer Science (083). Understand what exceptions are, why exception handling is important, different types of errors, and how to use try, except, and finally blocks with easy explanations and practical examples.
Text File Handling in Python Class 12 CBSE (083): Complete Notes with File Modes, Read, Write, Seek & Tell Learn Text File Handling in Python for CBSE Class 12 Computer Science (083). Understand relative and absolute file paths, file opening modes, reading and writing text files, the with statement, seek() and tell() methods, and data manipulation with practical examples.
Binary File Handling in Python Class 12 CBSE (083): Complete Notes with Pickle Module and File Operations Learn Binary File Handling in Python for CBSE Class 12 Computer Science (083). Understand binary files, binary file modes, the pickle module, dump() and load() methods, and perform read, write, search, append, and update operations with easy explanations and practical examples.
CSV File Handling in Python Class 12 CBSE (083): Complete Notes with Reader and Writer Methods Learn CSV File Handling in Python for CBSE Class 12 Computer Science (083). Understand CSV files, the csv module, opening and closing CSV files, and how to read and write data using writer(), writerow(), writerows(), and reader() with easy examples.
Stack in Python Class 12 CBSE (083): Complete Notes with Push, Pop and List Implementation Learn the Stack data structure in Python for CBSE Class 12 Computer Science (083). Understand the LIFO principle, stack operations (Push and Pop), stack implementation using Python lists, practical examples, and common applications with exam-oriented explanations.

Unit 2: Computer Networks

Evolution of Computer Networks Class 12 CBSE (083): ARPANET, NSFNET and Internet Learn the Evolution of Computer Networks for CBSE Class 12 Computer Science (083). Understand the concept of computer networks, the need for networking, and the evolution from ARPANET to NSFNET and the modern Internet with easy explanations, timeline, and exam-oriented examples.
Data Communication Terminologies Class 12 CBSE (083): Components, Bandwidth, Data Transfer Rate, IP Address & Switching Techniques Learn Data Communication Terminologies for CBSE Class 12 Computer Science (083). Understand the concept of communication, components of data communication, communication protocols, bandwidth, data transfer rate, IP address, and switching techniques (Circuit Switching and Packet Switching) with easy
Transmission Media in Computer Networks Class 12 CBSE (083): Wired and Wireless Communication Media Learn Transmission Media for CBSE Class 12 Computer Science (083). Understand the types of transmission media, wired communication media (Twisted Pair Cable, Coaxial Cable, Optical Fiber Cable) and wireless communication media (Radio Waves, Microwaves, Infrared Waves) with features
Network Devices in Computer Networks Class 12 CBSE (083): Modem, NIC, RJ45, Repeater, Hub, Switch, Router, Gateway & Wi-Fi Card Learn Network Devices for CBSE Class 12 Computer Science (083). Understand the working, functions, advantages, and applications of Modem, Ethernet Card (NIC), RJ45 Connector, Repeater, Hub, Switch, Router, Gateway, and Wi-Fi Card with simple explanations and exam-oriented notes.
Network Types and Network Topologies Class 12 CBSE (083): PAN, LAN, MAN, WAN, Bus, Star & Tree Learn Network Types and Network Topologies for CBSE Class 12 Computer Science (083). Understand the different types of computer networks (PAN, LAN, MAN, WAN) and networking topologies (Bus, Star, Tree) with their features, advantages, disadvantages, applications, and exam-oriented comparisons.
Network Protocols Class 12 CBSE (083): HTTP, HTTPS, FTP, PPP, SMTP, TCP/IP, POP3, TELNET & VoIP Learn Network Protocols for CBSE Class 12 Computer Science (083). Understand the purpose, working, features, default ports, advantages, and applications of HTTP, HTTPS, FTP, PPP, SMTP, TCP/IP, POP3, TELNET, and VoIP with easy explanations and exam-oriented comparisons.
Introduction to Web Services Class 12 CBSE (083): WWW, HTML, XML, Domain Name, URL, Website, Web Browser, Web Server & Web Hosting Learn the fundamentals of Web Services for CBSE Class 12 Computer Science (083). Understand the World Wide Web (WWW), HTML, XML, domain names, URLs, websites, web browsers, web servers, and web hosting with simple explanations, examples, comparisons, and exam-oriented notes.

Unit 3: Database Management

Introduction to Database Management Class 12 CBSE (083): Database Concepts and Need for Database Learn the basics of Database Management for CBSE Class 12 Computer Science (083). Understand the concept of databases, the need for database systems, advantages of databases over traditional file systems, and real-world applications with simple explanations and exam-oriented notes.
Relational Data Model Class 12 CBSE (083): Relation, Attribute, Tuple, Domain, Degree, Cardinality & Keys Learn the Relational Data Model for CBSE Class 12 Computer Science (083). Understand the concepts of relation, attribute, tuple, domain, degree, cardinality, and different types of keys (Candidate Key, Primary Key, Alternate Key, and Foreign Key) with simple examples, comparisons, and exam-oriented
Introduction to SQL and Data Types Class 12 CBSE (083): SQL, DDL, DML and SQL Data Types Learn the basics of Structured Query Language (SQL) for CBSE Class 12 Computer Science (083). Understand SQL, its categories (DDL and DML), and commonly used SQL data types such as CHAR, VARCHAR, INT, FLOAT, and DATE with simple explanations, syntax, examples, and exam-oriented notes.
SQL Constraints and Database Commands Class 12 CBSE (083): NOT NULL, UNIQUE, PRIMARY KEY, CREATE DATABASE, USE, SHOW & DROP DATABASE Learn SQL Constraints and Database Commands for CBSE Class 12 Computer Science (083). Understand NOT NULL, UNIQUE, PRIMARY KEY constraints and database-level commands such as CREATE DATABASE, USE DATABASE, SHOW DATABASES, and DROP DATABASE with syntax, examples, and exam-oriented notes.
SQL Table Commands Class 12 CBSE (083): CREATE, SHOW, DESCRIBE, ALTER and DROP TABLE Learn SQL Table Commands for CBSE Class 12 Computer Science (083). Understand how to create, view, modify, and delete tables using SQL commands such as SHOW TABLES, CREATE TABLE, DESCRIBE TABLE, ALTER TABLE, and DROP TABLE with syntax, examples, and exam-oriented notes.
SQL Data Manipulation Language (DML) Class 12 CBSE (083): INSERT, SELECT, UPDATE and DELETE Learn SQL Data Manipulation Language (DML) for CBSE Class 12 Computer Science (083). Understand how to insert, retrieve, modify, and delete records using the INSERT, SELECT, UPDATE, and DELETE commands with syntax, examples, and exam-oriented notes.
SQL Operators Class 12 CBSE (083): Mathematical, Relational and Logical Operators Learn SQL Operators for CBSE Class 12 Computer Science (083). Understand Mathematical, Relational, and Logical Operators used in SQL queries with syntax, examples, output, and exam-oriented notes.
SQL WHERE Clause, Aliasing and DISTINCT Class 12 CBSE (083): WHERE, AS and DISTINCT Learn SQL WHERE Clause, Aliasing, and DISTINCT for CBSE Class 12 Computer Science (083). Understand how to filter records using the WHERE clause, rename columns using AS, and retrieve unique values using DISTINCT with syntax, solved examples, outputs, and exam-oriented notes.
SQL IN, BETWEEN and ORDER BY Clause Class 12 CBSE (083): IN, BETWEEN & ORDER BY Learn the SQL IN, BETWEEN, and ORDER BY clauses for CBSE Class 12 Computer Science (083). Understand how to filter records using multiple values, select records within a range, and sort query results in ascending or descending order with syntax, solved examples, outputs, and exam-oriented notes.
SQL NULL and LIKE Clause Class 12 CBSE (083): NULL, IS NULL, IS NOT NULL & LIKE Learn SQL NULL handling and the LIKE clause for CBSE Class 12 Computer Science (083). Understand the meaning of NULL, use IS NULL and IS NOT NULL to search for missing values, and use the LIKE operator with % and _ wildcards to perform pattern matching. Includes syntax, solved examples and outputs
SQL Aggregate Functions Class 12 CBSE (083): MAX(), MIN(), AVG(), SUM() and COUNT() Learn SQL Aggregate Functions for CBSE Class 12 Computer Science (083). Understand how to use MAX(), MIN(), AVG(), SUM(), and COUNT() to perform calculations on table data with syntax, solved examples, outputs, and exam-oriented notes.
SQL GROUP BY and HAVING Clause Class 12 CBSE (083): GROUP BY & HAVING Learn the SQL GROUP BY and HAVING clauses for CBSE Class 12 Computer Science (083). Understand how to group records, apply aggregate functions to each group, and filter grouped data using the HAVING clause with syntax, solved examples, outputs, and exam-oriented notes.
SQL Joins Class 12 CBSE (083): Cartesian Product, Equi Join and Natural Join Learn SQL Joins for CBSE Class 12 Computer Science (083). Understand Cartesian Product, Equi Join, and Natural Join with syntax, solved examples, outputs, comparison tables, and exam-oriented notes.
Python Database Connectivity Class 12 CBSE (083): Connecting Python with MySQL Database Learn how to connect Python with a MySQL database for CBSE Class 12 Computer Science (083). Understand database connectivity, the mysql.connector module, installing the MySQL Connector, creating database connections using connect(), creating cursor objects using cursor(), and closing database
Executing SQL Queries using Python Class 12 CBSE (083): execute(), commit(), rowcount(), INSERT, UPDATE and DELETE Learn how to execute SQL queries using Python and MySQL for CBSE Class 12 Computer Science (083). Understand the use of execute(), commit(), and rowcount, and perform INSERT, UPDATE, and DELETE operations with complete Python programs, outputs, and exam-oriented notes.
Retrieving Data from MySQL using Python Class 12 CBSE (083): SELECT, fetchone(), fetchall() and Displaying Records Learn how to retrieve records from a MySQL database using Python for CBSE Class 12 Computer Science (083). Understand the SELECT statement, fetchone(), fetchall(), and how to display records using loops with complete Python programs, outputs, and exam-oriented notes.
Python Database Applications Class 12 CBSE (083): Parameterized Queries using %s, format() and CRUD Applications Learn how to create secure Python-MySQL database applications using parameterized queries for CBSE Class 12 Computer Science (083). Understand the use of %s placeholders, the format() method, and develop CRUD (Create, Read, Update, Delete) applications with complete Python programs, outputs