NEW
Font size
WorksheetsU2/L4 Kira HS
Total questions: 17
Worksheet time: 9mins
Which of the following is a way to remember facts from the videos in this lesson?
Write down facts you learned from the videos in this lesson.
Ignore the videos and rely on memory alone.
Only watch the videos without taking notes.
Ask someone else to remember the facts for you.
A ______________ is an error or flaw in a computer program that causes it to produce incorrect or unexpected results.
bug
feature
update
patch
_______________ is the process of identifying, analyzing, and removing bugs from a computer program.
Debugging
Compiling
Designing
Encrypting
Bugs can happen for many reasons, including: Typos in ______________
code
hardware
music
weather
Bugs can happen for many reasons, including:
Typos in code, incorrect logic, and forgetting to close parentheses.
Typos in language, incorrect logic, and forgetting to close parentheses.
Typos in code, incorrect typing, and forgetting to close parentheses.
Typos in programs, incorrect fingers, and forgetting to close parentheses.
Bugs can happen for many reasons, including: Forgetting to close ______________ or add necessary punctuation
quotation marks (or parentheses)
variables
functions
loops
In the "Platypus Bugs" activity, you explored different types of ______________ that caused the code to behave unexpectedly.
bugs
functions
loops
variables
Debugging helps programmers make sure their programs run ______________ and produce the right results.
correctly
slowly
randomly
incorrectly
A helpful way to improve your debugging skills is through ______________, where you review what happened and what you can try next.
reflection
guesswork
memorization
procrastination
One strategy for finding a bug is to read through your code ______________, one line at a time.
carefully
quickly
randomly
loudly
Another strategy is to use ______________ statements to check if parts of your code are working as expected.
delete
input
break
Good debugging involves trying different solutions and learning from each ______________.
mistake
success
shortcut
guess
One thing I did to fix my code when it didn’t work during the lesson was:
Checked my code for errors and fixed them.
Ignored the problem and moved on.
Deleted all my code and started over without checking.
Asked someone else to do it for me without trying myself.
Reflection is important when debugging a program because:
it helps identify and understand errors in the code.
it automatically fixes all bugs in the program.
it eliminates the need for testing.
it makes the program run faster.
What is a good way to encourage a friend who says, “I’m bad at coding because I keep getting bugs?”
Remind them that everyone gets bugs and it’s part of learning.
Tell them to stop coding if they get bugs.
Agree that they are bad at coding.
Ignore their concerns.
Reflection helps you understand what went wrong and how you solved it, so you can do better next time. What is the main benefit of reflection?
It helps you improve in the future.
It makes you forget mistakes.
It prevents you from making any mistakes ever again.
It guarantees success every time.
Everyone gets bugs—it's a normal part of learning to code. Debugging is how we get better! What is debugging?
Fixing errors in code
Writing new code
Ignoring problems in code
Deleting all code
