What is another name for the circular queue among the following options?
2023
What is another name for the circular queue among the following options?
- A.
Rectangle buffer
- B.
Square buffer
- C.
Ring buffer
- D.
More than one of the above
- E.
None of the above
Attempted by 1147 students.
Show answer & explanation
Correct answer: C
A circular queue is a data structure where the last element is connected to the first, forming a loop. This structure is also known as a ring buffer because of its circular nature. The data flows in a loop, allowing efficient use of memory. Among the given options, 'ring buffer' is the correct alternative name. The other options do not describe this structure accurately.
हिन्दी उत्तर: एक सर्कुलर क्यू एक डेटा संरचना है जहाँ अंतिम तत्व पहले तत्व से जुड़ा होता है, जिससे एक लूप बनता है। इस संरचना को रिंग बफ़र के रूप में भी जाना जाता है क्योंकि इसकी गोलाकार प्रकृति के कारण। डेटा एक लूप में बहता है, जिससे मेमोरी का कुशल उपयोग होता है। दिए गए विकल्पों में से, 'रिंग बफ़र' सर्कुलर क्यू का सही अन्य नाम है। अन्य विकल्प इस संरचना को सही ढंग से नहीं वर्णित करते हैं।