The selection of control structures in a given programming language impacts readability and performance. Readability refers to how clear the program is to other programmers and can be improved through documentation. Control structures at this level may include, for example, conditional statements, loops, event handlers, and recursion. Students justify control structure selection and tradeoffs in the process of creating their own computational artifacts. The discussion of performance is limited to a theoretical understanding of execution time and storage requirements; a quantitative analysis is not expected. For example, students could compare the readability and program performance of iterative and recursive implementations of procedures that calculate the Fibonacci sequence. Alternatively, students could compare the readability and performance tradeoffs of multiple if statements versus a nested if statement.
Standard detail
Depth 2Parent ID: 73E5CBB9F5E0420188EF31D085C324A0Standard set: Level 3A: Grades 9-10 (Ages 14-16)
Original statement
Quick facts
- Statement code
- Standard ID
- 2C12C22D4F4B46D8930C03E695F58E82
- Subject
- Computer Science
- Grades
- 09, 10
- Ancestor IDs
- 73E5CBB9F5E0420188EF31D085C324A0FE1325C506AB4533A562D9AD17E0536F
- Source document
- CSTA K-12 Computer Science Standards (Revised 2017)
- License
- CC BY 4.0 US