Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 1(v)

1 mark

Computer ScienceISC 2022 Computer Science - Specimen paper (Semester 2), Paper 1Short answerData structures

Answer the following question.

State the principle by which the stack data structure works.

Open in the Stack and queue simulator

Answer

Answer

A stack works on the LIFO (Last In First Out) principle: the element inserted last is the first one to be removed.