Checkfu

Standard detail

Depth 2Parent ID: 5EF9A8EB7AA74DE2AAC3C8B590F277DCStandard set: Level 2: Grades 6-8 (Ages 11-14)

Original statement

Procedures support modularity in developing programs. Parameters can provide greater flexibility, reusability, and efficient use of resources. Students create procedures and/or functions that are used multiple times within a program to repeat groups of instructions. They generalize the procedures and/or functions by defining parameters that generate different outputs for a wide range of inputs. For example, students could create a procedure to draw a circle which involves many instructions, but all of them can be invoked with one instruction, such as “drawCircle.” By adding a radius parameter, students can easily draw circles of different sizes. (CA CCSS for Mathematics 7.G.4) Alternatively, calculating the area of a regular polygon requires multiple steps. Students could write a function that accepts the number and length of the sides as parameters and then calculates the area of the polygon. This function can then be re-used inside any program to calculate the area of a regular polygon. (CA CCSS for Mathematics 6.G.1)

Quick facts

Statement code
Standard ID
EE9ED37B8C554DE4AB9FEDDB02C1C5C9
Subject
Computer Science
Grades
06, 07, 08
Ancestor IDs
5EF9A8EB7AA74DE2AAC3C8B590F277DC
F9A16898F8F74394BFA27F0238BEE30F
· Level 2: Grades 6-8 (Ages 11-14) · Unity Concord International School · Checkfu