Page 128 - Mathematics GRADE 9, DE-STREAMED (MTH1W)
P. 128

2. Have students work collaboratively to create a flow chart to show the steps needed to determine whether a relation is linear or non-linear. Then have them write the code using a text-based or block-based program. Finally, have them execute the code and identify areas in the flow chart that need to be altered if the executed code did not produce the desired outcome.
3. Provide students with a problem that can be solved using code.
• Have them work in small groups to identify the steps needed to solve the problem.
• Ask individual students to create a flow chart outlining their steps.
• Have them compare their flow charts within their group, identifying the similarities and
differences.
• Then have them create pseudocode from their flow charts. (Note: As students create their
pseudocode, they may need to adjust their flow chart.)
• Have them use their pseudocode to write, execute, and adjust a text-based or block-based
program until they get the desired outcome.
C2.3 Coding
read code to predict its outcome, and alter code to adjust constraints, parameters, and outcomes to represent a similar or new mathematical situation
Teacher supports
Examples
• predicting outcomes in order to:
o visualize the mathematics involved
o ensure that the code will execute properly
o deconstruct code to understand its purpose and meaning
• altering code in order to: o simplify the code
o debug the code to produce desired outcomes
o solve similar problems
o produce different outputs
o apply the code to a new mathematical situation
Instructional Tips
Teachers can:
• facilitate and create opportunities for students to work in teams or pairs to solve problems and support one another in working through challenges;
127








































































   126   127   128   129   130