三泰电子系统分析师笔试题_第1页
三泰电子系统分析师笔试题_第2页
三泰电子系统分析师笔试题_第3页
三泰电子系统分析师笔试题_第4页
三泰电子系统分析师笔试题_第5页
已阅读5页,还剩12页未读 继续免费阅读

下载本文档

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

文档简介

三泰电子系统分析师笔试题 选择题 1:关于asp.中的代码隐藏文件的描述正确的是: a.web窗体页的程序的逻辑由代码组成,这些代码的创建用于与窗体交互。编程逻辑唯一与用户界面不同的文件中。该文件称作为“代码隐藏”文件,如果用c#创建,该文件 b.项目中所有web窗体页的代码隐藏文件都被编译成.exe文件 c.项目中所有的web窗体页的代码隐藏文件都被编译成项目动态链接库(.dll)文件 d.以上都不正确 2:在下述选项时,没有构成死循环的程序是 i=100 while (1) i=i%100+1; if (i100) break; b.for (;); k=1000; do +k; while(k=10000); s=36; while (s);s; 3:in object oriented programming, how would you describe encapsulation? a.the conversion of one type of object to another. b.the runtime resolution of method calls. c.the exposition of data. d.the separation of interface and implementation. 4:设有变量说明语句int a=1,b=0; 则执行以下程序段的输出结果为( )。 switch (a) case 1: switch (b) case 0:printf(0);break; case 1:printf(1);break; case 2:printf(2);break; printf( ); a.0 b.02 c.012 d.有语法错误 5:abstract class baseclass public virtual void methoda() console.writeline(baseclass); public virtual void methodb() class class1: baseclass public void methoda() console.writeline(class1); public override void methodb() class class2: class1 new public void methodb() class mainclass public static void main(string args) class2 o = new class2(); o.methoda(); 请问,此程序输出结果是: a.baseclass b.bassclass class1 c.class1 d.class1 bassclass 6:在c#中利用socket进行网络通信编程的一般步骤是:建立socket侦听、( )、利用socket接收和发送数据。 a.建立socket连接 b.获得端口号 c.获得ip地址 d.获得主机名 7: 下述程序代码中有语法错误的行是( )。 int i,ia10,ib10; /第一行/ for (i=0;i=9;i+) /第2行/ iai=0; /第3行/ ib=ia; /第4行/ 下述程序代码中有语法错误的行是( )。 int i,ia10,ib10; /第一行/ for (i=0;i=9;i+) /第2行/ iai=0; /第3行/ ib=ia; /第4行/ a.第1行 b.第2行 c.第3行 d.第4行 8:which of the following operations can you not perform on an ado. dataset? a.a dataset can be synchronised with a recordset. b.a dataset can be synchronised with the database. c.a dataset can be converted to xml. d.you can infer the schema from a dataset 9:which of these string definitions will prevent escaping on backslashes in c#? a.string s = #”n test string”; b.string s = “n test string”; c.string s = ”n test string”; d.string s = “n test string”; 10:int myarray3=new int3new int35,6,2,new int56,9,7,8,3,new int23,2; myarray322的值是: a.9 b.2 c.6 d.越界 11:在软件生命周期中,下列哪个说法是不准确的? a.软件生命周期分为计划、开发和运行三个阶段 b.在计划阶段要进行问题焉醛和需求分析 c.在开发后期要进行编写代码和软件测试 d.在运行阶段主要是进行软件维护 12:声明一个委托public delegate int mycallback(int x); 则用该委托产生的回调方法的原型应该是 a.void mycallback(int x) receive(int num) c.string receive(int x) d.不确定的 13:class class1 public static int count = 0; static class1() count+; public class1() count+; class1 o1 = new class1(); class1 o2 = new class1(); 请问,class1.count的值是多少? a.1 b.2 c.3 d.4 14:public static void main(string args) int i = 2000; object o = i; i = xx; int j =(int) o; console.writeline(i=0,o=1, j=2,i,o,j); a.i=xx,o=2000,j=2000 b.i=xx,o=xx,j=xx c.i=2000,o=xx,j=2000 d.i=xx,o=2000,j=xx 15:假定a和b为int型变量,则执行下述语句组后,b的值为 a=1; b=10; do b-=a; a+; while (b0); a.9 b.-2 c.-1 d.8 简答题 16:override与重载的区别。 17:为什么不应该在.中使用out参数?它究竟好不好? 18:双向链表的删除结点 。 19:解释request.validateinput()的重要性? 20:solve this cryptic equation, realizing of course that values for m and e could be interchanged. no leading zeros are allowed. dot - google = dot 21:特性能够放到某个方法的参数

温馨提示

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

评论

0/150

提交评论