51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3227|回复: 3
打印 上一主题 下一主题

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

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-5-12 21:43:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
今天碰到一到面试题,考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.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2006-5-15 11:13:59 | 只看该作者
c知道 因为如果bc戴相同的颜色 D就会知道,但如果D没有叫 那么说明bc是不同颜色的,c可以看到b的颜色 所以c会叫
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2006-5-15 20:44:21 | 只看该作者
thanks lesley ,当时看到题时脑里,简直蒙了,现在想明白了,无论什么时候都要保持头脑清晰,特别在测试过程中更要如此,这样才是出色的tester.
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2006-5-16 15:24:43 | 只看该作者
不客气! :)
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-26 20:03 , Processed in 0.073578 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表