ALGORITHMIC THINKING WITH PYTHON

Module 3

syllabus 

SELECTION AND ITERATION USING PYTHON:- if-else, elif, for loop, range, while loop. Sequence data types in Python - list, tuple, set, strings, dictionary, Creating and using Arrays in Python (using Numpy library). 

DECOMPOSITION AND MODULARISATION :- Problem decomposition as a strategy for solving complex problems, Modularisation, Motivation for modularisation, Defining and using functions in Python, Functions with multiple return values

RECURSION:- Recursion Defined, Reasons for using Recursion, The Call Stack, Recursion and the Stack, Avoiding Circularity in Recursion, Sample problems - Finding the nth Fibonacci number, greatest common divisor of two positive integers, the factorial of a positive integer, adding two positive integers, the sum of digits of a positive number **.

Question Bank with answers

Video Lectures

Selection and iteration using python | selection - if, else, elif | ATP  - Module 3 | Lecture 12

Topics covered

00:00 - Intro 

01:10 - Selection in python

01:34 - If statement

05:29 - else statement

07:37 - elif statement

Selection and iteration using python | loop in python | ATP  - Module 3 | Lecture 13

Topics covered

00:00 - Intro 

00:45 - For loop

03:56 - Range function

07:00 - while loop

11:19 - difference between for and while loop

Sequence data types in Python | list, set, string, dictionary | ATP  - Module 3 | Lecture 14

Topics covered

00:00 - Sequence datatypes in python

01:40 - List

07:44 - Sets

11:09 - Strings

13:45 - Dictionaries

Creating and using Arrays in Python (using Numpy library) | ATP  - Module 3 | Lecture 15

Topics covered

Creating and using Arrays in Python (using Numpy library)

Decomposition & modularization in python | ATP  - Module 3 | Lecture 16

Topics covered

00:00 - Intro

01:29 - Decomposition and problem solving with example

03:50 - Modularization with example

05:52 - Motivation for modularization 

Defining and using functions in Python | Decomposition & modularization | ATP- Module 3 | Lecture 17

Topics covered

00:00 - Defining and using function in python

02:59 - Example

07:51 - Example - function with multiple return values

Working example for Decomposition & modularization in python | ATP- Module 3 | Lecture 18