volume_mute

Three Interface Error Classes

publish date2026/06/19 10:51:11.833560 UTC

volume_mute

Classify each scenario into the correct interface error class.

drag and drop the selected option to the right place

Correct Answer

(1) A developer passes arguments to a sorting function in the wrong order, reversing the sort direction,Interface misuse
(2) A developer calls a network function assuming it will block until complete, but it is actually asynchronous,Interface misunderstanding
(3) In a real-time system, a sensor writes data to shared memory faster than the processor can read it, causing stale data,Timing error

Explanation

Interface misuse: incorrect use of an interface (wrong argument order). Interface misunderstanding: incorrect assumptions about interface behavior (assuming synchronous when asynchronous). Timing error: producer and consumer operating at different speeds causing stale data in shared memory.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears