Computer Science and Engineering › Stacks › Question #5751
Single Choice Easy

QWhich of the following is a disadvantage of using a stack?

ID: #5751 Stacks 187 views
Question Info
#5751Q ID
EasyDifficulty
StacksTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A It can only store a limited number of elements ✔ ✖
  • B It is not efficient for searching or sorting elements ✔ ✖
  • C It requires a lot of memory to implement ✔ ✖
  • D It can lead to stack overflow errors if the stack becomes too large ✔ ✖
Correct Answer

Explanation

Answer: d) It can lead to stack overflow errors if the stack becomes too large

Explanation: One potential disadvantage of using a stack is that it can lead to stack overflow errors if the stack becomes too large and exceeds the available memory.

Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue Computer Science and Engineering where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free

Share This Question

Challenge a friend or share with your study group.