免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3295 | 回复: 2
打印 上一主题 下一主题

当面试的时候,遇到这种类型的questionnaire [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-10-26 16:13 |只看该作者 |倒序浏览
当面试的时候,遇到这种类型的questionnaire




Please describe your experience with the Django web framework and/or the Ruby on Rails web framework. *

In the box below, write a function in Ruby or Python that takes a text string as input and returns a data structure that contains each character that appears in the string more than one time, and the number of total times that each such character appears. Assume that this function is going to be called by code written by other programmers. Write this code exactly as you would write it if this were a real work assignment. * Note: You may want to do the actual writing in a code editor or IDE and then just paste the result into the box below.

Reasoning

There are four closed doors in front of you. You know that each door has an animal painted on one side and a plant painted on the other side. The four doors have the following painted on the sides that you can see (one per door): a rose, a pine tree, a fox, and an eagle. You have been told that these doors satisfy the rule "if a door has a flower on its plant side, then it has a bird on its animal side". What is the smallest set of doors that you must check the hidden side of to determine conclusively whether this rule is true or false for these doors? *

    Just the door with the rose.
    Just the door with the eagle.
    Just the doors with the rose and the eagle.
    Just the doors with the rose and the fox.
    Just the doors with the rose, fox and eagle.
    Just the doors with the pine tree and eagle.
    All of the doors.


If studies were to conclusively demonstrate that, in the day prior to committing murder, American murderers watched far more hours of violent television per person than U.S. citizens do on average, then one can conclude from this research that: *

    Watching violent TV makes Americans more violent.
    Before committing murder, American murderers watched more total TV, on average, than non-murderer Americans.
    American murderers prefer watching violent TV shows to watching non-violent TV shows.
    An effective strategy to make a person less likely to commit murder would be to get them to cut back on violent television watching.
    All of the above.
    None of the above.


Suppose that you have an enormous pineapple that is 99% water (by weight). The pineapple weights 100 pounds. If the water content of the pineapple evaporates until it is 98% water (by weight), then approximately how much does the pineapple now weight? *

    99 pounds
    96 pounds
    95 pounds
    60 pounds
    50 pounds
    49 pounds


Your neighbor has two young, genetically unrelated cats named Boots and Mindy that you see often. They look quite similar, but based just on the markings on their fur, you have been able to correctly identify which is which 12 out of the last 14 times you have seen them. You know that Boots is blind, but the last time you saw Mindy she did not have eye problems. You see a cat on your neighbor's porch which, based on the markings on its fur, appears to you to be Mindy. On further inspection, you can tell that it is blind. It is most rational to conclude that: *

    A. The cat is most likely Mindy.
    B. The cat is most likely Boots.
    C. The cat is most likely neither Boots nor Mindy, but rather, a stray cat or a cat belonging to someone else.
    D. The cat is equally likely to be Mindy or Boots.
    There is no reasonable way to decide between A, B, C or D.


Suppose that in a group of people you find that X percent of people in the group have heights that are greater than the average (that is, the mean) height in that group. Which of the following is a true statement about X? *

    X can be any percentage.
    X cannot be bigger than 25%.
    X can be bigger than 25% but cannot be bigger than 50%.
    X can be bigger than 50% but cannot be as high as 99.9%.
    X can be bigger than 99.9% but cannot be equal to 100%.


Suppose that you are at a casino playing roulette. The strategy you are using is to, before each bet, flip a coin to determine whether to place your bet on red or on black (which, according to the rules of the game, should each have a 50% chance of occurring). Suppose that you lose fifty five times in a row (i.e. for fifty five consecutive plays, after you've placed your bet on black the ball then lands on red, and after you've placed your bet on red the ball then lands on black). From this experience, it is most rational to conclude that: *

    Using a coin toss to determine whether to bet on red or black is in general a very bad strategy for playing roulette
    The game is somehow rigged against you and the casino or its employees are cheating you
    You are very likely to win on your next bet if you continue this coin flip based strategy
    The roulette game is broken, but there is no reason to assume that it was broken intentionally
    You were merely very unlucky
    One cannot reasonably conclude which of the above options is more likely


Simone is 30 years of age, unmarried, well-spoken, and very bright. While a student (majoring in philosophy) she was concerned with issues of social justice and prejudice, and also participated in anti-war demonstrations. Which of the following statements is most likely to be true? *

    A. Simone is a baker.
    B. Simone is a baker and is active in the feminism movement.
    C. Simone is a baker and is not active in the feminism movement.
    D. Simone is a baker and an olympic silver medalist.
    There is no good way to decide whether A, B, C or D is the most likely.

论坛徽章:
0
2 [报告]
发表于 2011-10-27 10:35 |只看该作者
谁能翻译

论坛徽章:
0
3 [报告]
发表于 2011-10-28 15:41 |只看该作者
Please describe your experience with the Django web framework and/or the Ruby on Rails web framework. *

一上来就考你框架, 如果rubyer不用rails怎么办
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP