Question 71Asked in Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)

In Python,………………..module need to be imported for implementing Double Endedपायथन में, डबल एंडेड कतार को लागू करने के लिए ………………..मॉड्यूल को आयात करने की

In Python,………………..module need to be imported for implementing Double Ended Queue.
पायथन में, डबल एंडेड कतार को लागू करने के लिए ………………..मॉड्यूल को आयात करने की आवश्यकता है।
  1. Acountercounter
  2. Bcollectionscollections
  3. Crandomrandom
  4. Dnumpynumpy
Show answerHide answer

Correct answer: (B) collectionscollections

Explanation

A double-ended queue comes from the deque class in the collections module: from collections import deque.Double-ended queue collections मॉड्यूल की deque क्लास से आती है: from collections import deque।

From Bihar STET 2025 Paper II Computer Science PYQ, 4 Nov 2025, Shift 2 (2:00 PM)

This is question 71 of Bihar STET 2025 Paper II Computer Science PYQ, 4 Nov 2025, Shift 2 (2:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.