Search for tag: "frames"

Davis Vision | Open Enrollment 2022

A webinar outlining the available Vision Plan via Davis Vision for Endowed Employees at Cornell. Held virtually during Benefair 2022. https://hr.cornell.edu/enroll/benefair

From  Gerald Deis 5 plays

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 28 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 58 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 96 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 86 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 147 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 125 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 72 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 85 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 73 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 80 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 101 plays

MAE 4730/5730 Lecture

Zoom Recording ID: 95137020859 UUID: 2pszu9yZTCSrzqcyXHzeAA== Meeting Time: 2020-09-11T14:10:18Z

From  Andy Ruina 51 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 99 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 143 plays

MAE 4710/5710 Applied Dynamics

Zoom Recording ID: 200816800 UUID: iLqM8KGMQQ2+g+1D2V4Anw== Meeting Time: 2020-05-08T16:12:19Z

From  Andy Ruina 18 plays