CSO101: Computer Programming: Even Semester 2023-2024

Lecture 1- 6 Jan  - Introduction to computing and C language Slides (Ref Chapter 1 ANSI C)

Lecture 2 - 7 Jan -  Blocks of a computer, Keywords, Variables and Constants  Slides (Ref Chapter 2 ANSI C)

Lecture 3-5 - 10/13/15 Jan - C Tokens and Constants (Floating point representation and various integer representations) Slides Pdf (Ref Chapter 2 ANSI C)

Lecture 6 - 17 Jan - If-else, Nested Control Flow, Switch Statement (Ref: ANSI C) Slides for Controlflow and loops 

Lecture 7 - 20 Jan - While loop Slides for Controlflow and loops 

Lecture 8 - 22 Jan - Printf, Scanf, Character Constants  Slides  (Ref Chapter 2 ANSI C) 

Lecture 10/11/12 - 24/27/29 Jan - Operators Slides

Lecture 13 - 31 Jan - For loop, break, continue  Slides for Controlflow and loops (Ref: Chapter 5,6 ANSI C) 

Lecture 14 - 5 Feb - do-while, Arrays Slides (Ref: Chapter 7 ANSI C)

Lecture 15 - 7 Feb - Formatted unformatted input & output Slides (Ref: Chapter 4 ANSI C)

Lectures 16 -  27: {17 Feb, 19 Feb, 21 Feb, 22 Feb (2), 24 Feb, 25 Feb, 17 Mar, 19 Mar, 21 Mar, 24 Mar , 26 Mar} 

Multi-dimensional Arrays & practice (Matrix multiplication etc) Slides

Functions Slides

Recursive Functions and Passing arrays (1D&2D) to functions Slides

Functions and multidimensional arrays & Static Storage Class Slides

Functions & arrays: Programming Practice Slides

Pointers Slides

Pointers (contd.) -  Slides

Pointer Arithmetic; Pointers & Functions Slides

Pointers and Arrays Slides

Passing arrays to functions using pointers  Slides2 

Topics for future classes: 

Dynamic Memory Allocation Slides1;

Structures Slides2 Slides

Typedef,  Unions and Enumerated datatype Slides1 Slides2

File Programming Slides File library functions Slides

Linear search & Binary Search Slides 

Sorting Algorithms Slides 


Tutorial Sheets 1 & 2


Reference Books (any of the following) :

TAs Contact: