Click to reopen instructions.

This assessment consists of functions you need to write involving numeric, boolean, and string expressions as well as some use of control constructs. It is a closed book assessment. You should stay on this tab until you are done and there should be no talking. This assessment is about how much you understand. There are no automatic tests but you can use the REPL to test things yourself.

You can move through the questions with the arrows at the upper right next to the 1 of 20 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: you can also click on thingsLikeThis in these instructions and the questions to copy them to the clipboard to avoid spelling mistakes.

Some functions that you may find useful are Math.abs, Math.floor, and Math.sqrt which all take a single numeric argument and return, respectively, the absolute value of the argument, the nearest integer less than the argument, and the square root of the argument. Also useful is Math.min which takes any number of arguments and returns the minimum value, e.g. Math.min(33, 44) returns 33.

When you are done, please submit a GitHub pull request of the branch and request me as a reviewer. Doing this correctly is part of the assessment.

Put definitions here.

Revisions: