Search for tag: "fact"

Lesson 17.1 Recursive Definitions

Recursion is a general concept that does not just apply to programming languages. In this video we show that recursion exists in mathematics and even natural language.

From  Hannah Lee on October 19th, 2020 9 plays

Lesson 16.6 Mutable For-Loops

Lists are mutables and support mutable functions. Many of these mutable functions contain for-loops. As we show in this video, this changes how we write the for-loop. In particular, we will not use…

From  Hannah Lee on October 19th, 2020 11 plays

Zoom Oct. 8. Asserts and Error Handling

In this session we review how we read error messages in Python. We also show how to both create errors and how to recover from them.Once again, we will spend a significant amount of this class on…

From  Hannah Lee on October 10th, 2020 6 plays

Zoom Oct. 6. Memory in Python

In this session we take a closer look at the three memory areas of Python. This will help us understand what the Python Tutor is showing when we write more complex programs in the future.The…

From  Hannah Lee on October 10th, 2020 4 plays

Lesson 13.2 Error Responsibility

When we introduced specifications, we talked about responsibility; if there is a problem with a function, it is either the fault of the definer or the caller. In this video, we show how we read an…

From  Hannah Lee on October 10th, 2020 8 plays

ESP 2020 General Session 1

Zoom Recording ID: 91065525731 UUID: Y4htb4eeTp+hcCrsGv5Mfg== Meeting Time: 2020-10-06T15:12:58Z

From  Cate Sirek on October 6th, 2020 0 plays

Lesson 12.5 Functions as Variables

If function definitions are objects, then that means we can compute with them like any other object. In this video we show what happens when we assign a function definition to a variable, or why we…

From  Hannah Lee on October 2nd, 2020 11 plays

Lesson 12.3 Modules in Memory

When we say that everything is an object, we include modules as well. In this video we show exactly what happens when you import a module.

From  Hannah Lee on October 2nd, 2020 11 plays

Lesson11.2 Object Instantiation

Because classes are not built into Python, they do not have literals. So how do we create objects? In this video, we address instantiation which is how do this.

From  Hannah Lee on October 2nd, 2020 9 plays

Lesson 10.2 Function Stubs

Once we have an algorithm, it is time to get started writing code. In this video we talk about function stubs, which are how we get started. We like function stubs because they act as placeholders…

From  Hannah Lee on October 2nd, 2020 2 plays

Lesson 8.2 Test Cases

Many students in this course find that coming up with good test cases is far harder than writing code. That is because you have to design your test cases from the specification, before seeing any…

From  Hannah Lee on September 24th, 2020 6 plays

Lesson 7.2 Specification Format

Now that you know why specifications are so important, it is time to write them. We have a very specific format that we want for our specifications, which is detailed in this video.

From  Hannah Lee on September 24th, 2020 4 plays

Zoom Sep. 15. User-Defined Functions

In this class we will review how functions are defined, and how we visualize their execution.We will spend more of the class talking about visualization than how to write function definitions in…

From  Hannah Lee on September 16th, 2020 7 plays

Lesson 4.4 Modules vs Scripts

At this point you are wondering what is the difference between a module and script, since they both end in .py. This is an excellent question. But as this video shows, the answer may not be what you…

From  Hannah Lee on September 9th, 2020 7 plays

Lesson 4.3 Module Structure

In this video we take a closer look at module files. We show what types of things we can put into a module file, and what their purpose is. In addition, after this video should have a better idea of…

From  Hannah Lee on September 9th, 2020 10 plays