三泰电子系统分析师笔试题

时间:2021-02-10 15:10:17 面试笔试 我要投稿

三泰电子系统分析师笔试题

  选择题

三泰电子系统分析师笔试题

  1:关于asp.net中的代码隐藏文件的描述正确的是:

  a.web窗体页的程序的逻辑由代码组成,这些代码的创建用于与窗体交互。编程逻辑唯一与用户界面不同的文件中。该文件称作为“代码隐藏”文件,如果用c#创建,该文件

  b.项目中所有web窗体页的代码隐藏文件都被编译成.exe文件

  c.项目中所有的web窗体页的代码隐藏文件都被编译成项目动态链接库(.dll)文件

  d.以上都不正确

  2:在下述选项时,没有构成死循环的程序是

  a.int i=100 while (1) { i=i%100+1; if (i>100) break; }

  b.for (;;);

  c.int k=1000; do { ++k; }while(k>=10000);

  d.int 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.**0****2**

  c.**0****1****2**

  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,ia[10],ib[10]; /*第一行*/

  for (i=0;i<=9;i++) /*第2行*/

  ia[i]=0; /*第3行*/

  ib=ia; /*第4行*/

  下述程序代码中有语法错误的'行是( )。

  int i,ia[10],ib[10]; /*第一行*/

  for (i=0;i<=9;i++) /*第2行*/

  ia[i]=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.net 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 int[3][]{new int[3]{5,6,2},new int[5]{6,9,7,8,3},new int[2]{3,2}}; myarray3[2][2]的值是:

  a.9

  b.2

  c.6

  d.越界

  11:在软件生命周期中,下列哪个说法是不准确的?

  a.软件生命周期分为计划、开发和运行三个阶段

  b.在计划阶段要进行问题焉醛和需求分析

  c.在开发后期要进行编写代码和软件测试

  d.在运行阶段主要是进行软件维护

  12:声明一个委托public delegate int mycallback(int x); 则用该委托产生的回调方法的原型应该是

  a.void mycallback(int x)

  b.int 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 = 2001;

  int j =(int) o;

  console.writeline("i={0},o={1}, j={2}",i,o,j);

  }

  a.i=2001,o=2000,j=2000

  b.i=2001,o=2001,,j=2001

  c.i=2000,o=2001,,j=2000

  d.i=2001,o=2000,j=2001

  15:假定a和b为int型变量,则执行下述语句组后,b的值为

  a=1;

  b=10;

  do

  {

  b-=a;

  a++;

  } while (b—<0);

  a.9

  b.-2

  c.-1

  d.8

  简答题

  16:override与重载的区别。

  17:为什么不应该在.net中使用out参数?它究竟好不好?

  18:双向链表的删除结点 。

  19:解释httprequest.validateinput()的重要性?

  20:solve this cryptic equation, realizing of course that values for m and e could be interchanged. no leading zeros are allowed.

  wwwdot - google = dotcom

  21:特性能够放到某个方法的参数上?如果可以,这有什么用?

  22:pid是什么?在做系统的故障排除时如何使用它?

  23:比较两个字符串,用o(n)时间和恒量空间。

  24:请详述在dotnet中类(class)与结构(struct)的异同?

  25:简述 private、 protected、 public、 internal 修饰符的访问权限。

【三泰电子系统分析师笔试题】相关文章:

史泰龙求职的故事03-11

史泰龙的求职经历04-05

史泰龙1850求职故事02-19

先锋商泰笔试面试案例分析03-12

史泰龙1850次求职故事06-27

史泰龙的励志求职故事02-17

关于数据分析师常见的面试问题集锦11-22

史泰龙求职故事是真的吗02-15

名人励志:史泰龙的求职故事03-19

2017笔试各题型答题技巧02-11