當(dāng)前位置:高考升學(xué)網(wǎng) > 招聘筆試題 > 正文
選擇題
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:軟件生命周期的瀑布模型把軟件項(xiàng)目分為3個(gè)階段、8個(gè)子階段,以下哪一個(gè)是正常的開發(fā)順序?
A.計(jì)劃階段、開發(fā)階段、運(yùn)行階段
B.設(shè)計(jì)階段、開發(fā)階段、編碼階段
C.設(shè)計(jì)階段、編碼階段、維護(hù)階段
D.計(jì)劃階段、編碼階段、測(cè)試階段
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:如果設(shè)treeView1=new TreeView(),TreeNode node=new TreeNode("根結(jié)點(diǎn)" ),則treeView1.Nodes.Add(node)返回的是一個(gè) ()類型的值。
A.TreeNode
B.int
C.string
D.TreeView
6:以下描述錯(cuò)誤的是:
A.在C++中支持抽象類而在C#中不支持抽象類。
B.C++中可在頭文件中聲明類的成員而在CPP文件中定義類的成員,在C#中沒有頭文件并且在同一處聲明和定義類的成員。
C.在C#中可使用 new 修飾符顯式隱藏從基類繼承的成員。
D.在C#中要在派生類中重新定義基類的虛函數(shù)必須在前面加Override。
7:設(shè)有變量說(shuō)明語(yǔ)句int a=1,b=0;
則執(zhí)行以下程序段的輸出結(jié)果為( )。
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.有語(yǔ)法錯(cuò)誤
8:在下述選項(xiàng)時(shí),沒有構(gòu)成死循環(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:聲明一個(gè)委托public delegate int myCallBack(int x); 則用該委托產(chǎn)生的回調(diào)方法的原型應(yīng)該是
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
11: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.
12: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();
}
}
請(qǐng)問,此程序輸出結(jié)果是:
A.BaseClass
B.BassClass Class1
C.Class1
D.Class1 BassClass
13:在軟件生命周期中,下列哪個(gè)說(shuō)法是不準(zhǔn)確的?
A.軟件生命周期分為計(jì)劃、開發(fā)和運(yùn)行三個(gè)階段
2020年河北新聞網(wǎng)兩學(xué)一做
時(shí)間:2023-09-18 07:0:242020年河北新聞網(wǎng)兩學(xué)一做
時(shí)間:2023-09-15 11:0:59兩學(xué)一做學(xué)習(xí)教育知
時(shí)間:2023-09-21 06:0:302020年開展兩學(xué)一做學(xué)習(xí)教
時(shí)間:2023-09-19 21:0:30
萬(wàn)科筆試經(jīng)驗(yàn)2023-09-19 13:28:00
Java工程師筆試題和面試題答案2023-09-15 22:01:53
陜西國(guó)際商貿(mào)學(xué)院在重慶高考專業(yè)招生計(jì)劃(人數(shù)+代碼)2025-05-22 10:38:12
安徽建筑大學(xué)和新余學(xué)院哪個(gè)好 分?jǐn)?shù)線排名對(duì)比2025-05-22 10:36:54
襄陽(yáng)職業(yè)技術(shù)學(xué)院廣西錄取分?jǐn)?shù)線及招生人數(shù) 附-2020最低位次排名2025-05-22 10:35:29
長(zhǎng)江大學(xué)和新疆師范大學(xué)哪個(gè)好 分?jǐn)?shù)線排名對(duì)比2025-05-22 10:34:16
錦州師范高等?茖W(xué)校在遼寧高考專業(yè)招生計(jì)劃(人數(shù)+代碼)2025-05-22 10:32:49
山東高考排名在17550的考生能報(bào)什么大學(xué)(原創(chuàng))2025-05-22 10:31:33
廣州華立學(xué)院的英語(yǔ)專業(yè)分?jǐn)?shù)線(附2020-最低分排名怎么樣)2025-05-22 10:30:14
蘭州石化職業(yè)技術(shù)大學(xué)的理化測(cè)試與質(zhì)檢技術(shù)專業(yè)分?jǐn)?shù)線(附2020-最低分排名怎么樣)2025-05-22 10:29:06
泉州師范學(xué)院和亳州學(xué)院哪個(gè)好 分?jǐn)?shù)線排名對(duì)比2025-05-22 10:27:53
貴州醫(yī)科大學(xué)在江西高考專業(yè)招生計(jì)劃(人數(shù)+代碼)2025-05-22 10:26:23
東莞城市學(xué)院和西安工商學(xué)院哪個(gè)好 分?jǐn)?shù)線排名對(duì)比2025-05-22 10:24:51
山東海事職業(yè)學(xué)院的水路運(yùn)輸安全管理專業(yè)分?jǐn)?shù)線(附2020-最低分排名怎么樣)2025-05-22 10:23:44 


