Toll Plaza simulation is an application of ..........
टोल प्लाजा सिमुलेशन ......... का अनुप्रयोग है।
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. Queue
Explanation
Vehicles at a toll plaza are served in arrival order — first in, first out — which is exactly a queue. A stack is last in, first out.
टोल प्लाजा पर वाहन आने के क्रम में निकलते हैं — फर्स्ट-इन-फर्स्ट-आउट — यही क्यू है। स्टैक लास्ट-इन-फर्स्ट-आउट होता है।
More Data Structures questions
- A .......... is a container that implements Last-In-First-Out (LIFO) protocol.
- TOLL Plaza simulation is an application of ............. .
- Sum of degrees of all nodes for a graph G(V, E) can be given by ...... .
- In directed graph G(V, E) where V = {P, Q, R, S, T} and E = {PQ, RS, TP, PS, QR, PT, ST, QP, RQ, TS}, the vertex with maximum in- degree is…
- Which of the following recurrence relation is related to worst case time complexity of quick sort ?
- A queue follows ……….. .