CSC-101 Programming with C and C++

Autumn 2023-24

Instructor: Balasubramanian Raman
Office: S-227, CSE Building
Class Meeting Time: Tuesdays (03:00-03:55 pm), Wednesdays and Fridays (2:00-2:55 p.m).
Class Room: Gargi Block 205
Office Hours: Mondays, Thursdays 11:00 a.m. - 1:00 p.m. and by appointment
TAs: Dr. Pradeep Singh (pradeep.cs at sric), N. Kishor Babu(kbabu89 at cs), Anshul Pundhir (anshul_p at cs), Nitin Tyagi (nitin_t at cs), Anushka Joshi (anushka_j at cs) (PhD students), Priyal Jain and Piyush Dhamdhere (M.Tech students)
Email: first four letters of first name at cs dot ac dot in


August 02, 2023: Classes have begun.

Course Objectives, Learning Outcomes and Prerequisites

To understand the basic concepts of procedural and object-oriented programming.
To use object-oriented programming concepts to design and develop software applications.
To implement real-world entities like Inheritance, Data hiding, polymorphism, etc.

Prerequisites: NIL.

Evaluation Components

Lecture Notes

01. Introduction to Programming (02/08/2023)
02. Introduction to Computer Systems and Programming (04/08/2023)
03. Introduction to Algorithms, Flow Chart, Pseudo Code and Online Compilers (08/08/2023)
04. C Programming Structure (10/08/2023)
05. Data Types (11/08/2023)
06. Conditional Statements (16/08/2023)
07. Revisiting Data Types (18/08/2023)
08. Type casting, Operators in C (19/08/2023)
09. More on Operators (22/08/2023)
10. More on Operators, Switch-Case statement and While loop (23/08/2023)
11. Surprise Quiz 1, Solution (25/08/2023)
12. do-while, for loops, break and continue statements (29/08/2023)
13. Address Operator and One Dimensional Array with examples (31/08/2023)
14. One Dimensional Array with examples (01/09/2023)
15. More on One Dimensional Array and Introduction to Multi-dimensional Array (05/09/2023)
16. Two-Dimensional Array (06/09/2023)
17. C Functions (08/09/2023)


01. Assignment 1
02. Assignment 2
03. Practice Problems (Posted on 2/9/2023)
04. Assignment 3 (Posted on 7/9/2023)
05. Practice Problems (Posted on 8/9/2023)


01. Surprise Quiz 1, Solution (25/08/2023)
02. MTE, Solution (16/09/2023, 12:45 - 2:15 pm)

Recommended Study Material

The following will be used as a reference/text book for this course:
1. C Programming Language, Kernighan Brian W. and Dennis M. Ritchie,, 2nd edition Pearson 2015.
2. C: The Complete Reference, Herbert Schildt, 4th Edition, McGraw Hill Education 2017.
3. Understanding Pointers in C, Yashavant Kanetkar, 2003.
4. Let Us C: Authentic guide to C programming language, Yashavant Kanetkar, 19th Edition 2022.
5. Exploring C, Yashavant Kanetkar, BPB Publisher 2004.
6. C++: The Complete Reference, Herbert Schildt, 4th Edition, McGraw Hill Education 2017.
7. Object Oriented Programming in C++, Robert Lafore, 4th Edition, 2001.