logo

Crowdly

Written 1: Organizing Stores (18 marks) From the Salvation Army website:  S...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Written 1: Organizing Stores (18 marks)

From the Salvation Army website: Salvation Army food banks provide non-perishable and fresh food (when available) to anyone experiencing food shortage. This assistance often starts a conversation around getting more comprehensive support from one our many community programs and services.

A major question is how to decide who gets food first based on issues such as employment or whether they are from the food bank's region. Suppose that there is a group of people queued up for meals and the food bank's manager must decide who to serve first.

a 3 marks) Fill in the blank, this is an example of... Suggested Length: 2-3 Words.

b 10 marks) Suggest and justify an algorithm for this situation. Suggested Length: 2-3 sentences.

c 5 marks) Suppose the problem was changed so that if a user complains during each hour (e.g., 9 AM to 10 AM) they move up to the front of the line. Describe the type of solution (Suggested length: 1 sentence). What are some issues with applying this approach in the real world? (Suggested Length: 2-3 sentences)As in, even if an OS can run this solution properly what would go wrong if it was applied this in this real world situation... 

More questions like this

Want instant access to all verified answers on learn.twu.ca?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!