世界500强笔试题参考

上传人:s9****2 文档编号:510671466 上传时间:2022-10-05 格式:DOC 页数:33 大小:136.50KB
返回 下载 相关 举报
世界500强笔试题参考_第1页
第1页 / 共33页
世界500强笔试题参考_第2页
第2页 / 共33页
世界500强笔试题参考_第3页
第3页 / 共33页
世界500强笔试题参考_第4页
第4页 / 共33页
世界500强笔试题参考_第5页
第5页 / 共33页
点击查看更多>>
资源描述

《世界500强笔试题参考》由会员分享,可在线阅读,更多相关《世界500强笔试题参考(33页珍藏版)》请在金锄头文库上搜索。

1、 世界500强笔试题参考一、笔试题目TC2.0 环境下的如下程序, 执行结果为 please input: scanf : floating point formats not linked Abnormal program termination 试解决! #include stdio.h #include stdlib.h main() float *a; a = (float *)malloc(10*sizeof(float); printf(Please input: ); scanf(%f, &a0); /* &a0 也不行 */ printf(What you have input

2、 is %f, *a); getch(); free(a); re:招聘考题一道 tc2.0中用scanf输入数组的值不能使用浮点型。 只要一用就会出现题目中的错误。 据说这是一个没有解决的BUG。 要解决这个问题可以使用一个变量充当“中间人”传送数据。 其实方法很多的。 微软试题微软,软件业的巨人,是每个的特别是年轻软件开发人的梦想之地,微软的面试是非常严格的,录取比例大约是60有中选一人,相信可爱的梦想家们肯定急切的想知道怎么样才能幸运的成为1/60! 微软面试试题可分为(1)迷语,(2)算法,(3)应用程序,(4)智力等等, 本文为迷语篇现取部分试题内容: 1.为什么下水道的盖子是圆的?

3、 2.美国有多少辆汽车? 3.你让工人为你工作七天,回报是一根金条。这个金一平分成相连的7段,你必须在每天结束的时候给他们一段金条如果只许你两次把金条弄断,你如果给你的工人付费? 4.有一辆火车以每小时15公里的速度离开洛杉矶直奔纽约,另一辆火车以第小时20公里的速度从纽约开往洛杉矶。如果有一只鸟,以外30公里每小时的速度和两辆火车现时启动,比洛杉叽出发,碰到另辆车后返回,依次在两辆火车来回的飞行,只到两面辆火车相遇,请问,这只小鸟习行了多长距离? 5.你有两个罐子,50个红色弹球,50个蓝色弹球,随机选出一个罐子,随机选取出一个弹球放入罐子,怎么给红色弹球最大的选中机会?在你的计划中,得到红

4、球的准确几率是多少? 6.想象你在镜子前,请问,为什么镜子中的影像可以颠倒左右,却不能颠倒上下? 7.你有四人装药丸的罐子,每个药丸都有一定的重量,被污染的药丸是没被污染的重量+1.只称量一次,如何判断哪个罐子的药被污染了? 8.如果你有无穷多的水,一个3夸脱的和一个5夸脱的提桶,你如何准确称出4夸脱的水? 9.你有一桶果冻,其中有黄色,绿色,红色三种,闭上眼睛选出同样颜色的两个,抓取同种颜色的两个。抓取多少个就可以确定你肯定有两个同一颜色的果冻? 10.将汽车钥匙插入车门,向哪个方向旋转就可以打开车锁? 11.如果要你能去掉50个州的任何一个,那你去掉哪一个,为什么?Riddles * Wh

5、y is a manhole cover round?* How many cars are there in the USA?* Youve got someone working for you for seven days and a gold bar to pay them. The gold bar is segmented into seven connected pieces. You must give them a piece of gold at the end of every day. If you are only allowed to make two breaks

6、 in the gold bar, how do you pay your worker? * One train leaves Los Angeles at 15mph heading for New York. Another train leaves from New York at 20mph heading for Los Angeles on the same track. If a bird, flying at 25mph, leaves from Los Angeles at the same time as the train and flies back and fort

7、h between the two trains until they collide, how far will the bird have traveled?* You have two jars, 50 red marbles and 50 blue marbles. A jar will be picked at random, and then a marble will be picked from the jar. Placing all of the marbles in the jars, how can you maximize the chances of a red m

8、arble being picked? What are the exact odds of getting a red marble using your scheme?* Imagine you are standing in front of a mirror, facing it. Raise your left hand. Raise your right hand. Look at your reflection. When you raise your left hand your reflection raises what appears to be his right ha

9、nd. But when you tilt your head up, your reflection does too, and does not appear to tilt his/her head down. Why is it that the mirror appears to reverse left and right, but not up and down? * You have 4 jars of pills. Each pill is a certain weight, except for contaminated pills contained in one jar

10、, where each pill is weight + 1. How could you tell which jar had the contaminated pills in just one measurement?* If you had an infinite supply of water and a 5 quart and 3 quart pail, how would you measure exactly 4 quarts?* You have a bucket of jelly beans. Some are red, some are blue, and some g

11、reen. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same?* Which way should the key turn in a car door to unlock it?* If you could remove any of the 50 states, which state would it be and why? 数学篇1、1000!有几位数,为什么 2、F(n)=1 n8 n12 F(n)=2 n2

12、 F(n)=3 n=6 F(n)=4 n=other 使用+ - * /和sign(n)函数组合出F(n)函数 sign(n)=0 n=0 sign(n)=-1 n0 3、编一个程序求质数的和例如F(7)=1+3+5+7+11+13+17=58 智力题 只有5分钟,超过5分钟就放弃,因为你绝对不会被微软招聘. 这是微软招聘时的智力测试!超过5分钟,淘汰! 1 烧一根不均匀的绳需用一个小时,如何用它来判断半个小时? 2 。 。 。 请仅用一笔画四根直线,将上图9各点全部连接。 3 对一批编号为1100全部开关朝上(开)的灯进行以下操作: 凡是1的倍数反方向拨一次开关;2的倍数反方向又拨一次开关;

13、3的倍数反方向又拨一次开关。 问:最后为关熄状态的灯的编号。 Applications * How can computer technology be integrated in an elevator system for a hundred story office building?* How do you optimize for availability? How would variation of traffic over a typical work week or floor or time of day affect this?* How would you redesi

14、gn an ATM? * Suppose we wanted to run a microwave oven from the computer. What kind of software would you write to do this?* How would you design a coffee-machine for an automobile.Thinkers * How are M&Ms made? * If you had to learn a new computer language, how would you go about doing it?* If MS told you we were willing to invest $5 million in a start up of your choice, what business would you start? Why? * If you could gather all of the computer manufac

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 资格认证/考试 > 自考

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号