6)What is the action performed by the peek operation? 7)Write the code fragment to insert a new node, referenced by newNode, into a nonempty queue represented by a circular linked list. 8)Write the code fragment to remove the front item of a queue that contains more than one items and which is represented by a circular linked list. 9)Define the problem of rightward drift in an array-based implementation of a queue. 10)Write the code fragment to insert the item newItem into a queue that is represented by a circular array.