Queue Operations - Section 4 Multiple Questions and Answers.




16.In a priority queue, insertion and deletion takes place at ………………?
A. front, rear end
B. only at rear end
C. only at front end
D. any position

17.The minimum number of multiplications and additions required to evaluate the polynomial P = 4x3+3x2-15x+45 is
A. 6 & 3
B. 4 & 2
C. 3 & 3
D. 8 & 3

18.In Computer generally _________ expressions are preferred:
A. Postfix
B. Infix
C. Prefix
D. None of the above

19.A common example of a queue is people waiting in line at a__________:
A. Bus stop
B. Movie hall
C. Shopping mall
D. None of the above

20.In Breadth First Search of Graph, which of the following data structure is used?
A. Stack
B. Queue
C. Linked list
D. None

«»



Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers