Flowcharting An Introduction. Definition A flow diagram of an algorithm or a process Example Fix the...

7
Flowcharting An Introduction

Transcript of Flowcharting An Introduction. Definition A flow diagram of an algorithm or a process Example Fix the...

Page 1: Flowcharting An Introduction. Definition A flow diagram of an algorithm or a process Example Fix the lamp Flowchart.

Flowcharting

An Introduction

Page 2: Flowcharting An Introduction. Definition A flow diagram of an algorithm or a process Example Fix the lamp Flowchart.

Definition

A flow diagram of an algorithm or a process

Example

Fix the lamp

Flowchart

Page 3: Flowcharting An Introduction. Definition A flow diagram of an algorithm or a process Example Fix the lamp Flowchart.

Flowchart Symbols

Start/end

Process

Decision

Arrows

Page 4: Flowcharting An Introduction. Definition A flow diagram of an algorithm or a process Example Fix the lamp Flowchart.

example

Count from 1 to 10 by the odd numbers

END

NO

YES

Is number >10?

START

Start at 1

ADD 2

DISPLAY NUMBER

Page 5: Flowcharting An Introduction. Definition A flow diagram of an algorithm or a process Example Fix the lamp Flowchart.

Example flowchart

Page 6: Flowcharting An Introduction. Definition A flow diagram of an algorithm or a process Example Fix the lamp Flowchart.

Your Turn

Create a flowchart describing the process that you follow each morning from the time you wake up for school until the time you arrive at the school entrance.

– You must use the appropriate symbols.– The process must contain at least two

decisions.– The process must contain at least 10 blocks

total plus a starting and ending block.

Page 7: Flowcharting An Introduction. Definition A flow diagram of an algorithm or a process Example Fix the lamp Flowchart.

Get out of bed

Start

Alarm

Yes

No

Snoozebutton?

Shower

StartingExample