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.
12.5. Testing and Debugging the Application
This section
Practice test
12 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
4 cards from this lesson. Good the night before a test.
Try these first
- 1.
Define unit testing in your own words.
Hint
Think about testing a single piece of software.
- 2.
What is integration testing?
Hint
It's about how the pieces fit together.
- 3.
What is the main purpose of unit testing?
- To test the entire application
- To test individual components
- To handle errors
Hint
Think about testing pieces of code separately.
- 4.
True or False: Integration testing is only concerned with verifying the individual functions of a module.
- True
- False
Hint
Integration is about what happens when functions work together.
- 5.
You have developed a sensor reading function that sometimes provides erroneous data. Design a suite of unit tests that would help you identify the sources of these errors.
Hint
Think about all the inputs the function could receive.
- 6.
Reflect on an embedded system application you understand. Identify potential integration issues and propose ways to test for them.
Hint
Consider how each part interacts and what failures could occur.
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
2 more questions 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