Which one of the following is the overflow condition if linear queue is…

BPSC TRE · TRE 2.0 · TGT (Classes 9–10) · Computer · 8 Dec 2023 · Single shift · SubjectModified — slightly modified from the official paper; see the solution

Which one of the following is the overflow condition if linear queue is implemented using an array with a size MAX_SIZE?

  1. A.

    rear = MAX_SIZE − 1

  2. B.

    rear = MAX_SIZE

  3. C.

    rear=front+1

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 1356 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…