Checkfu

Standard detail

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

Original statement

Control structures can be combined in many ways. Nested loops are loops placed within loops, and nested conditionals allow the result of one conditional to lead to another. Compound conditions combine two or more conditions in a logical relationship (e.g., using AND, OR, and NOT). Students appropriately use control structures to perform repetitive and selection tasks. For example, when programming an interactive story, students could use a compound conditional within a loop to unlock a door only if a character has a key AND is touching the door. (CA CCSS for ELA/Literacy W.6.3, W.7.3, W.8.3) Alternatively, students could use compound conditionals when writing a program to test whether two points lie along the line defined by a particular linear function. (CA CCSS for Mathematics 8.EE.7) Additionally, students could use nested loops to program a character to do the "chicken dance" by opening and closing the beak, flapping the wings, shaking the hips, and clapping four times each; this dance "chorus" is then repeated several times in its entirety.

Quick facts

Statement code
Standard ID
DB2E919FABE24DC79644A459AD0FF18B
Subject
Computer Science
Grades
06, 07, 08
Ancestor IDs
C75105E0890F4382AEE11E1C31BD1727
F9A16898F8F74394BFA27F0238BEE30F