- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
微软2012暑期实习题
微软暑假实习生笔试题2012 Microsoft Intern Hiring Written Test1. Suppose that a Selection Sort of 80 items has completed 32 iterations of the main loop. How many items are now guaranteed to be in their final spot (never to be moved again)?(A) 16 (B) 31 (C) 32 (D) 39 (E) 402. Which Synchronization mechanism(s) is/are used to avoid race conditions among processes/threads in operating systems?(A) Mutex (B) Mailbox (C) Semaphore (D) Local procedure call3. There is a sequence of n numbers 1, 2, 3,.., n and a stack which can keep m numbers at most. Push the n numbers into the stack following the sequence and pop out randomly. Suppose n is 2 and m is 3, the output sequence may be 1, 2 or 2, 1, so we get 2 different sequences. Suppose n is 7 and m is 5, please choose the output sequences of the stack:(A) 1, 2, 3, 4, 5, 6, 7(B) 7, 6, 5, 4, 3, 2, 1(C) 5, 6, 4, 3, 7, 2, 1(D) 1, 7, 6, 5, 4, 3, 2(E) 3, 2, 1, 7, 5, 6, 44. What is the result of binary numberafter multiplying by 0111001 and adding 1101110?(A) 0001 0100 0011 1111微软暑假实习生笔试题(B) 0101 0111 0111 0011(C) 0011 0100 0011 01015. What is output if you compile and execute the following code? void main(){int i = 11;int const *p = i;p++;printf(%d, *p);}(A) 11 (B) 12 (C) Garbage value (D) Compile error (E) None of above6. Which of following C++ code is correct?(A) int f(){int *a = new int(3);return *a;}(B) int *f(){int a[3] = {1, 2, 3};return a;}(C) vectorint f(){vectorint v(3);return v;}(D) void f(int *ret){int a[3] = {1, 2, 3};ret = a;return;}7. Given that the 180-degree rotated image of a 5-digit number is another 5-digit number and the difference between the numbers is 78633, what is the original 5-digit number?(A) 60918 (B) 91086 (C) 18609 (D) 10968 (E) 869018. Which of the following statements are true?(A) We can create a binary tree from given inorder and preorder traversal sequences.(B) We can create a binary tree from given preorder and postorder traversal sequences.(C) For an almost sorted array, insertion sort can be mo
您可能关注的文档
最近下载
- 大家一起数一数(50以内5个一数)幼儿园大班数学PPT课件.pptx VIP
- 2025年中国邮政集团工作人员招聘考试笔试试题(含答案).docx VIP
- 生长素的生理作用21p.ppt VIP
- 应急预案--安装工程事故应急预案.doc VIP
- 工程技术设备管理工程师岗面试真题题库参考答案和答题要点.docx VIP
- 06药品微生物限度检查方法适用性及常见问题分析.pdf VIP
- 药品无菌检查法和微生物计数法培养基适用性检查及分析.pdf VIP
- 2015三峡大学(修改版)水电站课程设计计算书3.pdf VIP
- 水工监测工《变形观测知识》试题(含答案).pdf VIP
- 工程技术设备工程师岗面试真题题库参考答案和答题要点.docx VIP
文档评论(0)