What is the key difference between a crash and an ANR (Application Not Responding)?

Prepare with the Trusted Tester Training Test. Utilize interactive quizzes with flashcards and multiple-choice questions that include hints and explanations. Enhance your test readiness now!

Multiple Choice

What is the key difference between a crash and an ANR (Application Not Responding)?

Explanation:
Understanding the difference between a crash and an ANR centers on how the system handles a faulty or unresponsive app. A crash terminates the app process abruptly due to an unhandled exception or fatal error, so the app is closed and the user returns to the previous screen or home. An ANR happens when the app’s main thread is blocked for too long while performing work on the UI, causing the system to detect unresponsiveness and show a dialog that lets the user wait or close the app. So the best description is that a crash ends the app immediately, while an ANR keeps the app running but unresponsive during a task. The other options either misstate platform scope, confuse the issue with a UI freeze or a memory leak, or claim they are identical, which doesn’t capture the real behavioral difference.

Understanding the difference between a crash and an ANR centers on how the system handles a faulty or unresponsive app. A crash terminates the app process abruptly due to an unhandled exception or fatal error, so the app is closed and the user returns to the previous screen or home. An ANR happens when the app’s main thread is blocked for too long while performing work on the UI, causing the system to detect unresponsiveness and show a dialog that lets the user wait or close the app. So the best description is that a crash ends the app immediately, while an ANR keeps the app running but unresponsive during a task. The other options either misstate platform scope, confuse the issue with a UI freeze or a memory leak, or claim they are identical, which doesn’t capture the real behavioral difference.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy