К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Debugging: Hunting and Squashing Bugs · LearnSpace
Назад в каталог
courseraПрограммирование

Debugging: Hunting and Squashing Bugs

Курс от University of Michigan
Средний≈ 25.5 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

Learning how to debug is the most valuable skill to develop as you learn to program. This four-week course from the University of Michigan will help you improve your programming ability by providing you with the skills you need to understand and debug code. What’s more, you’ll learn the crucial techniques to help minimize mistakes and problems in your code. Most modern development environments contain a debugger, which you can use to find bugs and understand what is happening in your code. However, many people still rely on print statements when they debug. This course will help you gain confidence in using debuggers, so you can spend less time seeking out and fixing bugs and focus on building exciting new programming projects. The majority of coding errors occur when the programmer doesn’t understand the code or makes mistakes with the language, resulting in bugs. In this course, you’ll gain the knowledge and skills needed to spot and solve semantic and syntax errors more easily. You’ll also streamline your coding process by learning to write and run unit tests to examine and check your code. This course is designed for those interested in developing their Python skills or communicating with other programmers in a professional setting.

Навыки, которые вы освоите

Technical CommunicationFile I/OPython ProgrammingIntegrated Development EnvironmentsDevelopment EnvironmentUnit TestingProgram DevelopmentData Import/ExportSoftware TestingDebuggingProgramming PrinciplesTest Case

Программа курса

4 модулей · 118 учебных материалов

01Week 1 | Working with Files and Unit Tests41 материалов

Introduction to the Course

Welcome to Course 3ВидеоHow is This Course Different?ВидеоSyllabusЧтениеCommunity Engagement GuidelinesЧтение

Учитесь у экспертов

Barbara Ericson

Associate Professor of Information, School of Information and Associate Professor of Electrical Engineering and Computer Science, College of Engineering

Debugging: Hunting and Squashing Bugs
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 25.5 ч

4 модулей

Язык: Английский

Субтитры: Дари, Узбекский, Пушту

Часть программы вашего университета
Course Pre-SurveyЧтение
What is Python?Видео

Working in Groups

Why Work in Groups?ВидеоPOGIL RolesВидеоHow to Work in GroupsОбсуждение

How to Use the Ebook

How to Write Code in the eBookВидеоReloading Your Code HistoryВидео

Introduction to Week 1

Week 1 OverviewЧтениеWelcome to Week 1ВидеоIntroduce Yourself | Where in the World Are You?Обсуждение

Files

Installing SoftwareВидеоIntroduction to FilesВидеоUsing a GUI to find a fileВидеоHow to Bring Up a Terminal WindowЧтениеUsing a terminal windowВидеоeBook LoginВнешний инструментExercise: Group Work | Reading from FilesЧтениеUsing try and exceptВидеоExercise: Ebook Work | Writing to FilesЧтение

Files Practice

Peer Instruction | FilesВнешний инструментPeer Instruction Discussion | FilesОбсуждениеExercise: Files Practice | Parsons/WriteВнешний инструмент

Unit Tests

Exercise: Ebook Work | Unit TestsЧтениеDebugging when Unit Tests FailВидеоExercise: Ebook Work | How to Avoid DebuggingЧтениеExercise: Ebook Work | Know Your Error MessagesЧтениеReduce the need to debugВидеоExercise: Group Work | Unit TestsЧтение

Unit Tests Practice

Peer Instruction | Unit TestsВнешний инструментPeer Instruction Discussion | Unit TestsОбсуждениеExercise: Group Work | Unit TestsВнешний инструмент

Assignment 1 | Reading from a File and Debugging

Assignment Brief | Reading from a File and DebuggingЧтениеAssignment Instructions | Reading from a File and DebuggingЧтениеAssignment Submission | Reading from a File and DebuggingВнешний инструментAssignment Reflection | Reading from a File and DebuggingОбсуждение

End of Week 1

Week 1 QuizВнешний инструментEnd of Week 1 Discussion | Working with Files and Unit Tests RecapОбсуждение
02Week 2 | Parsing CSV Data and Using a Debugger24 материалов

Introduction to Week 2

Week 2 OverviewЧтениеWelcome to Week 2Видео

Sorted

What is a CSV file?ВидеоFix get_total_for_yearВидеоFix column with a commaВидеоUsing sorted vs sort on a listВидеоSorting a dictionary by the valuesВидеоExercise: Group Work | CSV FilesЧтение

