Click to reopen instructions.

This assessment consists of functions you need to write involving translating between code written in the higher-order style (using the filter, map, etc. methods on arrays) and the non-higher-order style (using for loops, if statements, and variables). The first half ask you to translate from higher-order style and the second half to higher-order style. Feel free to start with whichever questions you are most comfortable with.

This is an open book assessment. You may refer to your code from previous assignments and may look at whatever documentation is helpful. In particular you may want to refer to the answers to the HOF implementation and Array HOFs assignments. However, you may not use ChatGPT or any other AI to write your code.

You can move through the questions with the arrows at the upper right next to the 1 of indicator so if you're not sure how to write one function move on to another one and come back if you have time at the end. I want to see how much you do know. Note: click on the code in the questions to select it so you can copy it into the editor as a starting point.

When you are done, please click on your Github username above and submit a GitHub pull request of the branch and request me as a reviewer.

Put definitions here.

Revisions: