Question: problem-solving with algorthm The year is 3023. You are Dr. Susan Calvin, the world's leading robo-psychologist. You are in the room with three robots. One
problem-solving with algorthm
The year is 3023. You are Dr. Susan Calvin, the world's leading robo-psychologist. You are in the room with three robots. One robot is always happy. The second robot is always sad. The third robot is happy half the time you ask him, and sad the other half The robots used to be clearly labelled with a badge that said either "always happy", "always sad" or "half and half". However, you arch-nemesis Dr. Asimov, has stolen into your lab and switched the badges around so that every robot now is guaranteed to have an incorrect badge. You now need to switch the badges back to their correct robot. You can do this by asking each robot "how do you feel?" Design an algorithm that minimises the total number of times you need to ask the question "how do you feel?" What is the minimum number of times you need ask the question in order to solve the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
