arrow
arrow
arrow
Among the following statements about stacks, which one is NOT correct?
Question



Among the following statements about stacks, which one is NOT correct?

A.

New nodes can only be added to the top of the stack.

B.

Stacks can be implemented using linked lists.

C.

Stacks are first-in, first-out data structures.

D.

The last node (at the bottom) of a stack has a null (0) link.

E.

Stacks are very useful

Correct option is C

Stacks follow the Last-In, First-Out (LIFO) principle, where the last element added is the first to be removed. This makes the statement about "first-in, first-out" incorrect, as that describes queues.
Important Key Points:
1. LIFO: Last element added is accessed first.
2. Stacks can be implemented using arrays or linked lists.
3. Common applications include recursion management and backtracking.
Knowledge Booster:
· FIFO (First-In, First-Out): Followed by queues, not stacks.
· Stacks are often used in compilers for syntax checking and memory management.
· Operations on stacks include push, pop, and peek.

Free Tests

Free
Must Attempt
Video Solutions

RBI Assistant Pre 2026 Full Mock Test -01

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon60 Mins
languageIcon English
Free
Must Attempt
Video Solutions

RBI Asst Prelims 2026 : Reasoning Section Test 01

languageIcon English
  • pdpQsnIcon35 Questions
  • pdpsheetsIcon35 Marks
  • timerIcon20 Mins
languageIcon English
Free
Must Attempt
Video Solutions

RBI Office Attendant 2026 Full Mock Test - 01

languageIcon English
  • pdpQsnIcon120 Questions
  • pdpsheetsIcon120 Marks
  • timerIcon90 Mins
languageIcon English
test-prime-package

Access ‘IBPS SO IT Officer’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow