PRASHNIKAप्रश्निका
‹ Back to the paper

Write the program described below.

Name the entity used in the above data structure arrangement.

Computer Science20181 markShort answer

Answer

Answer

AI
The entity used is a Stack, which works on the LIFO (Last In First Out) principle - names are added and removed only from the same end (the top), so the last name pushed in is the first one popped out.
Data structures

From ISC 2018 Computer Science Paper 1, question 11(b).