Search Header Logo
Python Algorithms, Pseudocode, and Flow Charts

Python Algorithms, Pseudocode, and Flow Charts

Assessment

Presentation

Computers

8th Grade

Practice Problem

Easy

Created by

Laura FisherJohnson

Used 2+ times

FREE Resource

7 Slides • 9 Questions

1

Algorthims, Flow Charts, and Pseudocode

media

Python Programming
Fisher Johnson
NCVPS

2

Vocabulary Related to Algorithms

Algorithm: step by step set of instructions for solving a task.

Stepwise Refinement: the process of breaking the problem down into steps small enough that they can be expressed in code.


3

Multiple Choice

What is a step by step set of instructions for solving a task.

1

Problem Solving Process

2

Algorithm

3

Program

4

None of the above

4

Three steps of a Program

    • Step 1: Get the required data also called input

    • Step 2: Explain in logical steps how to solve the problem/develop the algorithm

    • Step 3: Report the findings in a usable for or output

5

Reorder

Reorder the three steps of a program

Get the required data also called input

Explain in logical steps how to solve the problem/develop the algorthim

Report the findings in a useable format or output

1
2
3

6

Example of Psuedocode

Psuedocode for a guessing game

Start program
Secret number is 7
Say "Guess the secret number between 1 and 10!"

Wait for your guess

If your guess is 7 Say "Awesome! You guessed it!
🎉" Otherwise if your guess is less than 7 Say "Too low! Try again!
🔻" Otherwise Say "Too high! Try again!
🔺" End if End program

7

  • Pictorial representation of an algorithm

  • Shapes and lines represent the flow of the program.

Flowcharts

  • Algorithm written in plain English (or native language)

  • No Proper Syntax

  • No Working Program

Pseudocode

BEFORE writing code you need to PLAN

8

Parts of a flow chart

Oval-

Rectangle Process/Calculation/Statement

Diamond- Decision making or branching.

​Start or End of a program

9

Multiple Choice

Which shape indicates start or end of a program and is mandatory in a flow chart?

1

Circle

2

Rectangle

3

Diamond

4

10

Multiple Choice

Which shape indicates a process, statement, or calculation?

1

Circle

2

Rectangle

3

Diamond

11

Multiple Choice

Which shape indicates a decision making statement?

1

Circle

2

Rectangle

3

Diamond

12

More about Flowcharts

  1. Order of Algorithm goes from left to right or top to bottom

  2. Have a logical start and finish

  3. Only one flowline should connect to an oval (terminal symbol)

  4. Conditionals (diamonds) should have two answers such as true/false or yes/no

13

Categorize

Options (16)

Write the program out like you speak

No proper syntax

Write in native language

No working program

Use simple logic to describe steps

Focus on the algorithm rather than syntax

Can be easily understood by non-programmers

May include loops and conditions in plain language

Visual representation of a process
Uses shapes to represent different types of actions
Arrows indicate the flow of the process
Can simplify complex processes
Helps in understanding the sequence of steps
Useful for planning and documentation
Can be created using various software tools
Easily shareable and understandable by teams

Organize these options into the right categories

Pseudocod
Flow Chart

14

Multiple Choice

In which direction does the order of an algorithm typically flow in a flowchart?

1

Bottom to top

2

Right to left

3

Left to right or top to bottom

4

Diagonally

15

Multiple Choice

What type of answers should a conditional (diamond) symbol in a flowchart have?

1

multiple choice options

2

True/False or Yes/No

3

Only "yes"

4

Numeric Values only

16

Multiple Choice

How many flowlines should connect to a terminal (oval) symbol in a flowchart?

1

One

2

Two

3

As many as needed

4

None

Algorthims, Flow Charts, and Pseudocode

media

Python Programming
Fisher Johnson
NCVPS

Show answer

Auto Play

Slide 1 / 16

SLIDE