12th Class Computers Science Sample Paper Data Structure - Sample Paper-1

  • question_answer
    You can insert an element at the rear in queue using append () function.

    A) True  

    B) False

    C) None of these

    D) All of the above

    Correct Answer: A

    Solution :

    [a] Yes, You can insert an element at the rear in queue using append() function. Append() is a list function which Is used to append an element into list, so if you create a queue using list and insert an element using append() function then it automatically get added to the rear(end) of the queue.
     


You need to login to perform this action.
You will be redirected in 3 sec spinner