0% found this document useful (0 votes)
185 views6 pages

Flowchart Practice 1

The document provides 5 scenarios for creating flowcharts. It includes an example flowchart for Scenario 1 about how a student gets to school based on the weather. Sample flowcharts are also provided for the other scenarios, which involve decisions based on traffic, calculating math problems from input numbers, ordering food from a menu, and finding the largest of 3 numbers. The bonus scenario asks the reader to draw a flowchart to find the largest of three numbers.

Uploaded by

api-429590915
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
185 views6 pages

Flowchart Practice 1

The document provides 5 scenarios for creating flowcharts. It includes an example flowchart for Scenario 1 about how a student gets to school based on the weather. Sample flowcharts are also provided for the other scenarios, which involve decisions based on traffic, calculating math problems from input numbers, ordering food from a menu, and finding the largest of 3 numbers. The bonus scenario asks the reader to draw a flowchart to find the largest of three numbers.

Uploaded by

api-429590915
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

Flowchart Practice

Create a flowchart for the following scenarios. Maximum 2 flowcharts per page
and each flowchart should have a title. The first scenario is done as an
example.

Scenario 1:
You listen to the weather report
If it is raining you will get a drive to school
If it is not raining you will take the bus

Scenario 2:
You check the traffic news
If there is a lot of traffic, you take the subway
Otherwise, you take the car

Scenario 3:
Read 2 numbers as input
Add the two numbers
Output the result

Scenario 4:
You approach the counter at a fast food restaurant to order a burger
If you are very hungry, you will also order fries, otherwise, you will not
If you are thirsty, you will order a drink, otherwise you will not
You then pay the cashier
If you deserve change, you pick up your change, otherwise you do not
You then pick up your food and leave

Scenario 5:
Read 3 numbers as input
Add the first 2 numbers
Multiply the result by the third number
Output the final result if it is greater than 100
Otherwise output the first number

BONUS Scenario:
Draw a flowchart to find the largest of three numbers A, B, and C.
Scenario 1:
You listen to the weather report
If it is raining you will get a drive to school
If it is not raining you will take the bus

Solution: How to get to school

START

Listen to weather
report

Raining? yes

Get a Drive to
no School

Take Bus

END
Scenario 2:
You check the traffic news
If there is a lot of traffic, you take the subway
Otherwise, you take the car

Start

check the traffic news

YES
LOT OF
TRAFFIC?
??

NO take the
subway
take the car

END
Scenario 3:
Read 2 numbers as input
Add the two numbers
Output the result

START

NUMBE NUMBE
R1 R2

READ TEW MEMBERS

OUT PUT
THE
RESULT

END
Scenario 4:
You approach the counter at a fast food restaurant to order a burger
If you are very hungry, you will also order fries, otherwise, you will not
If you are thirsty, you will order a drink, otherwise you will not
You then pay the cashier
If you deserve change, you pick up your change, otherwise you do not
You then pick up your food and leave

START

ORDER A
BURGER

HUNGR THIRSTY
Y

NO NO

You then
ORDER FRIES pay the ORDER DRANK
cashier

DESERVE yes you pick up


CHANGE your change
?
NO

You then pick up


your food and leave

END
Scenario 5:
Read 3 numbers as input
Add the first 2 numbers
Multiply the result by the third number
Output the final result if it is greater than 100
Otherwise output the first number

START

INPUT 3 NUMBERS

ADD 1#NUMBER
and 2#NUMBER

Multiply the result by


the third number

OUTPUT THE
GREATE FIRST
R THAN NUMBER
100

END

You might also like