Previous Lecture | Lecture 7 | Next Lecture |
Lecture 7, Thu 10/18
Boolean Expressions, Conditionals, Midterm Review
Resources from lecture
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
- Writing an interactive program using input and print
- Using Python modules and creating your own module using the if
__name__=="__main__":
idiom - Python objects and classes
- Boolean expressions and Conditionals (if, if-else)