Homework4 (due Sunday* 6-Jul at 8pm)
*this is a one-time deadline change due to Independence Day
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.
- HW4 (and future homeworks) may be graded for style! See the style guide linked from the schedule for more details.
- We may choose to solve some homework problems in lecture. If we do, don't just copy the answer, but you may take notes if you wish.
- As with every 112 assignment, the problem-solving and debugging process is more important than the result so don't rely on AI unless you're prepared to be disappointed with your writing session, quiz, and exam grades.
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.6.2 Guided Exercises
- 3.6.3 Section Exercises
- Scrolling Carpe Diems (1)
- 3.7.7 Section Exercises
Bonus/Optional
Note:
- These problems are bonus and optional (you can skip them).
- They are worth up to 5 bonus points total (i.e. 5% of hw4). This is very little, so it is not worth doing them just for the points. Instead, do them if you would like to challenge yourself and gain more practice.
- Also note that we will generally not provide much help on bonus questions until after the homework deadline.
Bonus exercises:
- 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)