目前本站已有 十几万 份求职资料啦!


net软件开发笔试题

10-15 23:59:20 来源:http://www.qz26.com 笔试题目   阅读:8819
导读:选择题1: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 DataSet2:如果设treeView1=new TreeView(),TreeNode node=new TreeNode("根结点" ),则treeView1.Nodes.Add(node)返回的是一个 ()类型的值。A.TreeNodeB.intC.stringD.TreeView3:public static void Main(string[] args){int i = 2000;o
net软件开发笔试题,标签:银行笔试题目,企业笔试题目,http://www.qz26.com

  选择题

  1: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

  2:如果设treeView1=new TreeView(),TreeNode node=new TreeNode("根结点" ),则treeView1.Nodes.Add(node)返回的是一个 ()类型的值。

  A.TreeNode

  B.int

  C.string

  D.TreeView

  3: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

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

  a=1;

  b=10;

  do

  {

  b-=a;

  a++;

  } while (b--<0);

  A.9

  B.-2

  C.-1

  D.8

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

  A.void myCallBack(int x)

  B.int receive(int num)

  C.string receive(int x)

  D.不确定的

  6:在C#中利用Socket进行网络通信编程的一般步骤是:建立Socket侦听、( )、利用Socket接收和发送数据。

  A.建立Socket连接

  B.获得端口号

  C.获得IP地址

  D.获得主机名

  7:设有变量说明语句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**

www.qz26.com

  D.有语法错误

  8:以下的C程序代码片段运行后C和d的值分别是多少

  Int a =1,b =2;

  Int c,d;

  c =(a&b)&&a;

  d =(a&&b)&a;

  A.0,0

  B.0,1

  C.1,0

  D.1,1

  9: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.

  10:如下程序的运行结果是:

  public abstract class A

  {

  public A()

  {

  Console.WriteLine(''A'');

  }

  public virtual void Fun()

  {

  Console.WriteLine("A.Fun()");

  }

  }

  public class B: A

  {

  public B()

  {

  Console.WriteLine(''B'');

  }

  public new void Fun()

  {

  Console.WriteLine("B.Fun()");

  }

  public static void Main()

  {

  A a = new B();

  a.Fun();

  }

  }

  A.A B A.Fun()

  B.A B B.Fun()

  C.B A A.Fun()

  D.B A B.Fun()

  11:Which of these string definitions will prevent escaping on backslashes in C#?

  A.string s = #”n Test string”;

www.qz26.com

  B.string s = “’n Test string”;

  C.string s = @”n Test string”;

[1] [2]  下一页


Tag:笔试题目银行笔试题目,企业笔试题目求职笔试面试 - 笔试题目
【字号: 】 【打印】 【关闭
《net软件开发笔试题》相关文章
最新更新
推荐热门
联系我们 | 网站地图 | 财务资料 | 范文大全 | 求职简历 | 财会考试 | 成功励志
Copyright 二六求职资料网 All Right Reserved.
1 2 3 4 5 6 7 8 9 10