हिंदी

Evaluation the following Postfix Expression: False, Not, True, And, True, False, Or, And

Advertisements
Advertisements

प्रश्न

Evaluation the following Postfix Expression:

False, Not, True, And, True, False, Or, And

मूल्यांकन
Advertisements

उत्तर

Stack evaluation:

  • Not False = True
  • True And True = True
  • True Or False = True
  • True And True = True

Final answer: True

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Stacks & Queues in list - EXERCISE [पृष्ठ १२३]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
अध्याय 6 Stacks & Queues in list
EXERCISE | Q 11. c) | पृष्ठ १२३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×