Search for tag: "word"

Lesson 16.2 For-Loop Design

In this video we show how to use for-loops in function definitions. In particular, we show that we go from a specification to code that uses a for-loop.

From  Hannah Lee on October 19th, 2020 16 plays

Lesson 13.6 Assert Helpers

Sometimes we absolutely need to enforce all of our preconditions, and we cannot live with the compromises of the previous video. In this video we show how to use top-down design to give us more…

From  Hannah Lee on October 10th, 2020 9 plays

Lesson 10.6 Top-Down Design

Top-down design is a widely–used design technique. Your instructor used it to design the first assignment, and you will use it yourself in later assignments. In this video we take a closer look…

From  Hannah Lee on October 2nd, 2020 3 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 9.8 Conditionals & Test Cases

Ideally, test cases should be designed from the specification and without reading the code. But once the code is written, we want to have proper code coverage, testing every single command in the…

From  Hannah Lee on September 24th, 2020 3 plays

Lesson 9.3 If-Else Statements

In this video we introduce the if-else statement. It is like the if statement, except that you now chose between two options.

From  Hannah Lee on September 24th, 2020 6 plays

Lesson 7.5 Bad Specifications

Not all specifications are good. Some of them – including those written by your instructor – are quite bad. In this video we talk about how to read a specification critically so that you…

From  Hannah Lee on September 24th, 2020 3 plays

Lesson 3.4 Python Documentation

While this new video/lecture format is allowing us to show you things we could not cover in year’s past, there is a limit to how much we can show you. Sometimes you are just going to need to…

From  Hannah Lee on September 9th, 2020 9 plays

Lesson 3.1 Built-In Functions

The easiest functions to use in Python are those that are built into it. They are listed on the Python Documentation page. In this video we examine some of these and show the syntax for how to use…

From  Hannah Lee on September 9th, 2020 6 plays

Lesson 2.4 Dynamic Typing

If you have programmed before (and it is okay if you have not), you may be used to variables having the restriction that they can only contain specific types. This is not the case in Python, and that…

From  Hannah Lee on September 7th, 2020 4 plays

Lesson 0.4 Shortcuts & Tricks

Python scripts are files containing pre-written Python code. You can run a Python script even if you do not understand the code inside of it. In this video we show you how to do exactly that.

From  Hannah Lee on September 4th, 2020 5 plays

Lesson 0.3 Python Scripts

Python scripts are files containing pre-written Python code. You can run a Python script even if you do not understand the code inside of it. In this video we show you how to do exactly that.

From  Hannah Lee on September 4th, 2020 9 plays

Lesson 0.2 The Python Shell

The Python interactive shell is a program that is run within the command line. For right now, it is the primary way we will use Python. In this video we show how to start it, and some important…

From  Hannah Lee on September 4th, 2020 10 plays

Milstein Invited Lecture - Joshua Bennett

Zoom Recording ID: 96610307248 UUID: WERlt4LjT9WCA6TPZ8skSQ== Meeting Time: 2020-07-02T23:23:53Z

From  Tapan Parikh on July 3rd, 2020 14 plays

Milstein Invited Lecture - Keyon Vafa

Zoom Recording ID: 96610307248 UUID: Ulr/E83kRWGGHY19KZmk9A== Meeting Time: 2020-06-25T23:47:07Z

From  Tapan Parikh on June 26th, 2020 6 plays