Consider a situation where a client receives packets from a server. There may be differences in speed of the client and the server. Which data structure is best suited for synchronization?
(A) Circular Linked List
(B) Queue
(C) Stack
(D) Priority Queue
Answer: (B)
Explanation: Since packets need to be processed in First In First Out order, a queue can be used for synchronization.
Quiz of this Question
Recommended Posts:
- Data Structures | Misc | Question 1
- Data Structures | Misc | Question 2
- Data Structures | Misc | Question 3
- Data Structures | Misc | Question 4
- Data Structures | Misc | Question 5
- Data Structures | Misc | Question 6
- Data Structures | Misc | Question 7
- Data Structures | Misc | Question 8
- Data Structures | Misc | Question 10
- Introduction to Data Structures | 10 most commonly used Data Structures
- C | Misc | Question 1
- C | Misc | Question 2
- C | Misc | Question 7
- C | Misc | Question 6
- C | Misc | Question 5
- C | Misc | Question 7
- C | Misc | Question 6
- C | Misc | Question 8
- C | Misc | Question 9
- Algorithms | Misc | Question 16

