Unit 1-06
Learning Outcome
Learning Outcome
At the end of this lesson, you will be able to:
- use local and global variables in a program
- find errors in a program and be able to classify the kind of error
Movie Watching
Movie Watching
- watch "Play Value, Tetris: Splitting the Iron Curtain"
Review
Review
- review 6 steps to solving a computer problem
Lesson
Lesson
- go over "Scope of Variables", Chapter 3
- Computer Based Problem Solving
- review stepping through a program
- go over types of errors
Activity
Activity
- go over Global variables in Python
- usually, just not a good idea
- https://stereochro.me/ideas/global-in-python
Daily Assignment
Daily Assignment
- re-create this program:
Extra
Extra
- create the above program in a second language
Code Links
Code Links
Homework!
Homework!
- review Chapter 3
- Computer Based Problem Solving