Skip to main contentSkip to solution

Select the incorrect statement in the context of a stack.

Solution

✅ Correct Option: 1

A stack is a linear list, so the statement that it is a non-linear list is incorrect. Its elements are arranged one after another in a sequence, and access is restricted to one end, called the top. Trees and graphs are the non-linear structures.


Option 2: FILO (First In Last Out) is just another name for LIFO (Last In First Out), so it is correct.

Option 4: in an array implementation, top = -1 is the standard way to show that the stack is empty.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question