HW4 (due Sat. 11-Feb, 8pm)
From the syllabus:
Each CS Academy assignment has a required number of "stars" in several sections, listed like this:
"Section Exercises: ⭐
0 / 11."
Unless otherwise specified, each star is worth the same percentage of your homework score, up to 100%. If you complete fewer than the required number of stars in a section, you will receive a score equal to the percentage of required stars you completed. For example,
if there are 16 required stars and you complete 8, you will receive 50%. If you
complete all of the required stars you will receive 100% on the assignment. Each star you complete over the required number for that section is worth 0.5 percentage points of
bonus on the assignment. Thus, if there are 16 required stars and you complete 19, you will receive a 101.5% on the assignment. Unless otherwise specified, bonus points cannot bring your score above a 105% per assignment.
Note that some of this week's sections are ineligible for bonus points (see bottom of assignment)
A green checkmark next to a problem (in CS Academy) means it has autograded correctly and you are done. No green checkmark means it's not done yet. If you believe you should have received a green checkmark, be sure to review your work, and be sure that you hit the "check" button after the "run" button to submit it. The "check" button runs your code against additional hidden test cases which you must pass in order to receive credit. It's your responsibility to properly submit and be aware of whether you have received green-checkmark credit for your work! There is generally no partial credit for autograded problems.
Important Notes:
- Aside from problems we fully solve in lecture or recitation, homework is fully solo. You must not collaborate with anyone (besides current course TA's and faculty) in any way. See the syllabus for more details.
- Do not hardcode to the test cases in your solutions.
- As for exercises marked with ✓:
- We plan to cover these in lecture or recitation. You may take notes, and it is fine if your solution looks like ours, but we strongly discourage you from simply copying what we type. Instead, take notes on the approach and try to recreate the solution yourself.
- For the best learning experience, we recommend that you do not attempt these
exercises before we cover them in lecture or recitation.
- The problems with checkmarks are somewhat subject to change and lecture timing. Sometimes we may cover one or two more, or we may change which one we cover, but we will try not to.
- Do not use lists, list indexing, or recursion on these homework problems.
In CS Academy, complete the required number of stars from each section below.
For each section, we list the number of required and available stars. For example, this means 2 out of 4 stars are required from a section: "2/4 ⭐ required"
The number of stars available for each problem is in parentheses. For example, this means you get 2 stars for solving a problem: "(2)"
- Unit 3: Animations
- 3.2.4 Guided Exercises: 1/1 ⭐ required
- ✓Bigger Smaller (1)
- 3.2.5 Section Exercises: 1/3 ⭐ required
- Bigger Smaller Again (1)
- Rects On Edges (2)
- 3.3.6 Guided Exercises: 1/1 ⭐ required
- 3.3.7 Section Exercises: 2/2 ⭐ required
- 3.4.3 Guided Exercises: 1/1 ⭐ required
- ✓Moving Highlighting Dot (1)
- 3.4.4 Section Exercises: 1/1 ⭐ required
- 3.5.2 Guided Exercises: 1/1 ⭐ required
- Color-Toggling Freezing Dot (1)
- 3.6.2 Guided Exercises: 2/2 ⭐ required
- ✓Different Speeds (2)
- 3.6.3 Section Exercises: 3/3 ⭐ required
- ✓Scrolling Carpe Diems (1)
- Dot Race (2)
- 3.10 Unit 3 Guided Exercises: 2/2 ⭐ required
- ✓Asteroid Drawings (2)
- 3.11 Unit 3 Exercises: 2/4 ⭐ required
- Number Guessing Game (2)
- Pong (2)
- 3.12 Unit 3 Honors Exercises: 0/4 ⭐ required
- Play 21 (4) (Note: This is good practice for making a larger app and it's worth 4 bonus stars, but it is challenging. We hope you try it, but will not provide extensive support.)
Note: The following exercise sections are not eligible for bonus points. They are interesting, but we recommend you focus on the other material first.
- 3.5.3 Section Exercises: 0/2 ⭐ required
- 3.7.6 Guided Exercises: 0/1 ⭐ required
- 3.7.7 Section Exercises: 0/2 ⭐ required
- 3.8.5 Guided Exercises: 0/2 ⭐ required
- 3.8.6 Section Exercises: 0/3 ⭐ required
- 3.7.7 Section Exercises: 0/3 ⭐ required