As a renowned Event Organizer, you have been advising your clients to buy soft drinks from vending machines. Your clients can only pay for their purchases by inserting coins into the vending machines. Using pseudo code, outline the algorithm for paying for these purchases. Explain your pseudo code.

Fundamentals of Information Systems
9th Edition
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter7: Knowledge Management And Specialized Information Systems
Section: Chapter Questions
Problem 1.1CS
icon
Related questions
Question

Question 4 (a)
(i) As a renowned Event Organizer, you have been advising your clients to buy soft drinks from vending machines. Your clients can only pay for their purchases by inserting coins into the vending machines. Using pseudo code, outline the algorithm for paying for these purchases. Explain your pseudo code.

(ii) You and an electronic engineering student have teamed up to build a robot for detecting coronavirus patients and carriers. You have developed an algorithm for use in building and operating the robot; and you are currently analysing your algorithm. Clearly distinguish between worst-case running time and best-case running time in algorithm analysis; and give relevant practical examples to illustrate your answer.

(iii) AIT has established a Help Desk at its KCC Campus; and the Officer-in-charge is using a Help Desk application to store all requests that come through from members of the University community (comprising Students, Lecturers, Deans, President, Technicians, Cleaners, etc.) and then assign them for processing as resources become available. Discuss the data structure that you would recommend for use in such a help desk application at this university; and use appropriate examples to illustrate your answer.

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Robotics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning