Use cases and test cases are created to evaluate whether programs function as intended. At this level, students develop use cases and test cases with teacher guidance. Testing should become a deliberate process that is more iterative, systematic, and proactive than at lower levels. For example, students test programs by considering potential errors, such as what will happen if a user enters invalid input (e.g., negative numbers and 0 instead of positive numbers). Alternatively, in an interactive program, students could test that the character cannot move off of the screen in any direction, cannot move through walls, and can interact with other characters. They then adjust character behavior as needed.
Standard detail
Depth 2Parent ID: A91129D355114A51B7228D49CBB240A1Standard set: Level 2: Grades 6-8 (Ages 11-14)
Original statement
Quick facts
- Statement code
- Standard ID
- 88D2FF03386B4DCCA1C2D5F8C582E690
- Subject
- Computer Science
- Grades
- 06, 07, 08
- Ancestor IDs
- A91129D355114A51B7228D49CBB240A1F9A16898F8F74394BFA27F0238BEE30F
- Source document
- CSTA K-12 Computer Science Standards (Revised 2017)
- License
- CC BY 4.0 US