In grades 3-5, students create more sophisticated algorithms. These algorithms may include a number of simple loops or repeats (such as "perform this step 5 times"), and can start including decisions (if-then branches). They can test these algorithms by performing the steps (or acting them out), and fix any steps that don't work.
Students encounter input-output machine imagery to see steps in some interesting algorithms that involve fractions.