Programming 板


LINE

这里有一份外国公司的高级工程师面试题 不知道有没有人可以答得出来 1. Explain in detail what is wrong with the following code-block and provide a correct implementation: 解释以下程式码有何错误,并提供正确的写法 private string GetString() { string value = string.Empty; for (int i = 0; i < 85000; i++) value += i.ToString(); return value; } 2. What is the significance of the value 85000 in the code-block above? (hint: 85,000 bytes and Memory Allocation/Garbage Collection) 上题中的 85000 有什麽特别的意义? (提示: 85,000 bytes and Memory Allocation/Garbage Collection ) 3. You have the following ASP.NET code-behind class: 你有以下的 ASP.NET 程式码 public partial class Page1 : Page { private string _value; public Page1() { if (DateTime.Now.Ticks % 10 == 0) _value = "Test"; } ~Page1() { if(_value.Equals("Test")) _value = string.Empty; } } You have found events in the Application event log indicating that the ASP.NET worker process is crashing. You determine the problem to be that in some circumstances, accessing _value throws a NullReferenceException. Why does this crash the ASP.NET worker process instead of showing an error to the end-user? 你发现 Application event log 纪录 ASP.NET 的 process 会出现错误。 你发现问题出在某些情况下 accessing _value throws a NullReferenceException。 为什麽这个ASP.NET 程式在出错时会 crash 而不是向用户显示错误讯息? 4. You have identified that your ASP.NET worker process is consuming large amounts of memory and is not releasing it. How would you identify whether it is a native memory leak or an issue with managed code? If you identified the issue as a problem with managed code, what steps would you take to further isolate the issue? (这题真不知道怎麽翻…) 5. Provide a comparison of XML and JSON including the pros and cons of each and provide ideal uses for both. 提出 XML 与 JSON 的对比,包括双方的优缺点列表。 6. Discuss some common rendering issues with Internet Explorer (version of your choice) and provide some workarounds. Internet Explorer (任何版本) 有哪些呈现上的问题,并提出要如何解决。 7. Provide a comparison of the box model in Internet Explorer 5.5 and Internet Explorer 7.0 提出 Internet Explorer 5.5 与 Internet Explorer 7.0 中的 box model 的比对。 8. As an ASP.NET developer, how to you see Silverlight 2.0 fitting into the development of web applications? 作为一个 ASPNET 的工程师,你对於在网页软体开发中使用 Silverlight 2.0 有什麽看法。 9. Explain why using CSS image replacement techniques (image sprites) has better perceived performance than using individual images. 解释为什麽用 CSS 图片替换技术 (image sprites) 会比用单独的图片有更好的效果。 10. You have the following Go.gif image. The full image dimensions are 75x40px 你有一个 Go.gif 图片档。完整的图片大小为 75x40px http://www.badongo.com/pic/7762055 The HTML for this button is 这个按钮的 HTML 是 <a id="lnkGo" href="#">Go</a> a. Provide a CSS-only implementation of the button with a hover state (the dark blue is the hover state) 提供一个这个按钮的 CSS-only implementation 与 hover state (应该是说滑鼠放上去会变成深蓝色的?) b. Provide an implementation that uses CSS for the initial state but jQuery for the hover state 提供一个使用 CSS 在最初的状态,但是用 jQuery 在 hover state 11. You visited an eCommerce website, and when navigating to a Cannon SD1000 camera, you noticed the URL was http://www.mystore.com/ViewProduct.aspx?productId=10 你去了一个电子商务的网站,当你到 Cannon SD1000 相机的页面时, 发现网址是 http://www.mystore.com/ViewProduct.aspx?productId=10 You have been asked to consult on SEO best practices. What recommendations would you make to the site developer with regards to his URL’s? 你现在是负责做这个公司的谘询工作,你要怎麽建议这个网站的工程师改进他的网址? 12. You visited a website that has a menu composed of images. You noticed that on mouse over of each image, the image flickers. What would you recommend to the webmaster to prevent the flickering? 你去了一个有很多图片组成的menu的网站。 当你把滑鼠放上去的时候,每个图案都会闪烁。 你要怎麽建议网站的工程是针对这个做改进? 13. You are managing a website that displays a (hidden) layer on top of a number of SELECT elements. Some users are complaining that the dropdown list is appearing on top of the layer. Why does this occur and how would you fix it? 你负责管理一个网站。这个网站在一些 SELECT elements 之上有一个 (隐藏的) 层。 一些用户抱怨下拉是菜单出现在这个层之上。为什麽会发生这个情况? 要如何修正? 14. You have an unordered list with 10 elements. The list has an ID of “myList”. Using jQuery, how would you: 你有一个没排序过的 10 个物件的列表。这个列表的 ID 是 “myList” 。使用 jQuery, 你要怎麽 a. Change the fore color of all even list items to red 改变所有表中单数物件的显示颜色为红色 b. Indent the 5th item when the mouse hovers over it 当滑鼠放上的时候, Indent (就是前面空格?) 第五个物件 15. Explain some key differences between using an ASP.NET UpdatePanel versus using either PageMethods or web services to retrieve and populate data. 解释使用 ASP.NET UpdatePanel 及使用 PageMethods 或 web services 来获取及显示数据的主要区别 16. Discuss a new features of ASP.NET 3.5 Service Pack 1. ASP.NET 3.5 Service Pack 1 中有哪些新的功能 17. Discuss in detail a technique, as it relates to web development, that you frequently use and feel would be beneficial to share to a new development team. 解释你在网站开发中较常使用,且觉得有分享给开发团队的价值的技术 --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 72.53.68.197
1F:推 ykjiang:自己的面试自己解 :p 61.230.67.59 11/17 12:10
2F:嘘 MOONRAKER:谴责标题不加上ASP.NET,混淆视听 59.120.168.228 11/17 13:16
3F:→ opman:哈,标题改成 知名大学研究所的期末考 好了. 219.80.141.70 11/18 16:25







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:Soft_Job站内搜寻

TOP