Multiple choice technology programming languages Which of the following is true? Stack is a data structure that is based on First-in-First-Out (FIFO) rule Queues are based on Last-In-First-Out (LIFO) rule Neither (a) nor (b) Both (a) and (b) Reveal answer Fill a bubble to check yourself C Correct answer Explanation Stack follows LIFO (Last-In-First-Out) - the last element pushed is the first one popped. Queues follow FIFO (First-In-First-Out) - the first element enqueued is the first one dequeued. Therefore neither statement (a) nor (b) is correct.