Click here to return to the schedule
Video Lecture (required)
This week's video complements the textbook sections 6.2 and 6.3. I briefly demonstrate what each of the concepts (variables and data types, control structures, procedures, etc.) look like in Python, and I explain some of the terminology in more detail. Be sure to run Thonny on your own computer and follow along! Here is the source code used in the examples. Please note in the videos that parantheses are not used with the print statement. This is for an older version of Python. You will need to use parantheses as we are using the current version of Python sec6.2.py sec6.3.py O'Reilly History of Programming Languages
Questions & Exercises
Some of these questions will be on the next quiz. Remember the answers are in the back of the book.
- Sec 6.1 : 1, 2
- Sec 6.2 : 2, 4
- Sec 6.3 : 1, 4
Additional Clips (recommended)
The last paragraph on Page 262 of the textbook tells a great story about Grace Hopper, "who is recognized as the developer of the first compiler." Simply google Grace Hopper David Letterman to watch her on the Late Show with David Letterman back in 1986. If nothing else, you should watch her clever explanation of a "nanosecond" at about 5:00 into the clip. . The annual Celebration of Women in Computing conference is named in her honor.