請問兩個logic問題(in English)

看板logic作者 (紅虫)時間19年前 (2004/10/25 16:17), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/5 (看更多)
兩題皆來自<<Discrete Mathematics and its applications) 請高手們指導...orz 1.Each inhabitant of a remote village always tells the truth or always lies. A villager will only give a "yes" or a "no" response to a question a tourist asks. Suppose you are a tourist visiting this area and come to a fork in the road. One branch leads to the ruins you want to visit; the other branch leads deep into the jungle. A villager is standing at the fork in the road. What one question can you ask th villager to determine which branch to take? 2.Steve would like to determine the relative salaries of three coworkers using two facts. First, he knows that if Fred is not the highest paid of the three, then Janice is. Second, he knows that if Janice is not the lowest paid, then Maggie is paid the most. Is it possible to determine the relative salaried of Fred,Maggie, and Janice from what Steve knows? If so,who is paid the most and who the least? Explain your reasoning. -- 座右銘: 每天進步一點點~~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.119.199.40
文章代碼(AID): #11VBQDYH (logic)
文章代碼(AID): #11VBQDYH (logic)