i need help with theses problems but I need answer in detail how did you get the
ID: 3548420 • Letter: I
Question
i need help with theses problems but I need answer in detail how did you get the value please thanks
Suppose that queue is a queue Type object and the size of the array implementing queue is 100. Also, suppose that the value of queueFront is 50 and the value of queueRear is 99. What are the values of queueFront and queueRear after adding an element to queue? What are the values of queueFront and queueRear after removing an element from queue? Suppose that queue is a queueType object and the size of the array implementing queue is 100. Also, suppose that the value of queueFront is 99 and the value of queueRear is 25. What are the values of queueFront and queueRear after adding an element to queue? What are the values of queueFront and queueRear after removing an element from queue?Explanation / Answer
6 (a). queuefront = 50, queuerear=100;
6 (b). queuefront = 51, queuerear=100;
7 (a). addition is not possible
7 (b). queuefront = 100, queuerear=25;
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.