一 选择题 (每小题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. insert、update、delete等操作的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.<