Which one of the following is not the type of queue?
2023
Which one of the following is not the type of queue?
- A.
Linear queue
- B.
Double-ended queue
- C.
More than one of the above
- D.
None of the above
- E.
Circular queue
Attempted by 759 students.
Show answer & explanation
Correct answer: D
A queue is a linear data structure that follows the FIFO (First In, First Out) principle. Common types include linear queue, circular queue, and double-ended queue (deque).
A linear queue allows insertion at the rear and deletion at the front. A circular queue connects the last element to the first, enabling efficient memory use. A double-ended queue allows operations at both ends.
The option 'More than one of the above' implies multiple incorrect types, but only one option is not a valid queue type. Similarly, 'None of the above' would be correct only if all options were invalid, which is not the case.
हिन्दी उत्तर:
क्यू एक रैखिक डेटा संरचना है जो FIFO (पहला आया, पहला निकला) सिद्धांत का पालन करती है। आम टाइप्स में रैखिक क्यू, वृत्ताकार क्यू और डबल-एंडेड क्यू (डेक) शामिल हैं।
रैखिक क्यू में रियर पर इन्सर्शन और फ्रंट पर डिलीशन होता है। वृत्ताकार क्यू में अंतिम तत्व पहले तत्व से जुड़ा होता है, जिससे प्रभावी मेमोरी उपयोग संभव होता है। डबल-एंडेड क्यू में दोनों छोरों पर ऑपरेशन संभव है।
विकल्प 'उपर्युक्त में से एक से अधिक' यह सुझाव देता है कि एक से अधिक विकल्प अमान्य हैं, लेकिन केवल एक विकल्प एक वैध क्यू प्रकार नहीं है। इसी तरह, 'उपर्युक्त में से कोई नहीं' तभी सही होगा जब सभी विकल्प गलत हों, जो यहाँ नहीं है।