Answer for question- 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 for question- 02
When a queue is empty, It's front and rear are the same value or item.