Learn to Program: Crafting Quality Code
When you enroll for courses through Coursera you get to choose for a paid plan or for a free plan .
- Free plan: No certicification and/or audit only. You will have access to all course materials except graded items.
- Paid plan: Commit to earning a Certificate—it's a trusted, shareable way to showcase your new skills.
About this course: 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.
Created by: University of Toronto-
Taught by: Jennifer Campbell, Associate Professor, Teaching Stream
Department of Computer Science -
Taught by: Paul Gries, Associate Professor, Teaching Stream
Department of Computer Science
There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.
When you enroll for courses through Coursera you get to choose for a paid plan or for a free plan .
- Free plan: No certicification and/or audit only. You will have access to all course materials except graded items.
- Paid plan: Commit to earning a Certificate—it's a trusted, shareable way to showcase your new skills.
About this course: 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.
Created by: University of Toronto-
Taught by: Jennifer Campbell, Associate Professor, Teaching Stream
Department of Computer Science -
Taught by: Paul Gries, Associate Professor, Teaching Stream
Department of Computer Science
每門課程都像是一本互動的教科書,具有預先錄製的視頻、測驗和項目。
來自同學的幫助與其他成千上萬的學生相聯繫,對想法進行辯論,討論課程材料,並尋求幫助來掌握概念。
證書獲得正式認證的作業,並與朋友、同事和雇主分享您的成功。
University of Toronto Established in 1827, the University of Toronto has one of the strongest research and teaching faculties in North America, presenting top students at all levels with an intellectual environment unmatched in depth and breadth on any other Canadian campus.Syllabus
WEEK 1
Week 1
7 videos, 10 readings expand
- 閱讀: Syllabus
- 閱讀: Course Logistics
- 閱讀: Resources
- Video: Palindrome: Approaching the Problem
- 閱讀: Palindrome: Approaching the Problem
- Video: Palindrome: Algorithm 1
- 閱讀: Palindrome: Algorithm 1
- Video: Palindrome: Algorithm 2
- 閱讀: Palindrome: Algorithm 2
- Video: Palindrome: Algorithm 3
- 閱讀: Palindrome: Algorithm 3
- Video: The Restaurant Recommendations Problem
- 閱讀: The Restaurant Recommendations Problem
- Video: Restaurant Recommendations: Representing the Data
- 閱讀: Restaurant Recommendations: Representing the Data
- Video: Restaurant Recommendations: Planning the Program
- 閱讀: Restaurant Recommendations: Planning the Program
Graded: Week 1 Exercise
WEEK 2
Week 2
6 videos, 6 readings expand
- Video: Testing Automatically Using doctest
- 閱讀: Testing Automatically Using doctest
- Video: Writing a '__main__' program
- 閱讀: Writing a '__main__' program
- Video: Creating Your Own Types
- 閱讀: Creating Your Own Types
- Video: Testing Automatically Using unittest
- 閱讀: Testing Automatically Using unittest
- Video: Choosing Test Cases
- 閱讀: Choosing Test Cases
- Video: Testing Functions that Mutate Values
- 閱讀: Testing Functions that Mutate Values
Graded: Week 2 Exercise
Graded: Writing test cases
WEEK 3
Week 3
7 videos, 7 readings expand
- Video: Analyzing Algorithms
- 閱讀: Analyzing Algorithms
- Video: Linear Search
- 閱讀: Linear Search
- Video: Binary Search
- 閱讀: Binary Search
- Video: Comparing Search Algorithms
- 閱讀: Comparing Search Algorithms
- Video: Bubble Sort
- 閱讀: Bubble Sort
- Video: Selection Sort
- 閱讀: Selection Sort
- Video: Insertion Sort
- 閱讀: Insertion Sort
Graded: Week 3 Exercise
WEEK 4
Week 4
4 videos, 4 readings expand
- Video: Creating a New Type
- 閱讀: Creating a New Type
- Video: Plugging Into Python Syntax
- 閱讀: Plugging Into Python Syntax
- Video: Writing Special Method __str__
- 閱讀: Writing Special Method __str__
- Video: Writing Classes That Interact
- 閱讀: Writing Classes That Interact
Graded: Week 4 Exercise
WEEK 5
Week 5
3 videos, 3 readings expand
- Video: Passing Functions as Arguments
- 閱讀: Passing Functions as Arguments
- Video: Assigning Parameters Default Values
- 閱讀: Assigning Parameters Default Values
- Video: Dealing with Exceptional Situations
- 閱讀: Dealing with Exceptional Situations
Graded: Rat Race
There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.
