मराठी

Assertion (A): A stack is a LIFO structure. Reason (R): Any new element pushed into the stack always gets positioned at the index after the last existing element in the stack. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Assertion (A): A stack is a LIFO structure.

Reason (R): Any new element pushed into the stack always gets positioned at the index after the last existing element in the stack.

पर्याय

  • Both (A) and (R) are true and (R) is the correct explanation for (A).

  • Both (A) and (R) are true and (R) is not the correct explanation for (A).

  • (A) is true, but (R) is false.

  • (A) is false, but (R) is true.

MCQ

उत्तर

Both (A) and (R) are true and (R) is the correct explanation for (A).

Explanation:

Stack employs the Last-In-First-Out methodology.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2022-2023 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×
Our website is made possible by ad-free subscriptions or displaying online advertisements to our visitors.
If you don't like ads you can support us by buying an ad-free subscription or please consider supporting us by disabling your ad blocker. Thank you.