Certified Entry-Level Python Programmer (PCEP-30-02) — Question 10

An alternative name for a data structure called a stack is:

Answer options

Correct answer: A

Explanation

The correct answer is A, LIFO, which stands for 'Last In, First Out', describing how stacks operate. FIFO, which stands for 'First In, First Out', is associated with queues, not stacks. FOLO is not a standard term used in data structures.