Home · NPTEL companion · Programming with Generative AI
Programming with Generative AI
NPTEL · IISc Bangalore · July-December 2026 run · read 23 Oct 2026
Official course page · Lecture videos on nptel.ac.in (219 lessons)
- Teacher
- Prof. Viraj Kumar, IISc Bangalore
- Discipline
- Computer Science and Engineering
- Level
- Undergraduate
- Length
- 8 weeks
- Runs
- 17 Aug 2026 – 9 Oct 2026
- Enrolment closed
- 20 Aug 2026
- Exam registration closed
- 28 Aug 2026
- Exam date (as the course page prints it)
- Fri 16 Oct 2026
- Credit points (course page)
- 3
- Learners enrolled (read 23 Oct 2026)
- 42,656
- Exam registrations (read 23 Oct 2026)
- 13,987
- Course id
- noc26_cs188
Week by week (official course layout)
- Week 1: Introduction: What is programming and how effective are modern GenAI tools at programming? Optional: Installing GenAI tools on your computer.
- Week 2: Representing and manipulating data: Fundamental data types (and potential mismatches with a problem’s needs), objects, expressions, assignments, and error handling in Python.
- Week 3: Decomposing complex problems: Using functions to represent and solve sub-problems, principles of good function design. Introduction to conditionals and recursion in Python.
- Week 4: Critiquing code: Comprehending and testing code (including AI-generated code) to identify potential errors. Introduction to lists and iteration in Python.
- Week 5: Debugging problem statements and code : Asking clarifying questions, manual and AI-assisted debugging. Introduction to dictionaries in Python.
- Week 6: Learning a new programming language (C): C vs Python: key differences. Introduction to arrays and structs in C.
- Week 7: Introduction to memory management in C: A deeper understanding of Python lists by developing a simplified implementation of Python lists in C.
- Week 8: Fast implementations: Identifying “hot” Python code and translating into C, a peek ahead into Data Structures and Algorithms.
Topics as the course page lists them. Weekly assignment due dates are shown only inside the course after a SWAYAM sign-in, so they are not here — check the course page every week.
This course's certificate rule
Average assignment score = 25% of average of best 6 assignments out of the total 8 assignments given in the course. Exam score = 75% of the proctored certification exam score out of 100 Final score = Average assignment score + Exam score Please note that assignments encompass all types (including quizzes, programming tasks, and essay submissions) available in the specific week. YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.
As printed on the course page. General rules: NPTEL FAQ.
Credit for your degree
The course page prints 3 credit points, but your own university decides whether and how much it counts — ask your department before the semester starts. How SWAYAM / NPTEL credit transfer works
Shishya never gives answers to graded NPTEL assignments.
Found a mistake, or are you from this institution? Tell us at corp@surgesoftware.co.in. We check every report against the official source.