亚洲国产日韩欧美在线a乱码,国产精品路线1路线2路线,亚洲视频一区,精品国产自,www狠狠,国产情侣激情在线视频免费看,亚洲成年网站在线观看

普康數(shù)碼SHL測評題

時(shí)間:2020-12-06 18:04:04 筆試題目 我要投稿

普康數(shù)碼SHL測評題

  1:在軟件生命周期中,下列哪個(gè)說法是不準(zhǔn)確的?

  A.軟件生命周期分為計(jì)劃、開發(fā)和運(yùn)行三個(gè)階段

  B.在計(jì)劃階段要進(jìn)行問題焉醛和需求分析

  C.在開發(fā)后期要進(jìn)行編寫代碼和軟件測試

  D.在運(yùn)行階段主要是進(jìn)行軟件維護(hù)

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

  3:在C#中利用Socket進(jìn)行網(wǎng)絡(luò)通信編程的一般步驟是:建立Socket偵聽、( )、利用Socket接收和發(fā)送數(shù)據(jù)。

  A.建立Socket連接

  B.獲得端口號

  C.獲得IP地址

  D.獲得主機(jī)名

  4:設(shè)有變量說明語句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.**0****2**

  C.**0****1****2**

  D.有語法錯(cuò)誤

  5:聲明一個(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.不確定的

  6:關(guān)于ASP.NET中的`代碼隱藏文件的描述正確的是:

  A.Web窗體頁的程序的邏輯由代碼組成,這些代碼的創(chuàng)建用于與窗體交互。編程邏輯唯一與用戶界面不同的文件中。該文件稱作為“代碼隱藏”文件,如果用C#創(chuàng)建,該文件

  B.項(xiàng)目中所有Web窗體頁的代碼隱藏文件都被編譯成.EXE文件

  C.項(xiàng)目中所有的Web窗體頁的代碼隱藏文件都被編譯成項(xiàng)目動態(tài)鏈接庫(.dll)文件

  D.以上都不正確

  7:如果設(shè)treeView1=new TreeView(),TreeNode node=new TreeNode("根結(jié)點(diǎn)" ),則treeView1.Nodes.Add(node)返回的是一個(gè)( )類型的值。

  A.TreeNode

  B.int

  C.string

  D.TreeView

  8:以下的C程序代碼片段運(yùn)行后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: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

  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:如下程序的運(yùn)行結(jié)果是: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()

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

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

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

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

  D.string s = “n Test string”;

  14:假定a和b為int型變量,則執(zhí)行下述語句組后,b的值為a=1;b=10;do{b-=a;a++;} while (b--<0);

  A.9

  B.-2

  C.-1

  D.8

  15: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();}}請問,此程序輸出結(jié)果是:

  A.BaseClass

  B.BassClass Class1

  C.Class1

  D.Class1 BassClass

【普康數(shù)碼SHL測評題】相關(guān)文章:

富士康普工筆試題07-18

創(chuàng)業(yè)能力測評題08-11

西班牙留學(xué)馬德里康普頓斯大學(xué)的介紹07-15

職業(yè)測評12-24

熟普與生普沖泡方法07-11

生普和熟普的沖泡方法07-13

趣味職業(yè)測評12-25

職業(yè)傾向測評06-09

數(shù)碼相機(jī)拍攝技巧10-04

數(shù)碼相機(jī)攝影技巧10-10