# Lesson Notes — Flowcharting & Algorithmic Logic

- Link: https://mrleffler.com/course-1-computer-literacy/unit-14-computational-thinking-problem-solving/lesson-2-flowcharting-algorithmic-logic/lesson-notes-c1u14l2/
- Published: 2026-10-19T12:14:04-04:00
- Author: matthew.leffler@jefferson.kyschools.us

Course 1: Computer Literacy / Unit 14: Computational Thinking & Problem Solving /
Lesson 2: Flowcharting & Algorithmic Logic

## Lesson overview

An **algorithm** is a set of clear steps that solve a problem. A **flowchart** is
a diagram that shows those steps and how they connect. Drawing the steps helps you
find missing pieces before you build anything.

## Flowchart symbols

  |  Shape |  Name |  Meaning |  
   |  Oval |  Terminator |  The start or the end |  
 |  Parallelogram |  Input / Output |  Getting information in or showing a result |  
 |  Rectangle |  Process |  An action or a calculation |  
 |  Diamond |  Decision |  A yes or no question, with a path for each answer |  
 |  Arrow |  Flow line |  The direction to go next |

## Three building blocks of logic

 * **Sequence:** steps happen one after another, in order.
 * **Decision:** the path changes based on a yes or no answer.
 * **Repetition:** some steps go back and repeat until a condition is met.

## Example: a thermostat

Here is a thermostat algorithm. Draw it with the symbols above.

 1. **Start** (oval).
 2. **Read** the room temperature (parallelogram).
 3. **Decision** (diamond): is the temperature below 68 degrees?
 4. If yes, turn the heater **on** (rectangle).
 5. If no, turn the heater **off** (rectangle).
 6. Go back to step 2 and keep checking (arrow looping back).

This one never reaches an end because a thermostat keeps running. Many algorithms
do end, and then you would finish with an oval labeled End.

## Tips for good flowcharts

 * Use exactly one Start. Every path should lead to something.
 * Label every arrow that leaves a decision with Yes or No.
 * Keep each step small and specific.
 * Test your chart by following it with your finger, pretending to be the machine.

## Check your understanding

 1. Which shape would you use for the question “Is it raining?”
 2. Draw a flowchart for your morning routine that includes at least one decision.
 3. What happens in the thermostat example if the room is exactly 68 degrees?

Use this lesson’s Key Terms page to build your glossary.
