The example above uses parameters to define values for the variable in a program that creates the line from a given slope and y-intercept. Having students create and alter code of this nature corresponds with Mathematics Grade 9 C2.1, 2.2, 2.3, C3, C4.