UNIT 1:
Introduction to Python Programming
Conditional Statements: if, elif, else
Input and Output Functions
UNIT 2:
Defining and Calling Functions
Return Statements and Scope
Illustrative programs: square root, gcd, exponentiation, sum an array of numbers, linear search, binary search.
Return Statements and Scope
UNIT 3:
List Methods and Comprehension
Tuples: Creation and Use Cases
Dictionary Methods and Operations
Sets: Creation and Operations
Illustrative programs: simple sorting, histogram, Students marks statement, Retail bill preparation.
Iterating Over Data Structures
UNIT 4:
Illustrative programs: word count, copy file, Voter’s age validation, Marks range validation (0-100).
Error Handling in File Operations
Best Practices in File Handling
File Modes and Operations
Introduction to File Handling
Best Practices in File Handling