CodeHS Circle Pyramid Exercise

How is computational thinking used in the CodeHS Circle Pyramid Exercise?

Начать. Это бесплатно
или регистрация c помощью Вашего email-адреса
CodeHS Circle Pyramid Exercise создатель Mind Map: CodeHS Circle Pyramid Exercise

1. Decomposition

1.1. three rows

1.2. identical circles

1.3. 1 fewer circle each row

2. Pattern Recognition

2.1. identical circles

2.2. 1 fewer circle each row

3. Algorithmic Thinking

3.1. steps to go to starting position

3.1.1. penup()

3.1.2. setposition(0 - 2*radius, 0)

3.1.3. right()

3.2. steps to draw circle

3.2.1. pendown()

3.2.2. circle(radius)

3.3. steps to move to next circle

3.3.1. penup()

3.3.2. forward(2*radius)

3.4. steps to change rows

3.4.1. setposition(original x + radius, original y + 2*radius)

4. Abstraction

4.1. draw_circle() function with move to next starting point

4.2. loop the number of times needed per row