‹ Back to the paper
Question 11(b)
1 mark
Computer ScienceISC 2018 Computer Science Paper 1Short answerData structures
Write the program described below.
Name the entity used in the above data structure arrangement.
Answer
Answer
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.