Applications of Queue

Queues are useful for following applications:-
क्यू का प्रयोग, निम्न अनुप्रयोगो हेतु किया जाता है :-

1.) In network printer or printer server , A queue is used to schedule different printing jobs so that a job which is submitted earlier will be printed earlier. It provides services to all the nodes, connected in the network. So, It utilizes printing device and saving money of user.
नेटवर्क प्रिंटर या प्रिंटर सर्वर में क्यू का प्रयोग विभिन्न जॉब्स को शेडुल करने के लिए किया जाता है जिससे एक जॉब जो पहले क्यू में प्रवेश करती है पहले प्रिंट की जाती है। यह नेटवर्क से जुड़े सभी नोड को सुविधा प्रदान करने का कार्य करता है जिससे प्रिंटिंग डिवाइस  का प्रभावी उपयोग होता है एवं यूजर के पैसो की बचत होती है।     

2.) In simulation of Airport/ Railway station etc we can use different queues for passengers information, ticket reservation, seat allotment, flight/train information, runway/ track details etc. it requires 100% accuracy, which is not possible manually.
एअरपोर्ट एवं रेलवे स्टेशन के सिमुलेशन में अलग अलग जानकारियां रखने के लिए क्यू का प्रयोग किया जाता है जैसे - पैसेंजर की जानकारी, टिकेट रिजर्वेशन, सीट अलोटमेंट, फ्लाइट या ट्रेन की जानकारी, रनवे या ट्रैक की जानकारी इत्यादि। यहाँ 100% शुद्धता की आवश्यकता होती है जो व्यक्तिगत रूप से संभव नहीं है। 

3.) In Round Robin Scheduling , we use queue for scheduling different processes and allocate time slice of CPU to them for execution. In addition queue is used in-
राउंड रोबिन शेडुलिंग में हम क्यू का प्रयोग प्रोसेसेज को व्यवस्थित करने के लिए करते है जिससे उन्हें सी.पी.यू का टाइम स्लाइस प्रदान कर, रन किया जा सके।  इसके अतिरिक्त क्यू का प्रयोग-

4.) Breadth first search. ब्रेड्थ फर्स्ट सर्च, 
5.) Input Output Buffers, Keyboard buffer. इनपुट आउटपुट बफर, कीबोर्ड बफर, 
6.) CPU scheduling, Disk Scheduling. सी.पी.यू. शेडुलिंग, डिस्क शेडुलिंग, 
7.) In recognizing palindrome. पेलिंडरोम की जाँच, 
8.) In Shared resources management etc. शेयर्ड रिसोर्सेज के प्रबंधन इत्यादि में किया जाता है।  

No comments:

Post a Comment

Stack Data Structure, Push, Pop and Peek Operations , Applications of Stack

Stack is a linear data structure. It is collection of ordered data elements. It is also known as LIFO system (last in first out). It means i...