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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started