Before Class
- Read the General Introduction
from the section entitled Formal and Natural Languages
through the section entitled Comments.
All Together Activity
- Give an example of an everyday sentence that is ambiguous.
- Give an example of an everyday sentence that contains redundancy.
- Programming languages such as Python are literal (not ambiguous) and
concise (not redundant). Why might that be?
- Write a Python program that prints your name in a box.
- Add a comment block to the top of this program that contains
your name, CSCI 107, the date, and a brief description of
what the program does.
Active Learning Activity
Work on the assignment that is due on Friday.