1 Open the Mood Generator Starter File, and read through the code you find there. This code contains new programming that you haven’t seen yet! Take a moment to list everything you Notice, and then everything you Wonder…
2 Add another line of code to the definition for a "mad" mood that produces the same emoji as as an "angry" mood.
3 Add another example for "laughing", using the appropriate emoji.
(To bring up the emojis on your computer, type
Cmd-Ctrl-Space on a Mac, or
Windows-Period on Windows 10.)
4 Come up with some new moods, and add them to the code. Make sure you include examples!
5 In your own words, describe how piecewise functions work in this programming environment.
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.