Coursera
Coursera Logo

University of Michigan - Debugging: Hunting and Squashing Bugs 

  • Offered byCoursera

Debugging: Hunting and Squashing Bugs
 at 
Coursera 
Overview

This involves pinpointing the root cause of errors that prevent your code from working as expected

Duration

25 hours

Start from

Start Now

Mode of learning

Online

Difficulty level

Intermediate

Official Website

Go to Website External Link Icon

Credential

Certificate

Debugging: Hunting and Squashing Bugs
 at 
Coursera 
Highlights

  • Earn a certificate from Coursera
  • Add to your LinkedIn profile
Details Icon

Debugging: Hunting and Squashing Bugs
 at 
Coursera 
Course details

Skills you will learn
More about this course
  • 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
  • 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
Read more

Debugging: Hunting and Squashing Bugs
 at 
Coursera 
Curriculum

Week 1

Working with Files and Unit Tests

Meet Dr. Barb Ericson!

How is This Course Different?

What is Python?

Why Work in Groups?

POGIL Roles

How to Write Code in the eBook

Reloading Your Code History

Welcome to Week 1

Installing Software

Introduction to Files

Using a GUI to find a file

Using a terminal window

Using try and except

Debugging when Unit Tests Fail

Reduce the need to debug

Syllabus

Community Engagement Guidelines

Course Pre-Survey

Week 1 Overview

How to Bring Up a Terminal Window

Exercise: Group Work

Reading from Files

Exercise: Ebook Work

Writing to Files

Exercise: Ebook Work

Unit Tests

Exercise: Ebook Work

How to Avoid Debugging

Exercise: Ebook Work

Know Your Error Messages

Exercise: Group Work

Unit Tests

Assignment Brief

Reading from a File and Debugging

Assignment Instructions

Reading from a File and Debugging

eBook Login

Peer Instruction

Files

Exercise: Files Practice

Parsons/Write

Peer Instruction

Unit Tests

Exercise: Group Work

Unit Tests

Assignment Submission

Reading from a File and Debugging

Week 1 Quiz

How to Work in Groups

Introduce Yourself

Where in the World Are You?

Peer Instruction Discussion

Files

Peer Instruction Discussion

Unit Tests

Assignment Reflection

Reading from a File and Debugging

End of Week 1 Discussion

Working with Files and Unit Tests Recap

Week 2

Parsing CSV Data and Using a Debugger

Welcome to Week 2

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

What is debugging?

Finding the problem

Why use a debugger?

Debugging in Visual Studio Code

Week 2 Overview

Exercise: Group Work

CSV Files

Assignment Brief

Debugging with Simple CSV Files

Assignment Instructions

Debugging with Simple CSV Files

Peer Instruction

Sorted

Exercise: CSV File Practice

Peer Instruction

Debugging

Exercise: Debugging Practice

Debug with Unit Tests

Assignment Submission

Debugging with Simple CSV Files

Week 2 Quiz

Peer Instruction Discussion

Sorted

Peer Instruction Discussion

Debugging

Assignment Discussion

Debugging with Simple CSV

End of Week 2 Discussion

Parsing CSV Data and Using a Debugger Recap

Week 3

CSV Reader/Writer and Debugging

Welcome to Week 3

Fix get_total_for_year

Fix errors - get_max_month

Fix errors - get_top_five_by_age

Writing unit test for CSV Writer

Deeper Dive on the VSCode Debugger

Using a setUp method

Week 3 Overview

Exercise: Group Work

CSV Reader/Writer

Assignment Brief

Debugging with CSV Reader/CSV Writer

Assignment Instructions

Debugging with CSV Reader/CSV Writer

Peer Instruction

CSV-Reader-Writer

Exercise: CSV Practice

CSV-Read-Write

Peer Instruction

Debugging Commands

Exercise: CSV Practice

Write-UnitTest-Practice

Assignment Submission

Debugging with CSV Reader/CSV Writer

Week 3 Quiz

Peer Instruction Discussion

CSV-Reader-Writer

Peer Instruction Discussion

Debugging Commands

Assignment Reflection

Debugging with CSV Reader/CSV Writer

End of Week 3 Discussion

CSV Reader/Writer and Debugging Recap

Week 4

Regex

Welcome to Week 4

Introduction to regular expressions

Difference between search and find all

Using regex101

Quantifiers

Character ranges

Special characters

Escaping special characters

Greedy and non-greedy matching

The problem with parentheses

Anchors

Negated character ranges

Matching phone numbers

Week 4 Overview

Exercise: Group Work

Regular Expressions (Regex)

Exercise: Regex Practice

Single Line

Exercise: Group Work

More Regular Expressions (Regex)

Exercise: Regex Advanced Practice

Single Line

Assignment Brief

Regex

Assignment Instructions

Regex

Course Post-Survey

Peer Instruction

Regex

Exercise: Regex Practice

Regex

Peer Instruction

Advanced Regex

Exercise: Regex Advanced Practice

Regex

Assignment Submission

Regex

Week 4 Quiz

Peer Instruction Discussion

Regex

Peer Instruction Discussion

Advanced Regex

Assignment Reflection

Regex

End of Week 4 Discussion

Regex Recap

End of Course Recap

Debugging: Hunting and Squashing Bugs
 at 
Coursera 
Admission Process

    Important Dates

    May 25, 2024
    Course Commencement Date

    Other courses offered by Coursera

    – / –
    3 months
    Beginner
    – / –
    20 hours
    Beginner
    – / –
    2 months
    Beginner
    – / –
    3 months
    Beginner
    View Other 6715 CoursesRight Arrow Icon
    qna

    Debugging: Hunting and Squashing Bugs
     at 
    Coursera 

    Student Forum

    chatAnything you would want to ask experts?
    Write here...