Due: Thursday 09/11 10:00am
Setup
Over the semester, Computer Science teachers will be working on an online textbook as a companion for this course. You can find the book here:
- http://www.stuycs.org/fcs00-book/my-great-book.html (pardon the url, the book is a work in progress).
- To help prepare for our journey into the Racket programming language, read Chapter 3.
- As you read, write down any questions in your notebook. Come to class prepared to discuss.
- Download and install DrRacket from here: https://download.racket-lang.org/
- When you first open DrRacket, you will see a message about selecting a language in the interactions pane. Go to the Language menu, select Choose Language, the first option is The Racket Language, Pick that one.
Programming
Translate the following expressions into valid Racket code. Test them in DrRacket and write your solutions in your notebook.
- (2 + 3) / 4
- 2 / (3 + 4 * 5)
- 2 * 3 + 4 / 5 + 6 * 7
- \[\dfrac{5+4}{15-2}\]
- \[\dfrac{7+5\sqrt{9}}{2^2+\dfrac{12}{4}}\]
Enrichment
In case you are interested in the video from yesterday, follow this youtube link. The link will take you to about 36 minutes into an hour talk, where the speaker starts discussing the Shakespeare language.