查看: 1365|回复: 0

微软面试题 [复制链接]

诸葛孔明 (离线)
积分
810467
帖子
1818
发表于 2009-8-27 12:05:20 |显示全部楼层
关键词: 面试 , 微软
想去ms的朋友看看吧:


总经理助理篇

1、某手机厂家由于设计失误,有可能造成电池寿命比原来设计的寿命短一半(
不是冲放电时间),解决方案就是免费更换电池或给50元购买该厂家新手机的折换券。请给所有已购买的用户写信告诉解决方案。
  
2、一高层领导在参观某博物馆时,向博物馆馆员小王要了一块明代的城砖作为
纪念,按国家规定,任何人不得将博物馆收藏品变为私有。博物馆馆长需要如何写信给这位领导,将城砖取回。
  
3、营业员小姐由于工作失误,将2万元的笔记本电脑以1.2万元错卖给李先生,
王小姐的经理怎么写信给李先生试图将钱要回来?
  
曾任微软中国公司总裁唐骏说:“真可惜,我在很多场合都出过这三题,但到目前为
止,还没有一个人能完全答对,有人答对了一题,所以他当上了我的助理。


数学篇

1、1000!有几位数,为什么

2、f(n)=1 n>8 n<12
f(n)=2 n<2
f(n)=3 n=6
f(n)=4 n=other
使用+ - * /和sign(n)函数组合出f(n)函数
sign(n)=0 n=0
sign(n)=-1 n<0
sign(n)=1 n>0

3、编一个程序求质数的和例如f(7)=1+3+5+7+11+13+17=58



英文篇

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 redesign 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 manufacturers in the world together into one room and then tell them one thing that they would be compelled to do, what would it be?

* explain a scenario for testing a salt shaker.

* if you are going to receive an award in 5 years, what is it for and who is
the audience?

* how would you explain how to use microsoft excel to your grandma?

* why is it that when you turn on the hot water in any hotel, for example,
the hot water comes pouring out almost instantaneously?


algorithms

* what’s the difference between a linked list and an array?

* implement an algorithm to sort a linked list. why did you pick the method
you did?

* implement an algorithm to sort an array. why did you pick the method you did?

* implement strstr() (or some other string library function).

* reverse a string. optimize for speed. optimize for space.

* count the number of set bits in a number. now optimize for speed. now
optimize for size.

* how would you find a cycle in a linked list?

* give me an algorithm to shuffle a deck of cards, given that the cards are
stored in an array of ints.


* write a function that takes in a string parameter and checks to see whether or not it is an integer, and if it is then return the integer value.

* write a function to print all of the permutations of a string.

* implement malloc.

* write a function to print the fibonacci numbers.

* write a function to copy two strings, a and b. the last few bytes of string
a overlap the first few bytes of string b.

* how would you print out the data in a binary tree, level by level, starting
at the top?


智力篇

一楼到十楼的每层电梯门口都放着一颗钻石,钻石大小不一。你乘坐电梯从一楼到十
楼,每层楼电梯门都会打开一次,只能拿一次钻石,问怎样才能拿到最大的一颗?
您需要登录后才可以发表评论 登录 | 立即注册

关于我们  -  服务条款  -  使用指南  -  站点地图  -  友情链接  -  联系我们
电子工程网 © 版权所有   京ICP备11013910号 | 京公网安备11010502021702
回顶部