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

Discussion

For that same arrangement, the memory the queue occupies is at least

  • A.25 bytes
  • B.400 bytes
  • C.50 bytes
  • D.100 bytes

Answer: D

Twenty-five slots of four bytes is a hundred bytes, plus the queue's own control structure of perhaps eighty more. On a part with two kilobytes of RAM that is a fifth of the budget for one sensor, which is why queue sizing is done deliberately rather than generously.

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

Post your comment

Please log in or register to post a comment.