Search for tag: "cases"

Lesson 17.3 Recursion and the Call Stack

Because a recursive function calls itself, it will have multiple call frames on the call stack. In this video we show exactly why we should be concerned about this and why it will affect our function…

From  Hannah Lee on October 19th, 2020 0 plays

Lesson 16.7 For-Loops and Testing

Another control-structure means another video on testing. But if you have following the Rule of Numbers, you will discover that you have enough tests for your for-loop. Instead, as we show in this…

From  Hannah Lee on October 19th, 2020 0 plays

Lesson 14.4 Try-Except and Testing

We have a new control structure, so it is time once again to talk about testing. In this video we revisit the concept of code coverage and show testing a try-except is very similar to testing a…

From  Hannah Lee on October 10th, 2020 12 plays

Zoom Sep. 29. Algorithm Design

In this session we do a deep dive in how we might design a series of functions to acomplish a single task.This class will be highly interactive. We will start with a specification – one more…

From  Hannah Lee on October 2nd, 2020 2 plays

Lesson 11.1 Objects and Classes

In this video we have to introduce some new terminology. We talk about classes, which are new types that are provided by modules (and therefore not built into Python). Objects are the values for…

From  Hannah Lee on October 2nd, 2020 7 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.4 Iterative Testing

We made very sure that you had learned about testing before you started on your first assignment. That is because we want you testing while you are activtely writing your code, and not waiting until…

From  Hannah Lee on October 2nd, 2020 3 plays

Lesson 10.1 Algorithms

In this video we introduce the notion of an algorithm, which is an is a way of describing code (or any process) that is not limited to a specific programming language. You should always develop an…

From  Hannah Lee on October 2nd, 2020 4 plays

Zoom Sep. 22. Specifications and Testing

Both specifications and testing are critical for the first assignment. But many students struggle with them because they are so “fuzzy”.To help you improve your skills here, we have are…

From  Hannah Lee on September 24th, 2020 3 plays

Lesson 9.7 Conditionals & Local Variables

Python is unlike other languages in that it does not have a traditional notion of scope. You can create a variable inside of conditional, but still access that same variable outside of the…

From  Hannah Lee on September 24th, 2020 3 plays

Lesson 8.4 Test Procedures

As our modules get more complicated, with more an more function definitions, our test scripts will get more complicated as well. In this video we show how to organize our test scripts by putting the…

From  Hannah Lee on September 24th, 2020 6 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 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 8.1 Testing Plans

Before you start testing, you must have a testing plan. In this video we explain what these are, and how they fit into the software development process.

From  Hannah Lee on September 24th, 2020 6 plays

Session 13: The Grievance Procedure

From  Donald Bazley on July 15th, 2020 63 plays