Search for tag: "frames"

Zoom Dec. 3. Generators

In this presentation we will review, generators which lead into the last major topic of the course (coroutines). Once again, this will involve a lot of visualization.We also start off this…

From  Hannah Lee 19 plays

Davis Vision - Benefair Week 2020

Faye White, Representative from Davis Vision, discusses the aspects of the Davis Vision Plan as part of the Open Enrollment period during Benefair Week 2020.

From  Gerald Deis 54 plays

Lesson 20.6 Method Visualization

Methods definitions look just like function definitions, but we call them differently. In this video we show how to visualize a method call, and we see just how it differs from a function call.

From  Hannah Lee 63 plays

Lesson 17.8 Recursion Performance

In this video, we show another reason to pay attention to the division step: performance. In fact, we show an example where a change in how we divide the data can improve performance by several…

From  Hannah Lee 55 plays

Lesson 17.3 Recursion and the Call Stack

Because a recursive function calls itself, it will have multiple call frames on the call stack. In this video we show exactly why we should be concerned about this and why it will affect our function…

From  Hannah Lee 75 plays

Lesson 17.2 Recursive Functions

In this video we show how to take recursive definitions from mathematics and implement them in Python. To do this, we will need to have a function call itself in its own definition.

From  Hannah Lee 71 plays

Lesson 15.5 Slice Visualization

Because lists are mutable, we need to explicitly draw their folder when we visualize them. In this video we show how slicing affects these folders.

From  Hannah Lee 44 plays

Lesson 12.7 The Call Stack

In this video we look at the call stack in much more detail. In particular, we see that is possible to have more than one call frame active at a time, and the stack is the way these frames are…

From  Hannah Lee 49 plays

Lesson 12.6 Global Variables

With both modules and function definitions, we saw that global variables are incredibly important. But most of our code is inside of function definitions, and therefore executed inside of call…

From  Hannah Lee 41 plays

Lesson 12.4 Functions in Memory

We know what happens when we call a function. But as we show in this video, Python also does something very important when we define a function. It has to store the definition somewhere.

From  Hannah Lee 39 plays

Lesson 12.2 Memory Areas

In this video we introduce the three regions of memory in Python: global space, the heap, and the call stack. We need all of these to understand how Python executes code.

From  Hannah Lee 49 plays

Lesson 5.6 Functions & the Python Tutor

In the previous video, we showed how to visualize function calls on a piece of paper. But, as with all visualization, we do have the Python Tutor at our disposal. In this video we illustrate the…

From  Hannah Lee 48 plays

Lesson 5.5 Function Visualization

Once again, visualization is an important skill in this couse. In this video we show what it is even more important for functions. In particular, we introduce the new topic of the call frame, which…

From  Hannah Lee 73 plays

24 - Relative Motion (cont'd) Session 24

2013-04-18 17:42:09+00

From 3 plays

23 - Course review; Relative Motion Session 23

2013-04-16 14:49:20+00

From 5 plays

22 - Polar & Path coordinates Session 22

2013-04-11 10:04:49+00

From 10 plays