Modularity and code reuse is key in modern software. However, when code is modified, the programmer should consider relevant situations in which this code might be used in other places. Students create and document modifications to existing programs that enhance functionality, and then identify, document, and correct unintended consequences. For example, students could take an existing a procedure that calculates the average of a set of numbers and returns an integer (which lacks precision) and modify it to return a floating point number instead. The student would explain how the change might impact multiple scenarios.
Standard detail
Depth 2Parent ID: D3067A147FE84210BCB9DBC726115000Standard set: Level 3B: Grades 11-12 (Ages 16-18)
Original statement
Quick facts
- Statement code
- Standard ID
- 96837B061D8B4DC2A9C280071607FAEC
- Subject
- Computer Science
- Grades
- 11, 12
- Ancestor IDs
- D3067A147FE84210BCB9DBC72611500094A9AE8DDC6048889D1780BB769872EC
- Source document
- CSTA K-12 Computer Science Standards (Revised 2017)
- License
- CC BY 4.0 US