हिंदी

State TRUE or FALSE for the following case: Stack does not follow LIFO rule. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

State TRUE or FALSE for the following case:

Stack does not follow LIFO rule.

विकल्प

  • True

  • False

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

उत्तर

This statement is False.

Explanation:

A stack is a linear data structure and LIFO (last in, first out) abstract data type. It is an ordered collection of items where a item may be inserted and from where a items may be deleted at one end only. LIFO means the element which inserted last will be deleted first and stack follows LIFO rule.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: Stack - Exercise [पृष्ठ ५२]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×