As we conclude, here is a list of questions for you to test your knowledge of this chapter's material. You will find the answers in the Assessments section of the appendix:
- Queues decrease design flexibility since they create a rigid definition of data transfer that must be adhered to:
- True
- False
- Queues don't work well with other abstraction techniques; they must only contain simple data types:
- True
- False
- When using queues for commands acquired from a serial port, should the queue contain exactly the same information and formatting as the underlying serialized data stream? Why?
- Name a reason why passing data by value into queues is easier than passing by reference.
- Name one reason why it is necessary to carefully consider the depth of queues in a real-time embedded system?