‹ Back to the paper
Write the program described below.
Name the entity used in the above data structure arrangement.
Answer
Answer
AIThe 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.
From ISC 2018 Computer Science Paper 1, question 11(b).