ALGORITHMIC THINKING WITH PYTHON

Module 2

syllabus 

ALGORITHM AND PSEUDOCODE REPRESENTATION:- Meaning and Definition of Pseudocode, Reasons for using pseudocode, The main constructs of pseudocode - Sequencing, selection (if-else structure, case structure) and repetition (for, while, repeat- until loops), Sample problems

FLOWCHARTS :- Symbols used in creating a Flowchart - start and end, arithmetic calculations, input/output operation, decision (selection), module name (call), for loop (Hexagon), flow-lines, on-page connector, off-page connector.

Question Bank with answers

Video Lectures

Algorithm and  pseudocode representation - Part 1 | ATP  - Module 2 | Lecture 7

Topics covered

00:00 - Intro

00:55 - Meaning and Definition of pseudocode

04:16 - Reasons for using pseudocode

05:38 - Main constructs of pseudocode

12:17 - Rules for writing pseudocode

Algorithm and  pseudocode representation - Part 2 | ATP  - Module 2 | Lecture 8

Topics covered

00:00 - Sequencings

01:50 - If-else structure

02:55 - Case structure

04:13 - For loop

05:45 - While loop

08:03 - Example 1 - Evaluating an expression 

09:46 - Example 2 - simple interest calculation

10:54 - Example 3 - finding largest in two numbers

12:05 - Example 4 - finding smallest in three numbers

14:50 - Example 5 - Display grade based on input (if-else)

16:20 - Example 6 - Display grade based on input (case)

17:37 - Example 7 - Print number form 50 to 1

18:31 - Example 8 - finding sum of n numbers (for loop)

20:09 - Example 9 - finding sum of n numbers (while loop)

Introduction to Flowchart - Part 1 | ATP  - Module 2 | Lecture 9

Topics covered

00:00 - Introduction

00:51 - Concept of flowchart

02:20 - Basic flowchart symbols

05:28 - Common flowchart types

10:21 - Consideration in flowchart

13:34 - Fundamental shapes and their use

Flowchart Examples | Flowchart - Part 2 | ATP  - Module 2 | Lecture 10

Topics covered

00:00 - Example 1 - problem of a non functioning light bulb

02:55 - Example 2 - find the square of a number

04:12 - Example 3 - find the roots of a quadratic equation

05:08 - Example 4 - find the biggest in three numbers

05:50 - Example 5 - Adding the integers from 1 to 100 and print sum

07:02 - Example 6 - Difference between Algorithm & flowchart

08:04 - Example 7 - Advantages of flowcharts

08:25 - Sample questions

Flowchart using RAPTOR tool| Flowchart - Part 3 | ATP  - Module 2 | Lecture 11

Topics covered

00:00 - Intro to RAPTOR

02:00 - Printing name using RAPTOR

05:00 - Printing the square of a number in RAPTOR

08:26 - Printing sum of 10 numbers in RAPTOR