0% found this document useful (0 votes)
58 views1 page

Class 12 CS Notes

Uploaded by

arnavjuneja74
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views1 page

Class 12 CS Notes

Uploaded by

arnavjuneja74
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

■ Class 12 Computer Science (Python) Notes – CBSE Style

■ Python Basics:
- Tokens: keywords, identifiers, literals, operators, punctuators.
- Data Types: int, float, str, bool, list, tuple, dict.
■ Control Structures:
- if, if-else, nested if
- for loop, while loop
- break, continue, pass
■ Functions:
- Definition, calling, arguments (positional, keyword, default)
- Return statement
- Scope of variables: local, global
■ File Handling:
- Opening/closing files
- Read (read(), readline(), readlines())
- Write (write(), writelines())
- File pointer manipulation (seek(), tell())
■ Data Handling Using Pandas:
- Series & DataFrame creation
- Indexing, slicing
- Functions: head(), tail(), describe(), shape, dtypes
- Importing/exporting data (CSV, etc.)
■ SQL with MySQL:
- DDL: CREATE, DROP, ALTER
- DML: SELECT, INSERT, UPDATE, DELETE
- Clauses: WHERE, ORDER BY, GROUP BY, HAVING
■ Important for Boards: File Handling, Pandas, SQL queries, Flow of control.

You might also like