
Duck Debugging
Presentation
•
Computers
•
10th Grade
•
Practice Problem
•
Easy
Roy Duguid
Used 3+ times
FREE Resource
25 Slides • 8 Questions
1
2
Homework
3
4
5
Maintain (verb)
main - tain
To keep in good condition
"A large house costs a lot to maintain"
6
7
Maintainability
Maintainability is the ability of a program to be easily understood, updated, and modified.
It's important to ensure that code is maintainable so that other programmers can easily read, understand, and fix it.
8
Maintainabilty
Commenting
Code reviews
consistent naming conventions
modular design
Testing
Clear documentation
Copy pasting code
ignoring errors
outdated libraries
overly complex code
spaghetti code
9
Multiple Choice
We can make our code maintainable by...
10
Multiple Choice
We can add comments to our code which is ignored by python by using which symbol?
*
11
Categorize
Commenting
Testing
Organize these options into the right categories
12
Coding with a duck
13
14
15
Give them a name
Meet your duck
16
Word Cloud
My ducks name is...
17
18
Open Ended
What is the error in this code?
(speak to your duck)
19
Open Ended
What is the error in this code?
(speak to your duck)
20
21
22
23
24
25
26
27
Comparison of Syntax, Runtime, and Logic Errors
Aspect | Syntax Error | Runtime Error | Logic Error |
|---|---|---|---|
When it Occurs | Before the program runs (during parsing or compilation) | While the program is running | The program runs without crashing, but the output is incorrect or unexpected |
Nature of Error | Relates to incorrect structure or grammar in the code | Occurs when valid syntax encounters issues during execution | Relates to incorrect logic or algorithm that leads to incorrect behavior or results |
Can Program Run? | No, the program will not run until the syntax is corrected | Yes, the program starts running, but crashes at the point of error | Yes, the program runs to completion but produces the wrong result |
Example | Missing : after an if statement | Dividing by zero (e.g., 10 / 0) | Using if a < b: when intending if a > b: |
28
Multiple Choice
What type of error is this?
(Speak to your duck)
29
Multiple Choice
What type of error is this?
(Speak to your duck)
30
31
Activities in Teams
32
33
Show answer
Auto Play
Slide 1 / 33
SLIDE
Similar Resources on Wayground
24 questions
Perulangan C++
Presentation
•
11th Grade
23 questions
Berpikir Komputasional Kelas 9
Presentation
•
9th Grade
23 questions
Della Sri Rahayu - perangkat lunak
Presentation
•
10th Grade
24 questions
history of computers
Presentation
•
10th - 12th Grade
27 questions
Conditional Structures in Arduino
Presentation
•
10th Grade
24 questions
Fungsi-fungsi pada program pengolah angka
Presentation
•
10th Grade
24 questions
Email Etiquette
Presentation
•
10th Grade
23 questions
Python Strings and Character Encoding
Presentation
•
10th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Assessment 2
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
12 questions
2026 TAP Technology in the Classroom
Presentation
•
Professional Development
15 questions
HCS SCI 05 Summer School Assessment 2 Review
Quiz
•
5th Grade
15 questions
HCS SCI 04 Summer School Review 2
Quiz
•
4th Grade
59 questions
Geometry Unit 3 Review
Quiz
•
9th - 12th Grade
14 questions
FAST ELA READING SMAPLE TEST MATERIALS
Passage
•
3rd Grade