topic badge
CanadaON
Grade 7

15.05 Flow charts

Worksheet
Flow charts
1

Consider the following shapes:

  • Shape A:

  • Shape C:

  • Shape B:

  • Shape D:

a

Which shape represents a decision in a flowchart?

b

Which shape represents where the flowchart begins?

c

Which shape represents an action in a flowchart?

2

Consider the following flowcharts:

  • Flowchart A:

  • Flowchart B:

  • Flowchart C:

a

Which flowchart is not linear?

b

Which flowchart shows branching?

3

Consider the following flowcharts:

  • Flowchart D:

  • Flowchart E:

a

Which flowchart is not linear?

b

Which flowchart shows branching?

c

Which flowchart contains a loop?

4

What is the output of this algorithm if the input is 6?

5

What is the output of this algorithm if the input is 8?

6

What is the output of this algorithm if the input is 4?

7

What is the output of this algorithm if the input is A = 2 and B = 5?

8

Determine the greatest common divisor (GCD) of the following using the Euclidean algorithm:

a

35 and 70

b
40 and 60
c
12 and 33
Sign up to access Worksheet
Get full access to our content with a Mathspace account

Outcomes

7.C3.1

Solve problems and create computational representations of mathematical situations by writing and executing efficient code, including code that involves events influenced by a defined count and/or sub-program and other control structures.

7.C3.2

Read and alter existing code, including code that involves events influenced by a defined count and/or sub-program and other control structures, and describe how changes to the code affect the outcomes and the efficiency of the code.

What is Mathspace

About Mathspace