YAhoo-C#笔试题(参考答案).doc_第1页
YAhoo-C#笔试题(参考答案).doc_第2页
YAhoo-C#笔试题(参考答案).doc_第3页
YAhoo-C#笔试题(参考答案).doc_第4页
YAhoo-C#笔试题(参考答案).doc_第5页
已阅读5页,还剩4页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Question 1. (),21. 2. 3. 4. Question 2. ()?31. ,2. 3. i4. ,Question 3. ()21. 2. 3. 4. Question 4. (),11. 02. 3. 4. Question 5. ()ABC,CBA,11. ABC2. ACB3. BCA4. Question 6. (),?11. 2. 3. 4. Question 7. ()DOS,31. 2. 3. 4. Question 8. ()R(S,D,M),F=SD,DMR21. 1NF2. 2NF3. 3NF4. BCNFQuestion 9. (),E-R,?41. 2. 3. 4. Question 10. (),41. TCP/IP2. ATM3. ISDN4. Question 11. ()31. 2. FDDI3. 4. Question 12. ()21. 2. 3. 4. Question 13. ()TCP/IP,SMTP31. UDP2. IP3. TCP4. 802.2Question 14. ()IEEE802.210BASE-T5,11. 100m2. 185m3. 300m4. 500mQuestion 15. ()100Mbps Fast Ethernet10Mbps Ethernet 11. 2. 3. 4. Question 16. ()Client/Server,middleware11. SQL2. 3. 4. IPQuestion 17. ()ISPInternet,E-mail41. IP2. WWW3. (Password)4. (User Name)(Password)Question 18. ()WWW21. (hypertext)2. (URL, Uniform Resource Locators)3. (hypermedia)4. HTMLQuestion 19. ()21. 2. 3. 4. Question 20. ()31. 2. 3. 4. 0)ATIMQuestion 21. ()ATM21. 1024B2. 53B3. 128B4. 64BQuestion 22. ()TCP/IP-OSI RM41. 2. 3. 4. Question 23. ()41. 2. 3. 4. Question 24. ()21. 2. 3. 4. Question 25. ()1031. 52. 23. 44. 1Question 26. ()21. 2. 3. 4. Question 27. ()11. 2. 3. 4. Question 28. ()11. 2. 3. 4. Question 29. ()11. 2. 3. 4. Question 30. ()12341. 2. 3. 4. Question 31. ()testi10?2public void test(int i)lock(this)if (i10)i-;test(i);1. 2. Question 32. ()31. C+C#2. C+CPPC#3. C# new 4. C#OverrideQuestion 33. ()int myArray3=new int3new int35,6,2,new int56,9,7,8,3,new int23,2;myArray32241. 92. 23. 64. Question 34. ()C#SocketSocket Socket41. Socket2. 3. IP4. Question 35. ()treeView1=new TreeView(),TreeNode node=new TreeNode( )treeView1.Nodes.Add(node) ()21. TreeNode2. int3. string4. TreeViewQuestion 36. ()public delegate int myCallBack(int x); 21. void myCallBack(int x)2. int receive(int num)3. string receive(int x)4. Question 37. ()ASP.NET11. WebC2. Web.EXE3. Web.dll4. Question 38. ()What compiler switch creates an xml file from the xml comments in the files in anassembly?21. /text2. /doc3. /xml4. /helpQuestion 39. ()3public class A private A instance;private A() public static A Instance getif ( A = null )A = new A();return instance;1. Factory2. Abstract Factory3. Singleton4. BuilderQuestion 40. ()class Class1public static int Count = 0;static Class1()Count+;public Class1()Count+;Class1 o1 = new Class1();Class1 o2 = new Class1();Class1.Count(3)1. 12. 23. 34. 4Question 41. ()abstract class BaseClasspublic virtual void MethodA()Console.WriteLine(BaseClass);public virtual void MethodB()class Class1: BaseClasspublic void MethodA()Console.WriteLine(Class1);public override void MethodB()class Class2: Class1new public void MethodB()class MainClasspublic static void Main(string args)Class2 o = new Class2();o.MethodA();:31. BaseClass2. BassClass Class13. Class14. Class1 BassClassQuestion 42. ()1public static void Main(string args)int i = 2000;object o = i;i = 2001;int j =(int) o;Console.WriteLine(i=0,o=1, j=2,i,o,j);1. i=2001,o=2000,j=20002. i=2001,o=2001,j=20013. i=2000,o=2001,j=20004. i=2001,o=2000,j=2001Question 43. ()ASP.NETAllWinWeb50HTTP()141. Global.asaxApplication_ErrorASP.NET2. Web.configapplicationErrorASP.NET3. Global.asaxCustomErrorsHTTP4. Web.configCustomErrorsHTTPQuestion 44. ()1public abstract class Apublic A()Console.WriteLine(A);public virtual void Fun()Console.WriteLine(A.Fun();public class B: Apublic B()Console.WriteLine(B);public new void Fun()Console.WriteLine(B.Fun();public static void Main()A a = new B();a. Fun();1. A B A.Fun()2. A B B.Fun()3. B A A.Fun()4. B A B.Fun()Question 45. ()Which of these string definitions will prevent escaping on backslashes in C#?*31. string s = #n Test string;2. string s = n Test string;3. string s = n Test string;4. string s = n Test string;Question 46. ()Which of the following operations can you NOT perform on an ADO.NET DataSet?41. A DataSet can be synchronised with a RecordSet.2. A DataSet can be synchronised with the database.3. A DataSet can be converted to XML.4. You can infer the schema from a DataSetQuestion 47. ()In Object Oriented Programming, how would you describe encapsulation?41. The conversion of one type of object to another.2. The runtime resolution of method calls.3. The exposition of data.4. The separation of interface and implementation.Question 48. ()How does assembly versioning in .NET prevent DLL Hell?21. The runtime checks to see that only one version of an assembly is on the machine atany one time.2. .NET allows assemblies to specify the name AND the version of any assemblies theyneed to run.3. The compiler offers compile time checking for backward compatibility.4. It doesnt.Question 49. ()1: bool isEmpty = (str.Length = 0);2: bool isEmpty = (str = String.Empty);3: bool isEmpty = (str = );11. 12. 23. 3Question 50.

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论