Sorted Practice

Peer Instruction | SortedВнешний инструментPeer Instruction Discussion | SortedОбсуждениеExercise: CSV File PracticeВнешний инструмент

Debugging

What is debugging?ВидеоFinding the problemВидеоWhy use a debugger?ВидеоDebugging in Visual Studio CodeВидео

Debugging Practice

Peer Instruction | DebuggingВнешний инструментPeer Instruction Discussion | DebuggingОбсуждениеExercise: Debugging Practice | Debug with Unit TestsВнешний инструмент

Assignment 2 | Debugging with Simple CSV Files

Assignment Brief | Debugging with Simple CSV FilesЧтениеAssignment Instructions | Debugging with Simple CSV FilesЧтениеAssignment Submission | Debugging with Simple CSV FilesВнешний инструментAssignment Discussion | Debugging with Simple CSVОбсуждение

End of Week 2

Week 2 QuizВнешний инструментEnd of Week 2 Discussion | Parsing CSV Data and Using a Debugger RecapОбсуждение
03Week 3 | CSV Reader/Writer and Debugging21 материалов

Introduction to Week 3

Week 3 OverviewЧтениеWelcome to Week 3Видео

CSV-Read-Write

Exercise: Group Work | CSV Reader/WriterЧтениеFix get_total_for_yearВидеоFix errors - get_max_monthВидеоFix errors - get_top_five_by_ageВидео

CSV-Read-Write Practice

Peer Instruction | CSV-Reader-WriterВнешний инструментPeer Instruction Discussion | CSV-Reader-WriterОбсуждениеExercise: CSV Practice | CSV-Read-WriteВнешний инструмент

Debugging CSV Reader/Writer

Writing unit test for CSV WriterВидеоDeeper Dive on the VSCode DebuggerВидеоUsing a setUp methodВидео

Debugging CSV Reader/Writer Practice

Peer Instruction | Debugging CommandsВнешний инструментPeer Instruction Discussion | Debugging CommandsОбсуждениеExercise: CSV Practice | Write-UnitTest-PracticeВнешний инструмент

Assignment 3 | Debugging with CSV Reader/CSV Writer

Assignment Brief | Debugging with CSV Reader/CSV WriterЧтениеAssignment Instructions | Debugging with CSV Reader/CSV WriterЧтениеAssignment Submission | Debugging with CSV Reader/CSV WriterВнешний инструментAssignment Reflection | Debugging with CSV Reader/CSV WriterОбсуждение

End of Week 3

Week 3 QuizВнешний инструментEnd of Week 3 Discussion | CSV Reader/Writer and Debugging RecapОбсуждение
04Week 4 | Regex32 материалов

Introduction to Week 4

Week 4 OverviewЧтениеWelcome to Week 4Видео

Regex

Introduction to regular expressionsВидеоExercise: Group Work | Regular Expressions (Regex)ЧтениеDifference between search and find allВидеоUsing regex101ВидеоQuantifiersВидеоCharacter rangesВидеоSpecial charactersВидеоEscaping special charactersВидеоGreedy and non-greedy matchingВидео

Regex Practice

Exercise: Regex Practice | Single LineЧтениеPeer Instruction | RegexВнешний инструментPeer Instruction Discussion | RegexОбсуждениеExercise: Regex Practice | RegexВнешний инструмент

Regex Advanced

Exercise: Group Work | More Regular Expressions (Regex)ЧтениеThe problem with parenthesesВидеоAnchorsВидеоNegated character rangesВидеоMatching phone numbersВидео

Regex Advanced Practice

Exercise: Regex Advanced Practice | Single LineЧтениеPeer Instruction | Advanced RegexВнешний инструментPeer Instruction Discussion | Advanced RegexОбсуждениеExercise: Regex Advanced Practice | RegexВнешний инструмент

Assignment 4 | Regex

Assignment Brief | RegexЧтениеAssignment Instructions | RegexЧтениеAssignment Submission | RegexВнешний инструментAssignment Reflection | RegexОбсуждение

End of Week

Week 4 QuizВнешний инструментEnd of Week 4 Discussion | Regex RecapОбсуждение

End of Course Recap

End of Course RecapОбсуждениеCourse Post-SurveyЧтение