topic badge
CanadaON
Grade 8

11.03 Branching

Interactive practice questions

Follow the algorithm.

Start with the number $8$8.

If the number is even, halve it. If the number is odd, subtract one and halve it.

Easy
< 1min

Follow the algorithm.

Easy
< 1min

Follow the algorithm.

Easy
< 1min

Follow the algorithm.

Easy
< 1min
Sign up to access Practice Questions
Get full access to our content with a Mathspace account

Outcomes

8.C3.1

Solve problems and create computational representations of mathematical situations by writing and executing code, including code that involves the analysis of data in order to inform and communicate decisions.

8.C3.2

Read and alter existing code involving the analysis of data in order to inform and communicate decisions, and describe how changes to the code affect the outcomes and the efficiency of the code.

What is Mathspace

About Mathspace