HW7 (due Sat. 4-Mar, 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 the Additional Practice exercises and 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 sets, dictionaries, or recursion on these homework problems.
Additional required tasks: 2/2 ⭐ required
This week you will need to complete the following tasks before the homework due date, each worth 1 required star on this assignment
- Complete the Midterm Exam Reflection form, discussed in Wednesday's recitation
- Complete the TA Feedback form during Wednesday's recitation. (You must attend recitation or have an excused absence in order to receive the link)
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 5: Animations with Lists
- 5.2.4 Guided Exercises: 1/5 ⭐ required
- Moving Dot (1) (recommended)
- Dot Splotter (2)
- Pie Chart (2)
- 5.2.5 Section Exercises: 1/3 ⭐ required
- Click to Delete (1) (recommended)
- Dots in Corners (1)
- Expanding Carpe Diems (1)
- 5.3.5 Snake Case Study: 0/4 ⭐ required
- Not required, but you may earn 4 bonus stars here, and we may do some of this in lecture if time permits
- 5.3.6 Tetris Case Study: 7/7 ⭐ required
- (Note: We will be covering steps 4 and 5 on Thursday's lecture. We strongly recommend reaching Step 4 by this point!)
- Step 1 - Creating and Drawing the Board (1)
- Step 2 - Creating and Drawing the Piece (1)
- Step 3 - Moving the Piece (1)
- ✓Step 4 - Writing rotate2dListClockwise (1)
- ✓Step 5 - Rotating the Piece (1)
- Step 6 - Stepping and Placing the Piece (1)
- Step 7 - Removing Full Rows (1)
- 5.3.7 Honors Creative Task (Tetris): 5/5 ⭐ required
- Note: CS Academy lists every creative task as 30 stars, but this is worth 5 required stars, plus up to 5 bonus stars if you implement extra features. Also, this step is not autograded, and will instead be manually graded sometime after Spring Break.
Note: The following exercise sections are not eligible for bonus points. They are interesting, and we may require them in future weeks, but we recommend you focus on the other material first.
- 5.2.6 Additional Practice Exercises: 0/5 ⭐
- 5.3.4 Tic-Tac-Toe and Connect4 Case Studies: 0/4 ⭐