google搜索 站内搜索                 软件测试门户 | 软件测试培训 | 文章资料精选 | 软件测试论坛 | 测试解决方案 | 软件测试博客 | 测试招聘求职 
打印

[求助] 今天碰到一到面试题,考logic能力的(求答案)

今天碰到一到面试题,考logic能力的(求答案)


今天碰到一到面试题,考logic能力的,如下
Shown above are 4 men buried up to their necks in the ground. They can not move so can only look forward. Between A and B is a brick wall which can not be seen through. They know that between them are 4 hats, 2 x black and 2 x white, but they do not know which colour they are wearing. In order to avoid being shot, one of them must call out to the executioner the colour of their hat. If they get it wrong, everyone will be shot. They are not allowed to talk to each other and have 10 minutes to fathom it out.

After 1 minute:

Q Which one of them calls out ?

Q. Why is he 100% certain of the colour of his hat ?

This is not a trick question.

There are no outside influences nor other ways of communicating. They cannot move and are buried in a straight line. So A & B can only see their respective sides of the brick wall, C can see B and D can see B & C.

TOP

c知道 因为如果bc戴相同的颜色 D就会知道,但如果D没有叫 那么说明bc是不同颜色的,c可以看到b的颜色 所以c会叫

TOP

thanks lesley ,当时看到题时脑里,简直蒙了,现在想明白了,无论什么时候都要保持头脑清晰,特别在测试过程中更要如此,这样才是出色的tester.

TOP

不客气! :)

TOP

 
当前时区 GMT+8, 现在时间是 2008-11-23 21:53Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