Enrol to start learning
Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.
7.8.1. Debugging Tools
This section
Practice test
11 questions on this section. Wrong answers show you what to read again.
Sign up to take itWhole chapter
Revision test
Mixed questions from across the chapter. Your answers get marked.
Sign up to take itQuick
Flashcard drill
2 cards from this lesson. Good the night before a test.
Try these first
- 1.
What does IDE stand for?
Hint
Think about what software tools help you code.
- 2.
What is the purpose of GDB?
Hint
It’s a command-line tool.
- 3.
What does an IDE-integrated debugger allow a developer to do?
- Compile code
- Set breakpoints
- Write documentation
Hint
Think about what actions help you find errors.
- 4.
True or False: GDB can only be used for Python programs.
- True
- False
Hint
Recall which languages GDB supports.
- 5.
You're debugging a C program in GDB but can't seem to get the output expected. Write a step-by-step approach using GDB to identify the logical error in your code.
Hint
Think about how you can check each variable as it changes.
- 6.
Explain how you would utilize Chrome DevTools to diagnose a slow-loading webpage. What steps would you take to identify bottlenecks?
Hint
Consider what metrics help indicate issues.
Exercises
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
4 more questions available
Enrol freeQuiz
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
1 more question available
Enrol freeChallenge Problems
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting