Homework5
Overview
Deadlines:
Hw5 Reading and Checkpoints deadline |
Mon 12-Feb at 8pm |
Hw5 Main deadline |
Sat 17-Feb at 8pm |
Hw5 Late deadline (see syllabus for details) |
Mon 19-Feb at 8pm |
Notes:
- The same basic rules as hw1 apply here.
- Be sure to read this entire write-up before starting!
- Do not use recursion or any topics not covered in or before Week5.
- There is no writing session for Hw5, so the problems in CS Academy will be worth 90% of the assignment, with the Friday collab worth 10%.
Part 1: Solo Reading and Checkpoints
This part only concerns reading and checkpoints, and not
code tracing or exercises (those are assigned below).
Read all the notes and carefully complete all
checkpoints up to and including section 4.3.1. (Note that you may need to complete additional notes and checkpoints later to access certain homework problems, but these can be done after Monday.)
Part 2: Collaborative CS Academy Exercises
This part is collaborative, as explained in the syllabus. Collaboration is not required but is encouraged.
Be sure to properly cite your collaborators!
Complete (with green checks) the following:
- 4.2.15 Code Tracing Exercises (all, 2)
- 4.2.16 Guided Exercises
- removeEvens (mutating and nonmutating) (1)
- 4.2.17 Section Exercises:
- 4.3.2 Code Tracing Exercises (all, 1)
- 4.3.4 Additional Practice Exercises
- lookAndSay + inverseLookAndSay (2)
- 4.4.13 Guided Exercises
- 4.4.14 Word Search Case Study
Note: We strongly recommend that you do not start the wordSearch problems before Thursday's lecture!
- wordSearch (1)
- betterWordSearch1 (2)
- 4.4.15 Section Exercises
- createMultiplicationTable (1)
- wordSearch2 (2)
- 4.6. Unit 4 Exercises
Part 3: Solo CS Academy Exercises
This part is entirely solo. It is not collaborative.
See the syllabus for details.
Complete (with green checks) the following:
- 4.2.17 Section Exercises
- alternatingSum (1)
- rotateList (mutating and nonmutating) (2)
- 4.2.18 Additional Code Tracing Exercises
- Code Tracing #1 (1)
- Code Tracing #2 (1)
- 4.3.4 Additional Practice Exercises
- 4.4.12 Code Tracing Exercises
- Code Tracing #1 (1)
- Code Tracing #2 (1)
Part 4: Collaborative Friday Collab (in person)
Check back on Friday for more details!
Part 5: Solo Writing Session
There is no writing session for this week's assignment!
Part 6: Solo Bonus (Optional)
You may optionally complete these exercises (working solo!)
for some modest bonus points (each worth 1% of this assignment):
- 4.2.19 Additional Practice Exercises
- firstNAcceptedValues (3 in CS Academy, worth 1 bonus pt)
- runSimpleProgram (4 in CS Academy, worth 3 bonus pts)
- 4.3.4 Additional Practice Exercises
- satisfyExpressions (3 in CS Academy, worth 1 bonus pt)