CLASS 11 COMPUTER SCIENCE (PYTHON) NOTES
Computer Architecture, Data Types & Flow Control
1. Computer System Architecture
• CPU Components: Control Unit (CU), Arithmetic Logic Unit (ALU), and Registers.
• Memory Hierarchy: Cache > Primary (RAM, ROM) > Secondary (SSD, HDD).
• Number Systems: Conversion between Binary (Base 2), Octal (Base 8), Decimal (Base 10), and Hexadecimal
(Base 16).
2. Python Fundamentals & Data Types
Data Type Mutability Syntax Example Key Property
List Mutable [1, 2, 'python'] Ordered collection, supports item assignment
Tuple Immutable (10, 20, 30) Ordered, lightweight, read-only collection
Dictionary Mutable (Keys immutable) {'a': 1, 'b': 2} Key-value mapping, fast hash lookup
Set Mutable {1, 2, 3} Unordered collection of unique elements
3. Flow Control & Iteration
Essential Python Concepts:
• if-elif-else conditional statements.
• for loop with range(start, stop, step).
• while loop with break and continue statements.
• List Comprehension: [x**2 for x in range(10) if x % 2 == 0]
Class 11 Computer Science Quick Revision Notes • Generated for Academic Excellence