Questions

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:

  1. Queues decrease design flexibility since they create a rigid definition of data transfer that must be adhered to:
    • True
    • False 
  2. Queues don't work well with other abstraction techniques; they must only contain simple data types:
    • True
    • False 
  3. 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?  
  4. Name a reason why passing data by value into queues is easier than passing by reference.  
  5. Name one reason why it is necessary to carefully consider the depth of queues in a real-time embedded system?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.137.243