亚洲一区亚洲二区亚洲三区,国产成人高清在线,久久久精品成人免费看,999久久久免费精品国产牛牛,青草视频在线观看完整版,狠狠夜色午夜久久综合热91,日韩精品视频在线免费观看

普康數(shù)碼SHL測(cè)評(píng)題

時(shí)間:2018-12-31 12:00:00 資料大全 我要投稿

普康數(shù)碼SHL測(cè)評(píng)題

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

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

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

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

  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ù),

普康數(shù)碼SHL測(cè)評(píng)題

。

  A.建立Socket連接

  B.獲得端口號(hào)

  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)目動(dò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();}}請(qǐng)問,此程序輸出結(jié)果是:

  A.BaseClass

  B.BassClass Class1

  C.Class1

  D.Class1 BassClass

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

1.普康數(shù)碼筆試試題

2.普康數(shù)碼筆試題目

3.普康數(shù)碼科技CE開發(fā)工程師筆試題目

4.分享普康數(shù)碼科技CE開發(fā)工程師筆試題目

5.什么是SHL?SHL筆經(jīng)分享

6.龍華富士康普工筆試題目

7.SHL筆試經(jīng)驗(yàn)詳解

8.SHL筆試經(jīng)驗(yàn)分享