...
JNU 2018-2 PhD CS
October 26, 2023
JNU 2018-2 PhD CS
October 26, 2023
JNU 2018-2 PhD CS
October 26, 2023
JNU 2018-2 PhD CS
October 26, 2023

JNU 2018-2 PhD CS

Question 20
Which of the following is not an application of priority queue?
A
Huffman code
B
Interrupt handling in operating system
C
Undo operation in text editors
D
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.
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.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!