steps against size
day 7
Day 7 counts a job's steps and names how they grow. A loop of passes at steps a pass takes steps, and loops that run one after the other add. A loop inside a loop multiplies: outer passes, each running inner steps, take . The part latest in the list , , , , , , ends up biggest. To name the growth, keep that part and drop the number in front of it, so grows like and is called quadratic. Lesson 7.6 counts memory in words of 64 bits. Lesson 7.7 shows that a count that never drops lies, at any size, between its counts at the powers of 2 either side.
the lessons
how it went
12 of 12 right. That is enough. Every day of the course is behind you.
- Question 1, go back to one loop's step count
- Question 2, go back to one loop's step count
- Question 3, go back to a loop inside a loop
- Question 4, go back to a loop inside a loop
- Question 5, go back to the part that ends up biggest
- Question 6, go back to the part that ends up biggest
- Question 7, go back to the number in front
- Question 8, go back to the number in front
- Question 9, go back to naming how a count grows
- Question 10, go back to naming how a count grows
- Question 11, go back to how much work one step takes
- Question 12, go back to when the size is not a power of two
how it went
0 of 12 right. Not enough yet. Go back over the lessons below, then try again.
- Question 1, go back to one loop's step count
- Question 2, go back to one loop's step count
- Question 3, go back to a loop inside a loop
- Question 4, go back to a loop inside a loop
- Question 5, go back to the part that ends up biggest
- Question 6, go back to the part that ends up biggest
- Question 7, go back to the number in front
- Question 8, go back to the number in front
- Question 9, go back to naming how a count grows
- Question 10, go back to naming how a count grows
- Question 11, go back to how much work one step takes
- Question 12, go back to when the size is not a power of two
the checkpoint
Score 10 or more out of 12 to pass the course's last checkpoint. A miss shows the lesson to go back to.