Answer the following statements true (T) or false (F)
1. A circular array eliminates rightward drift.
2. Using a front and back pointer in a circular array will indicate whether a queue is empty or full.
3. Using the ADT list to represent a queue is not as efficient as using a linked chain directly.
4. It is poor design to use a sorted list to contain the entries of a priority queue.
5. The enqueue and dequeue operations for a queue require efficient access to both ends of the queue.
6. If you use a circular array to implement a queue, you must be able to distinguish between the queue-full and queue-empty conditions.
1. True
2. True
3. True
4. False
5. True
6. True
You might also like to view...
A signature block contains text and sometimes graphics that provide additional information about the sender
Indicate whether the statement is true or false
By default, axes are displayed when a chart is created
Indicate whether the statement is true or false