微创软件笔试

本文是一份关于C#编程的笔试题目集,包括选择题和编程题。选择题涵盖.NET、ASP.NET、DataSet操作、面向对象概念、.NET Assembly版本控制等知识点。编程题则要求实现字符串加密算法和斐波那契数列的递归计算。此外,文章还探讨了C#中的委托、事件、CLR编程与MFC的区别、COM与COM+的联系与区别、Win Form的DataGridView与数据库的交互,以及.NET中的常量和只读变量的异同。
摘要由CSDN通过智能技术生成

选择题 (每小题5分,该项满分30)

1. int[][] myArray3=new int[3][]{new int[3]{5,6,2}, new int[5]{6,9,7,8,3}, new int[2]{3,2}};, my Array3[2][2]的值是多少? D   

A. 9      B. 2       C . 6       D. 越界

 

2. ASP.NET中,对于Command对象的ExecuteNonQuery()方法和ExecuteReader(), 下面叙述错误的是  C    

A.      insertupdatedelete等操作的SQL语句主要由ExecuteNonQuery()方法执行

B.      ExecuteNonQuery()方法返回执行SQL语句所影响的行数

C.     Select操作的SQL语句只能由ExecuteReader()方法执行

D.     ExecuteReader()方法返回一个Data Reader对象

 

3. Which of the following operations can you NOT perform on an ASP.NET DataSet  H    

E.      A DataSet can be synchronized with Record Set.

F.      A DataSet can be synchronized with the database.

G.     A DataSet can be converted to XML.

H.      You can infer the schema from a DataSet.

 

4. In Object Oriented Programming, how would you describe encapsulation?

(  A    ) 

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.

 

5. How does assembly versioning in .NET prevent DLL Hell? (   B  )

A.      The runtime checks to see that only one version of an assembly is on the machine at any one time.

B.      .NET allows assemblies to specify the name AND the version of any assemblies they need to run.

C.     The compiler offers compile time checking for backward compatibility.

D.     It doesn’t.

 

6.<

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值