Computer Science · Data Structures
Consider a circular queue of characters implemented using an array of size 7, where Front = 3, Rear = 4, and the Queue state is: [-, -, A, B, -, -, -] (where '-' denotes an empty cell). What are the values of Front and Rear after performing the following operations in sequence? 1. Enqueue C, D2. Dequeue3. Enqueue E, F4. Dequeue
- 1Front = 3, Rear = 6
- 2Front = 4, Rear = 7
- 3Front = 5, Rear = 1✓
- 4Front = 1, Rear = 4
Correct answer
Front = 5, Rear = 1
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Structures?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Structures