Answer to the Question No. 01
The operations of queue are:
Enqueue - This function defines the operation for adding an element into queue.
Dequeue - This function defines the operation for removing an element from queue.
Initialize - create an empty queue
Front - Front is used to get the front data item from a queue.
Rear - Rear is used to get the last item from a queue.
Answer to the Question No. 02
When a queue is empty, the front and rear are the same value or item.