Search for tag: "spaces"

Lesson 17.5 Divide and Conquer Design

Now that we understand divide-and-conquer, it is type to implement it in Python. In this video we show you a three-step sequence for writing a function definition using this technique.

From  Hannah Lee on October 19th, 2020 19 plays

Lesson 17.4 Divide and Conquer

Recursion has many, many uses. But one of the most popular applications is divide-and-conquer. In this video we introduce this new concept and show how we will use to solve several problems on…

From  Hannah Lee on October 19th, 2020 22 plays

Lesson 16.3 Accumulators

One of the techniques that we say in the previous video was the accumulator variable. In this video we show that this is a general technique used in a fruitful function that requires 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 13.5 Assert Trade-Offs

Preconditions can get really complicated, and sometimes it is unclear how to enforce all of the preconditions. In this video we talk about why it is okay to break up a precondition and…

From  Hannah Lee on October 10th, 2020 9 plays

Lesson 13.4 Assert Messages

We now know how to do assert statements to create errors. But the error messages are a little cryptic. In this video we talk about how we can do a better job.

From  Hannah Lee on October 10th, 2020 9 plays

Lesson 8.3 Test Scripts

A good testing plan has many, many test cases, and it can be really tedious to keep testing a function. That is why it would be ideal if we could automate the process. In this video, we introduce the…

From  Hannah Lee on September 24th, 2020 6 plays

Lesson 5.2 Procedures

In this video, we show you how to define a procedure in the Python interactive shell. Recall that a procedure is a function that is used as a command.

From  Hannah Lee on September 11th, 2020 8 plays

Lesson 3.5 Advanced Import Statements (OPTIONAL)

This is a completely optional video for people who are interested in all of the different ways that you can import a module in Python. However, it is a tad advanced for a beginning programmer. If you…

From  Hannah Lee on September 9th, 2020 4 plays

There’s No Place Like Home - Cornell’s Residential Landscapes

Cornell’s longstanding ambivalence about on-campus housing and the logistics of a coeducational population resulted in two dormitory landscapes situated to the north and west of central campus.…

From  Matt Gorney on July 15th, 2020 136 plays

CAM Colloquium - Adrian Lewis: Nonsmooth optimization: conditioning, convergence, and semi-algebraic models

Variational analysis has come of age. Long an elegant theoretical toolkit for variational mathematics and nonsmooth optimization, it now increasingly underpins the study of algorithms, and a rich…

From  E. Cornelius on May 15th, 2018 11 plays