The Challenge of Moral Machines
Wendell Wallach tells us what the basic problems are.
If a train continues on its current course, it will kill a workcrew of five down the track. However, a signalman is standing by a switch that can redirect the train to another branch. Unfortunately, a lone worker will be killed if the train is switched to the new track. If you were the signalman, what would you do? What should a computer or robot capable of switching the train to a different branch do?
You are hiding with friends and neighbors in the cellar of a house, while outside enemy solders search. If they find you, it is certain death for everyone.