JNU 2018-2 PhD CS
October 26, 2023JNU 2018-2 PhD CS
October 26, 2023JNU 2018-2 PhD CS
Question 20 |
Which of the following is not an application of priority queue?
Huffman code | |
Interrupt handling in operating system | |
Undo operation in text editors | |
Bayesian spam filter |
Question 20 Explanation:
Huffman coding need priority queue to extract nodes with minimum frequency.
Interrupt handling requires priority queue to serve the highest priority interrupt first.
Undo operation in text editors uses stack.
Bayesian spam filter also uses priority queue.
Interrupt handling requires priority queue to serve the highest priority interrupt first.
Undo operation in text editors uses stack.
Bayesian spam filter also uses priority queue.
Correct Answer: C
Question 20 Explanation:
Huffman coding need priority queue to extract nodes with minimum frequency.
Interrupt handling requires priority queue to serve the highest priority interrupt first.
Undo operation in text editors uses stack.
Bayesian spam filter also uses priority queue.
Interrupt handling requires priority queue to serve the highest priority interrupt first.
Undo operation in text editors uses stack.
Bayesian spam filter also uses priority queue.
Subscribe
Login
0 Comments