English

State TRUE or FALSE for the following case: PUSH operation may result into underflow condition. - Computer Science (Python)

Advertisements
Advertisements

Question

State TRUE or FALSE for the following case:

PUSH operation may result into underflow condition.

Options

  • True

  • False

MCQ
True or False

Solution

This statement is False.

Explanation:

In push operation, we add a element in a stack and while adding element a stack should not be full otherwise overflow condition will occur. While Underflow condition occurs when we try to pop (delete) an element from a empty stack . Hence PUSH operation never result into underflow condition.

shaalaa.com
  Is there an error in this question or solution?
Chapter 3: Stack - Exercise [Page 52]

APPEARS IN

NCERT Computer Science [English] Class 12
Chapter 3 Stack
Exercise | Q 1. c) | Page 52
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×