Search for tag: "idea"

Lesson 26.8 The Game of Pig

With while-loops we can now write some super complex programs – once that we way more sophisticated than what we have done before. In this video we show how to create a complete dice game with…

From  Hannah Lee on November 12th, 2020 6 plays

Lesson 26.7 Convergent While-Loops

In this video we show one of the most powerful while-loop techniques: computing to convergence. Convergence is a concept that most students learn in Calculus, and so we will use a little Calculus in…

From  Hannah Lee on November 12th, 2020 6 plays

Lesson 24.3 Dynamic Attribute Access

Types guarantee that an object supports a set of operations (methods) and has a certain set of attributes. However, in this video we show that we can actually get this information without typing an…

From  Hannah Lee on November 12th, 2020 26 plays

Lesson23.4 The is Operator

As we saw in the previous video, we cannot trust == if we need to test if two variables refer to the same object folder. In this video we show an alternative operator is, which is safe to use because…

From  Hannah Lee on November 8th, 2020 30 plays

Lesson 22.1 Classes and Code Reuse

In this video we motivate the conept of subclasses by looking at a potential application. As software becomes more and more complex, we have to leverage features that allow us to work with other,…

From  Hannah Lee on November 8th, 2020 30 plays

Digital Life Seminar | Urban Tech Hub

Anthony Townsend (Host), and Gary Johnson, Molly Turner and Ren Yee.

From  Michael Byrne on October 28th, 2020 15 plays

Lesson 19.2 Dictionary Assignment

Dictionaries are mutable. In this video we show how to alter there contents. This includes reassigning the value of a dictionary for a given key. But it also includes adding and deleting keys.

From  Hannah Lee on October 27th, 2020 26 plays

Lesson 18.1 List of Objects

Lists require that we explicitly show the folder when visualize them. In this video we show what that means when a list contains other objects that have their own folders. The result is a chain of…

From  Hannah Lee on October 27th, 2020 22 plays

Cornell IS Colloquium with Theresa Tanenbaum

Zoom Recording ID: 98959768127 UUID: XjUURe8cTCqZu4+ChfspJA== Meeting Time: 2020-10-22T19:45:46Z

From  Wendy Ju on October 22nd, 2020 10 plays

10.12.20 Theory Seminar - Fall 2020 Shachar Lovett, UC San Diego

Zoom Recording ID: 97470844866 UUID: 9mq56B39QvqqAWq7KYEL1g== Meeting Time: 2020-10-12T20:04:41Z

From  Jordan Staiti on October 12th, 2020 2 plays

Lesson 14.2 Functions with Try-Except

Try-except statements will allow use to write functions that we could not write with conditional statements. In this video, we show how to use try-except as a general programming tool.

From  Hannah Lee on October 10th, 2020 13 plays

Lesson 14.1 Try-Except Statements

In this video we intrduce a new control structure: the try-except statement. As we will see, it looks very similar to an if-else statment with some important differences.

From  Hannah Lee on October 10th, 2020 17 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 12 plays