Week 3

Lesson #3-1: Event-Driven Programming

Watch Video 3-1: Event-Driven Programming

Access www.codeskulptor.org

Write and Save an Event-Driven_Programming.py file

http://www.codeskulptor.org/#examples-events.py

What is the difference between linear programs and event-driven programs?

What are the four types of events? Examples of each?

What module should you import to get buttons, time, etc.?

Lesson #3-2: Local vs. Global Variables

Watch Video 3-2: Local vs. Global Variables

Access www.codeskulptor.org

Write and Save a Local_vs_Global_Variables.py file

http://www.codeskulptor.org/#examples-local_vs_global.py

What is the difference between local and global variables?

When and why do you use global variables?

When and why do you use local variables?

Lesson #3-3: Simple GUI

Watch Video 3-3: Simple GUI

Access www.codeskulptor.org

Write and Save a Simple_GUI.py file

http://www.codeskulptor.org/#examples-simplegui-0.py

*What does GUI stand for? Google it!

What are the 7 steps for the basic Program Structure?

What three areas does the frame have? What do they do?

According to the documentation, what are other parts of the Simple GUI?

What happens if you don't have a frame.start()?