Lecture | Topic | Reference |
---|---|---|
Lec 1 (Jan 17) | Introduction to Programming. | Slides |
Lec 2 (Jan 18) | History and Number systems. The computing machine. | Slides |
Lec 3 (Jan 19) | Our first C program. Basic data types, operators, keywords in C. | Slides |
Lec 4 (Jan 24) | More details: operators, scanf, printf, sizeof, ranges of different datatypes. | Slides |
Lec 5 (Jan 25) | Execution of Programs, Compilers. | Slides |
Lec 6 (Jan 31) | Modifying the control flow in Programs.Single selection if. | Slides |
Lec 7 (Feb 1) | Multiple selection switch. More examples of if-then-else. | Slides |
Lec 8 (Feb 2) | First loop construct: while. | Slides |
Lec 9 (Feb 7) | for loop, syntax, semantics, continue with for loop, examples. | Slides |
Lec 10 (Feb 8) | Example problems: Mini calculator | Slides |
Lec 11 (Feb 9) | More examples of loops: testing if a number is prime, finding minimum, GCD etc. | Slides |
Lec 12, 13, 14, 15 (Feb 14, 15, 16, 21) | More examples of loops. Problem Solving in class. | Slides |
Quiz 1 (Feb 23) | All material so far. | No Slides |
Lec 16 (Feb 28) | Introduction to Arrays. | Slides |
Lec 17 (Feb 29) | More on Arrays. | Slides |
Lec 18 (March 1) | Character arrays and standard library support. Matrix operations, character grids, reversing an array. | Slides |
Lec 19 (March 6) | More on character grids, introduction to functions, block and scope of variables. | Slides |
Lec 20 (March 7) | More functions. | Slides |
Lec 21 (March 14) | Macros, enumerated constants, multi-dimensional arrays, Selection sort | Slides |
Lec 22 (March 15) | Recursion. | Slides |
Lec 23 (March 20) | More examples of recursion. | Slides |
Quiz 2 (March 22) | All material so far. | No slides |
Lec 24 (March 27) | Pointers. | Slides |
Lec 25 (March 28) | More on pointers. | Slides |
Lec 26 (April 3) | Discussion on Quiz 2. | No slides |
Lec 27 (April 4) | Revision of recursion. | No new slides |
Lec 28 (April 5) | Revision of recursion, pointers. | No new slides |
Lec 29 (April 17) | Introduction to Structures. | Slides |
Lec 30 (April 18) | More on Structures. | Slides |
Lec 31 (April 24) | Linked Lists. | Slides |
Lec 32 (April 25) | Guest lecture by Prof. Viraj Kumar (IISc): GenAI and programming | No slides |
Lec 33 (April 26) | Course summary | Slides |
Revision: Extra slides | Dynamic Memory Allocation | Slides Credit. |
Lead TAs | Lab TAs | Theory TAs |
---|---|---|
CS19D401 Simran Kumari CS20D405 Saish Jaiswal CS21D405 Anuja Modi CS22S023 Akhil Vanukuri |
CS22M054 Madheswaran M CS23S038 Udit Narayan Singh CS23M053 Raghav Gupta CS23M008 Aditya Verma CS23M020 Ayush Kumar Yadav CS23M026 Harsh Gupta CS22M026 Ayush Kumar Mall CS23D014 Abhishek Karmakar CS23M015 Anshuman Singh Mamar CS23M007 Abhishek Koushal CS23S301 Jit Mondal |
CS23M021 Chandra Dutta Mamidi CS23M041 Neel Vinodkumar Rayal CS23M056 Rupak Paul CS22D014 Akshay Kumar E CS23M006 Abhirup Majumder CS23M037 Mohammed Umair Pandit |