微软
智力题
1.烧根均匀绳子头烧尾总需1时问烧绳子方法确定半时时间呢?
2.10海盗抢100颗宝石颗样价值连城决定分:
(1)抽签决定号码(1~10)
(2)首先1号提出分配方案然家表决仅超半数意时方案进行分配否扔进海喂鲨鱼
(3)果1号死2号提出分配方案然剩4进行表决仅超半数意时方案进行分配否扔入海喂鲨鱼
(4)类推……
条件:海盗聪明理智做出判断做出选择
问题:第海盗提出样分配方案收益化?
3.什水道盖子圆?
4.中国少辆汽车?
5.工工作7天回报根金条根金条分成相连7段必须天结束时候段金条果允许两次金条弄断工付费?
6.辆火车时15公里速度离开北京直奔广州时辆火车时20公里速度广州开北京果鸟30公里时速度两辆火车时启动北京出发碰辆车相反方返回飞样次两辆火车间回飞直两辆火车相遇请问鸟飞行长距离?
7.两罐子50红色弹球50蓝色弹球机选出罐子机选出弹球放入罐子样出红色弹球选中机会?计划里红球率少?
8.想站镜子前请问什镜子中影左右颠倒颠倒呢?
9.果穷水3公升提捅5公升提捅两提捅形状均匀问准确称出4公升水?
10.桶果冻中黄色绿色红色三种闭眼睛抓取种颜色两抓取少次确定肯定两颜色果冻?
11.连续整数1000组?
12.点出发相型号飞机架飞机装满油绕球飞半周飞机间加油加完油飞机必须回起点问少少架次满足架绕球周
参考答案:
1.两边起烧
2.96010101010
3.口圆
4.
5.分124
6.67北京广州距离
7.100
8.面镜成原理(者眼睛左右长)
9.3先装满倒5里3装满倒进5里5里水倒掉3里剩水倒进5里3装满倒进5里ok
10.次
11.首先1000解连续数均值设x1000必须x整数倍假连续数数偶数x整数x2倍525 2×2×2×5×5×5x2484020062562636164等等连续数数奇数时均值整数1000均值奇数倍1000125行均值125连续80达1252 排剩40200答案均值6254020010004组整数
12.答案5架次般解法分两部分:
(1)直线飞行
1飞机加油1+13+…+1(2n+1)级数发散理飞机足够终架飞机飞穷远然实际架飞机飞行1(2n+1)时间时n 架飞机载满油飞行距离1n架飞机远飞远?兜圈没迎头接应情况问题n架飞机飞远?存极值问题重复飞行两架飞机时架飞机加油时飞回认重复者换句话说离出发点越远飞飞机越少极值条件显然n架飞机带油定重复浪费油越肯定架飞机全程飞行注意全程两字重复极值条件果两架飞机话肯定架架加满油剩油刚回说第二架飞机带油耗3倍出发加油路程三架飞机第三架带油耗5倍出发加油路程n架飞机远飞行距离s
(2)迎头接应加油
架飞机载满油飞行距离12少架飞机飞行距离1?根重复飞行极值条件出远处肯定架飞机飞行样出12处称两边14肯定架飞机飞行面公式知道边少需两架飞机支持(13+15)2>14(左边2架飞机飞行距离12)点点剩余想滑轮(中间飞机绳子两边两架飞机棒)话滑动点距离说加油点定距离变动(容易算出架飞机加油点加油数量等等)
数学篇
1.1000位数什?
2.F(n) 1 n>8 n Drink 1 2 3 4 5
烟:PMDHBMPR混> Tobacco 1 2 3 4 5
宠物:狗鸟马猫鱼> Pet 1 2 3 4 5
然:
(9)>N1挪威
(14)>C2蓝
(4)>C3绿C4白(8)(5)矛盾C4绿C5白
剩红黄C1C3
(1)>C3红N3英国C1黄
(8)>D3牛奶
(5)>D4咖啡
(7)>T1DH
(11)>P2马
:
挪威 ? 英国 ? ?
黄 蓝 红 绿 白
? ? 牛奶 咖啡 ?
DH ? ? ? ?
? 马 ? ? ?
(12)>啤酒D2D5BMT2T5>D1矿泉水
(3)>茶D2D5丹麦N2N5
(15)>T2混合烟>BMT5
剩啤酒D5茶T2>丹麦D2
然:
挪威 丹麦 英国 ? ?
黄 蓝 红 绿 白
矿泉水 茶 牛奶 咖啡 啤酒
DH 混合烟 ? ? BM
? 马 ? ? ?
(13)>德国N4PRT4
瑞典N5PMT3
(2)>狗P5
(6)>鸟P3
(10)>猫P1
:
挪威 丹麦 英国 德国 瑞典
黄 蓝 红 绿 白
矿泉水 茶 牛奶 咖啡 啤酒
DH 混合烟 PM PR BM
猫 马 鸟 ? 狗
剩鱼德国养
2.
请仅笔画四根直线图9点全部连接
3.批编号1~100全部开关(开)灯进行操作:
1倍数反方拨次开关2倍数反方拨次开关3倍数反方拨次开关……
问:关熄状态灯编号
微软招聘总理助理三道面试题
1.某手机厂家设计失误造成电池寿命原设计寿命短半(放电时间)解决方案更换电池50元购买该厂家新手机折换券请已购买户写信告诉解决方案
2.高层领导参观某博物馆时博物馆馆员王块明代城砖作纪念国家规定博物馆收藏品变私博物馆馆长需写信位领导城砖取回?
3.王姐工作失误2万元笔记电脑12万元错卖李先生王姐理应该写信李先生钱回?
英文面试题目
1 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
2 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 coffeemachine for an automobile
3 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 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 dowhat 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
微软亚洲技术支持中心面试题目
1.进程线程差
2.Heapstack差
3.Windows存理?
4.介绍NetNet安全性
5.客户端访问Net组件实现Web Service?
6.CC++编译器中虚表完成?
7.谈谈COM线程模型然讨进程外组件差
8.谈谈IA32分页机制
9.两变量找出带环单链表中什方出现环?
10.IA32中少种办法户态跳核态?
11.果想程序实例运行运行两winamp样开窗口样实现?
12.截取键盘响应a’变成b’?
13.ApartmentCOM中什?什引入?
14.存储程什?什?什优点?
15.Template什特点?什时候?
16.谈谈Windows DNA结构特点优点
微软研究院笔试题目
1.#include
#include
class CBuffer
{
char * m_pBuffer
int m_size
publc
CBuffer()
{
m_pBufferNULL
}
~CBuffer()
{
Free()
}
void Allocte(int size)
{
m_sizesize
m_pBuffer new char[size]
}
private
void Free()
{
if(m_pBufferNULL)
{
删 m_pBuffer
m_pBufferNULL
}
}
public
void SaveString(const char* pText) const
{
strcpy(m_pBuffer pText)
char* GetBuffer() const
{
return m_pBuffer
}
}
void main (int argc char* argv[])
{
cBuffer buffer1
buffer1SaveString(Microsoft)
printf(buffer1GetBuffer())
}
}
找出Allocate SaveString main错误
2.印Welcome MSR Asia
#include
#include
char * GetName (void)
{
To return MSR Asia String
char name[]MSR Asia
return name
}
void main(int argc char* argv[])
{
char name[32]
Fill in zeros into name
for(int i0iFuncA()
pa>FuncB()
pa2>FuncA()
pa2>FuncB()
删 pa2
}
What is the output of the above program
4.#include
#include
int FindSubString(char* pch)
{
int count0
char* p1pch
while(*p1’)
{
if(*p1p1[1]1)
{
p1++
count++
}
else
{
break
}
}
int count2count
while(*p1’)
{
if(*p1p1[1]+1)
{
p1++
count2
}
else
{
break
}
if(count20)
return count
return 0
}
void ModifyString(char* pText)
{
char* p1pText
char* p2p1
while(*p1’)
{
int countFindSubString(p1)
if(count>0)
{
*p2++*p1
sprintf(p2 I count)
while(*p2 ’)
{
p2++
}
p1+count+count+1
}
else
{
*p2++*p1++
}
}
}
void main(void)
{
char text[32]XYBCDCBABABA
ModifyString(text)
printf(text)
}
In the main() function after ModifyString(text) is called what’s the value of text’
微创笔试题目(微创微软中国合资公司)
1.海苏州河遭受年工业污染直条臭水沟海市mopcom决心清理苏州河觉需年河水变清?什?
2.找出字符串A中包含字符进行组合例:abccd中abacbcccabd等组合(请CC++编程允许机操作)
3.请估算月球体积
4.常技术网站请举例
5.软件开发程理解
6.海少外籍港澳台士?什?(引mopcom调研机构数)
7.字符串An写英文字母(a ~ z)构成定义char A[n]更少空间表示字符串?请写出char A[n]新储存格式转换函数(请CC++编程允许机操作)
8.哈希表数组定义区优缺点
9.递实现菲波列数列
10.dhtml写页面
11.楼十楼层电梯门口放着颗钻石钻石坐电梯楼十楼层楼电梯门会开次次钻石问样颗? (年应聘微创S姐面试遇道智力题回答:选择前五层楼观察层钻石做心中数五层楼选择选择接前五层楼出现钻石钻石知道道题准确答案许没准确答案考思路说)
12U2合唱团17分钟赶演唱会场途中必需跨座桥四桥端出发帮助达端天色暗手电筒次时两起桥桥时候必须持手电筒手电筒带带回桥两端手电筒丢方式传递四步行速度两行较慢者速度准Bono需花1分钟桥Edge需花2分钟桥Adam需花5分钟桥Larry需花10分钟桥17分钟桥呢?(济学生写文章说时微软面试时碰道题短做出19分钟桥微软讲样结果已错)
13烧根均匀绳时判断半时?(参考答案:两边起烧)
14什水道盖子圆?(复旦学位计算机系教授里听答案:果方长方椭圆聊徒拎起直接扔进道啦圆形盖子嘛避免种情况)
157克2克砝码天物品三次140克盐分成5090克份?
Intel笔试面试题目
智力题
1.天中午法国塞纳河畔勒阿佛艘轮船驶美国纽约时刻纽约艘轮船驶勒阿佛已知横渡次时间7天7夜轮船匀速航行航线轮船距离见
请问天中午勒阿佛开出船会遇艘纽约船?
2.巴赫病1945年8月31日出生年份恰世时某年年龄方问:年出生?
答案:
设世时某年年龄xx方
文档香网(httpswwwxiangdangnet)户传
《香当网》用户分享的内容,不代表《香当网》观点或立场,请自行判断内容的真实性和可靠性!
该内容是文档的文本内容,更好的格式请下载文档