हिंदी

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

Advertisements
Advertisements

प्रश्न

State TRUE or FALSE for the following case:

PUSH operation may result into underflow condition.

विकल्प

  • True

  • False

MCQ
सत्य या असत्य

उत्तर

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: Stack - Exercise [पृष्ठ ५२]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 12
अध्याय 3 Stack
Exercise | Q 1. c) | पृष्ठ ५२
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×