|
Lecture 1: What is Design? DEA 1110 Making a Difference by Design Course Description, Prof. Cindy Hsin-Liu KaoThis is an introductory course for non-designers and designers alike, which aims to…
|
|
When we implement (or define) a function, we are given a specification and we complete the rest of the body to match the specification. We will do the same thing for classes as well. But as we see in…
|
|
Classes are something we can define. That means we need a specification to tell us what it means for a definition to be correct. In this video we cover the basics of a class specification, and show…
|
|
In this video we show you the basic format of a class definition. However, classes can contain a lot of features, so our classes will be very simple for this demonstration.
|
|
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.
|
|
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…
|
|
|
|
In this video, we introduce this simplest form of conditional statement, the ifstatement. It allows us to skip over code if we do not wish to execute it.
|
|
|
|
Music: https://www.bensound.comStock footage: https://www.videvo.net
|
|
Strings do not have a lot of functions associated with them. Instead, strings have methods. As we see in this video, methods behave almost exactly like functions, except that the syntax for calling…
|
|
In the previous video, we wrote a function definition in the interactive shell. In this video, we write it in a module. We show how this changes things when you call the function.
|
|
In this video we show how to define the definition of a fruitful function (a function that can be used as an expression). It requires a new type of command: the return statement.
|
|
|
|
Abstract: Many problems in science and engineering involve the sorting, or ordering, of large amounts of multi-variate data. A common sorting technique is to arrange the data into layers by…
|
|
|