
Duck Debugging
Presentation
•
Computers
•
10th Grade
•
Practice Problem
•
Easy
Roy Duguid
Used 3+ times
FREE Resource
25 Slides • 8 Questions
1
2
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
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
13
14
15
Give them a name
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
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
22 questions
DNA/RNA Mutations
Presentation
•
10th Grade
25 questions
REVISION TEST
Presentation
•
10th - 11th Grade
23 questions
Translators
Presentation
•
9th - 10th Grade
27 questions
Unit 1 Review
Presentation
•
10th Grade
26 questions
Modularisasi dan Array XI
Presentation
•
11th Grade
24 questions
Redundancy
Presentation
•
9th Grade
28 questions
Computer science career opportunities
Presentation
•
11th Grade
29 questions
HTML
Presentation
•
9th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade