GATEverse
← GATE CSE 2012

Q35

MCQ2 marks, −0.67

Suppose a circular queue of capacity (n−1)(n −1) elements is implemented with an array of nn elements. Assume that the insertion and deletion operations are carried out using REAR\textsf{REAR} and FRONT\textsf{FRONT} as array index variables, respectively. Initially, REAR=FRONT=0\textsf{REAR} = \textsf{FRONT} = 0. The conditions to detect queue full and queue empty are:

Sign in to save attempts.

Loading…