Machine-translated by Google. Questions are authored in English.
Top

Discussion

Assertion: a driver should be tested against a loopback before being used with real hardware. Reason: a loopback removes the external device as a source of doubt.

  • A.both the assertion and the reason are true but the reason does not explain the assertion
  • B.the assertion is true but the reason given for it is false
  • C.the assertion is false although the reason offered is a true statement in itself
  • D.both the assertion and the reason are true and the reason explains the assertion

Answer: D

Correct answer: both the assertion and the reason are true and the reason explains the assertion

Both are true and the reason gives the mechanism. Connecting a peripheral’s output to its own input means the data returned is known, so a failure can only be in the driver or the peripheral configuration. Bringing in the real device adds its own wiring, timing and configuration as possible causes, and debugging several at once is far harder.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.