(a) What is the purpose of EnQueue function
(# Statement-1) defined above:
(i) It is a user defined function to scan / access QUEUE elements
(ii) It is a pre defined function to scan / access QUEUE elements
(iii) It is a user defined function working on double ended queue
(iv) It is a user defined function working on circular queue
(b) What is the line QUEUE.append(VALUE)
(# Statement-2) doing
(i) This will add the element at the end of the QUEUE
(ii) This will remove the element from the end of the QUEUE
(iii) This will add the element at the beginning of the QUEUE
(iv) This will remove the element from the beginning of the QUEUE
(c) Conceptually if the QUEUE is already full , what will happen
(i) PEEK() function will be executed
(ii) OVERFLOW occurs
(iii) UNDERFLOW occurs
(iv) We may still add more elements in it.
(d) What is the use of the variable VALUE used in argument (# Statement-1)
(i) This is the position of FRONT
(ii) This is the position of REAR
(iii) This is an element added in a QUEUE
(iv) This is the name of the list
(e) When the else part (# Statement-3) of the above code will be executed
(i) When the length of the QUEUE is zero
(ii) When the length of the QUEUE is one
(iii) When the length of the QUEUE is more than one
(iv) This part of the code will always executed
(c) (ii) OVERFLOW occurs
(d) (iii) This is an element added in a QUEUE
(e) (iii) When the length of the QUEUE is more than one