Question: Indicate which structure would be a more suitable choice for each of the following applications by marking them as follows: A. Stack B. Queue C.

Indicate which structure would be a more suitable choice for each of the following applications by marking them as follows:

A. Stack

B. Queue

C. Binary search tree

1.

A bank simulation of its teller operation to see how waiting times would be affected by adding another teller.

2.

A program to receive data that is to be saved and processed in the reverse order.

3.

An electronic address book ordered by name.

4.

A dictionary of words used by a spelling checker to be built and maintained.

5.

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.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!