मराठी

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

Advertisements
Advertisements

प्रश्न

Evaluation the following Postfix Expression:

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

मूल्यांकन
Advertisements

उत्तर

Stack evaluation:

  • Not False = True
  • True And True = True
  • False Or True = 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. d) | पृष्ठ १२३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×