Question: Question 1. Identify whether the following applications are suitable to use stack to perform data structure. (Yes / No) A program to evaluate arithmetic expressions
Question
1. Identify whether the following applications are suitable to use stack to perform data structure. (Yes / No)
- A program to evaluate arithmetic expressions according to the specific order of operators.
- A bank simulation of its teller operation to see how waiting times would be affected by adding another teller.
- A program to receive data that are to be saved and processed in the reverse order.
- An address book to be maintained.
- A word processor to have a PF (Program Function) key that causes the preceding command to be redisplayed. Every time the user presses the PF key, the program shows the command that preceded the one currently displayed.
- A dictionary of words used by a spelling checker to be built and maintained.
- A program to keep track of patients as they check into a medical clinic, assigning patients to doctors on a first come first served basis.
- A data structure used to keep track of the return addresses for nested functions while a program is running.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
