Homework4 (due Sat 8-Feb at 8pm)
Notes:
- For all exercises, to receive credit you need to obtain
a green check in CS Academy. There is no partial credit on individual exercises.
- For guided exercises, watching the guided video is
required -- it will show you how to solve the exercise
elegantly, will save you lots of time, and will best
prepare you for later exercises.
Thus, first read the writeup and then
carefully watch the guided video. Then and only then
should you solve the guided exercise.
Required problems
- 3.2.5 Section Exercises
- 3.3.6 Guided Exercises
- 3.3.7 Section Exercises
- 3.4.3 Guided Exercises
- Moving Highlighting Dot (1)
- 3.4.4 Section Exercises
- 3.5.2 Guided Exercises
- Color-Toggling Freezing Dot (1)
- 3.5.3 Section Exercises
- 3.6.2 Guided Exercises
- 3.7.6 Guided Exercises
- 3.8.5 Guided Exercises
- 3.8.6 Section Exercises
- Click in Partial Dots (1)
Bonus/Optional
Note:
- These problems are bonus and optional (you can skip them).
- They are worth up to 6 bonus points. This is very few, so please do not do the bonus
just for the points. Instead, do it for the learning!
- 3.8.6 Section Exercises
- Fancy Wheel 2 (2 in CS Academy, worth 1 bonus point)
- 3.11 Unit 3 Exercises
- Number Guessing Game (3 in CS Academy, worth 2 bonus points)
- 3.12 Honors Exercises
- Play 21 (4 in CS Academy, worth 3 bonus points)
Week 5 Required Prereading (due Mon 10-Feb at 8pm)
Start early!
Read the notes and complete all the checkpoints in CS Academy through (and including)
section 4.2.13 Code Tracing with Lists
(Note: Checkpoints include anything labeled as a Checkpoint in the notes. Unless otherwise specified,
pre-reading does
not include anything labeled as an Exercise on the table of contents.)