Previous Lecture | Lecture 7 | Next Lecture |
Lecture 7, Mon 10/23
Midterm Review
Resources from lecture
Announcements:
- Project01 will be released on Friday: project01 writeup.
- Midterm01 this Wednesday (10/25). For more information see the Midterm 1 page
Midterm Topics
- Python numeric data types and expressions: int, float, bool
- Other types of data: str, list and tuple
- Python objects and classes, and the use of class constructors to create new objects
- Variables and assignment
- Python functions - difference between function definition and function call
- Difference between print vs return
- Ability to generalize a given function and trace through code involving functions
- Local vs. global variables
- Designing functions the test driven approach and the use of stub functions
- Turtle graphics
- for loops
- Writing an interactive program using input and print
- Using Python modules and creating your own module using the if
__name__=="__main__":
idiom