Write the algorithm for deletion from a linear queue held in an array.
Queues
Original Khojo Papers practice question — not from a past board paper.
It holds three elements, and no further element can be inserted.
No citable source has been recorded for this record. Treat it as practice material, not as fact.
The number of elements is rear − front + 1 = 3. The rear is already at index 4, the last position of the array, so a linear queue reports overflow even though the two positions in front of the queue are free. That waste is exactly what a circular queue removes.
From the same topic and chapter, at a similar level.
Write the algorithm for deletion from a linear queue held in an array.
Queues
What is a circular queue and what problem does it solve?
Queues
What is a queue? State two differences between a stack and a queue.
Queues
Write a recursive Java method to compute the factorial of a non-negative integer n.
Recursion
State and verify the absorption law X + X·Y = X using a truth table.
Boolean Algebra
Convert the Boolean expression F(A, B, C) = Σ(1, 3, 5) into its canonical sum of products form.
Boolean Algebra