選擇題
1: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
2:軟件生命周期的瀑布模型把軟件項目分為3個階段、8個子階段,以下哪一個是正常的開發(fā)順序?
A.計劃階段、開發(fā)階段、運行階段
B.設計階段、開發(fā)階段、編碼階段
C.設計階段、編碼階段、維護階段
D.計劃階段、編碼階段、測試階段
3:What compiler switch creates an xml file from the xml comments in the files in an assembly?
A./text
B./doc
C./xml
D./help
4:int[][] myArray3=new int[3][]{new int[3]{5,6,2},new int[5]{6,9,7,8,3},new int{3,2}}; myArray3的值是:
A.9
B.2
C.6
D.越界
5:如果設treeView1=new TreeView(),TreeNode node=new TreeNode("根結點" ),則treeView1.Nodes.Add(node)返回的是一個 ()類型的值。
A.TreeNode
B.int
C.string
D.TreeView
6:以下描述錯誤的是:
A.在C++中支持抽象類而在C#中不支持抽象類。
B.C++中可在頭文件中聲明類的成員而在CPP文件中定義類的成員,在C#中沒有頭文件并且在同一處聲明和定義類的成員。
C.在C#中可使用 new 修飾符顯式隱藏從基類繼承的成員。
D.在C#中要在派生類中重新定義基類的虛函數必須在前面加Override。
7:設有變量說明語句int a=1,b=0;
則執(zhí)行以下程序段的輸出結果為( )。
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.有語法錯誤
8:在下述選項時,沒有構成死循環(huán)的程序是
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;
9:聲明一個委托public delegate int myCallBack(int x); 則用該委托產生的回調方法的原型應該是
A.void myCallBack(int x)
B.int receive(int num)
C.string receive(int x)
D.不確定的
10: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
2020年河北新聞網兩學一做
時間:2023-09-18 07:0:242020年河北新聞網兩學一做
時間:2023-09-15 11:0:59兩學一做學習教育知
時間:2023-09-21 06:0:302020年開展兩學一做學習教
時間:2023-09-19 21:0:30
應用開發(fā)工程師選擇筆試題2023-09-16 05:49:37
人事助理筆試題目2023-09-17 13:56:53
陜西國際商貿學院在重慶高考專業(yè)招生計劃(人數+代碼)2025-05-22 10:38:12
安徽建筑大學和新余學院哪個好 分數線排名對比2025-05-22 10:36:54
襄陽職業(yè)技術學院廣西錄取分數線及招生人數 附-2020最低位次排名2025-05-22 10:35:29
長江大學和新疆師范大學哪個好 分數線排名對比2025-05-22 10:34:16
錦州師范高等?茖W校在遼寧高考專業(yè)招生計劃(人數+代碼)2025-05-22 10:32:49
山東高考排名在17550的考生能報什么大學(原創(chuàng))2025-05-22 10:31:33
廣州華立學院的英語專業(yè)分數線(附2020-最低分排名怎么樣)2025-05-22 10:30:14
蘭州石化職業(yè)技術大學的理化測試與質檢技術專業(yè)分數線(附2020-最低分排名怎么樣)2025-05-22 10:29:06
泉州師范學院和亳州學院哪個好 分數線排名對比2025-05-22 10:27:53
貴州醫(yī)科大學在江西高考專業(yè)招生計劃(人數+代碼)2025-05-22 10:26:23
東莞城市學院和西安工商學院哪個好 分數線排名對比2025-05-22 10:24:51
山東海事職業(yè)學院的水路運輸安全管理專業(yè)分數線(附2020-最低分排名怎么樣)2025-05-22 10:23:44 


