Question: Class IntQueue { Private: Int *queueArray; Int queueSize; Int front; Int rear; Int numItems; Public: IntQueue(int); ~IntQueue(int) Void enqueue(int); Void dequeue(int &); Bool isEmpty(); Bool

Class IntQueue { Private: Int *queueArray; Int queueSize; Int front; Int rear; Int numItems; Public: IntQueue(int); ~IntQueue(int) Void enqueue(int); Void dequeue(int &); Bool isEmpty(); Bool isFull(); Void clear(); }; 1. What is the name of the ADT? 2. What is the data type of the queue? 3. How many pointer variables are there? 4. (T/F) The ADT makes use of a static array for its queue implementation. 5. (T/F) The class includes a constructor 6. (T/F) The class includes a destructor 7. In what operation will the size of the array be defined? 8. How many operations are there in the class? 9. (T/F) A value must be provided when you initiate a dequeue operation 10. What is the variable that will store the capacity of the queue?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!