One of the following options is a form of access used to add and remove nodes from a queue ?
A. LIFO
B. FIFO
C. Both LIFO and FIFO
D. Recursion
Answer : B. FIFO
Explanation
- Queues are first in first out.
- In a FIFO data structure, the first element added to the queue will be the first one to be removed.
Categorized in:
Tagged in:
Accenture interview questions and answers, Adding Nodes to a Queue, Altimetrik India Pvt Ltd interview questions and answers, AMCAT Previous Papers with Solutions, Applied Materials interview questions and answers, Bharti Airtel interview questions and answers, BMC Software interview questions and answers, Capgemini interview questions and answers, CASTING NETWORKS INDIA PVT LIMITED interview questions and answers, CGI Group Inc interview questions and answers, Chetu interview questions and answers, Ciena Corporation interview questions and answers, Collabera Te interview questions and answers, Delete a given node in Linked List under given constraints, Deleting a node from a Queue, Dell International Services India Pvt Ltd interview questions and answers, Flipkart interview questions and answers, Genpact interview questions and answers, Globallogic India Pvt Ltd interview questions and answers, How to remove a middle element from queue ?, How to remove a set node from a queue, IBM interview questions and answers, in linked representation of stack the null pointer of the last node in the list signals, Indecomm Global Services interview questions and answers, mcq on stack and queue with answers, Mphasis interview questions and answers, NetApp interview questions and answers, Oracle Corporation interview questions and answers, programming questions on stacks and queues, questions on queue data structure, queue, Queue - Linked-List Implementation, Removing nodes from queue, SAP Labs India Pvt Ltd interview questions and answers, Sapient Consulting Pvt Ltd interview questions and answers, stack data structure, stack- questions and answers, Stacks and Queues, Tech Mahindra interview questions and answers, the common method used by both stack and queue is mcq, the elements are removal from a stack in order., Tracxn Technologies Pvt Ltd interview questions and answers, UnitedHealth Group interview questions and answers, what is the result of the following operation top (push (s, which is the pointer associated with the stack?, which of the following name does not relate to stacks, Wipro Infotech interview questions and answers, WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers, Xoriant Solutions Pvt Ltd interview questions and answers, Yodlee Infotech Pvt Ltd interview questions and answers