GATE DA Python Data Structures & Collections | Set 1

Questions 66-70 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 66

NAT · Numerical Answer 1 mark

In a circular queue of capacity 7, assume front points to the first element and rear points to the next insertion position. If front = 4 and rear = 1, how many elements are currently in the queue?

Answers for question 66

Question 67

MCQ · Single Correct 1 mark

What is the result of using a single stack to process the string "GATE2025" by pushing each char and then popping all chars?

Answers for question 67

Question 68

MCQ · Single Correct 1 mark

Which application explicitly requires a Queue data structure?

Answers for question 68

Question 69

NAT · Numerical Answer 1 mark

Calculate the result of postfix expression: 8 2 / 3 * 4 +:

Answers for question 69

Question 70

MSQ · Multiple Correct 1 mark

Which of the following operations on a Python collections.deque object run in O(1) time complexity?

Answers for question 70
Scroll to Top