Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is debugging?
Think about why programmers check their code.
Which tool can help you see variable values while debugging?
It displays information in the output.
What does debugging involve?
Think about what it means to troubleshoot a program.
True or False: A syntax error occurs when a program produces incorrect output while running.
Consider how a program behaves when you type something wrong.
You wrote a program to calculate the area of a rectangle but your output is always zero. What should you check?
Think about the order of assignments in your code.
After adding print statements to your code, you find that the program doesn't reach the section you expected. How can you debug it?
Consider how the flow of your program works and what conditions might prevent it from progressing.
5 more questions in this section. Enroll free to practise them all.
Enroll free