你将学到什么
Software Testing
Unit Testing
Python Programming
Object-Oriented Programming (OOP)
课程概况
并非所有程序都是平等的。 在本课程中,我们将专注于编写正确有效运行的质量代码。 我们将设计,编码和验证我们的程序,并学习如何比较处理相同任务的程序。
Not all programs are created equal. In this course, we’ll focus on writing quality code that runs correctly and efficiently. We’ll design, code and validate our programs and learn how to compare programs that are addressing the same task.
课程大纲
周1
Palindrome: Approaching the Problem7分钟
Palindrome: Algorithm 1 5分钟
Palindrome: Algorithm 26分钟
Palindrome: Algorithm 35分钟
The Restaurant Recommendations Problem2分钟
Restaurant Recommendations: Representing the Data6分钟
Restaurant Recommendations: Planning the Program17分钟
周2
Testing Automatically Using doctest6分钟
Writing a '__main__' program4分钟
Creating Your Own Types6分钟
Testing Automatically Using unittest4分钟
Choosing Test Cases7分钟
Testing Functions that Mutate Values 3分钟
周3
Analyzing Algorithms6分钟
Linear Search6分钟
Binary Search6分钟
Comparing Search Algorithms13分钟
Bubble Sort5分钟
Selection Sort3分钟
Insertion Sort4分钟
周4
Creating a New Type8分钟
Plugging Into Python Syntax10分钟
Writing Special Method __str__5分钟
Writing Classes That Interact6分钟
周5
Passing Functions as Arguments2分钟
Assigning Parameters Default Values4分钟
Dealing with Exceptional Situations 7分钟