欧美在线观看www-欧美在线观看高清一二三区-欧美在线观看网站-欧美在线观看网址-国产高清在线精品免费-国产高清在线精品一区二区

當(dāng)前位置:高考升學(xué)網(wǎng) > 招聘筆試題 > 正文

雅虎2019校招筆試真題(三)

更新:2023-09-22 02:47:58 高考升學(xué)網(wǎng)

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

  1.Web窗體頁的程序的邏輯由代碼組成,這些代碼的創(chuàng)建用于與窗體交互。編程邏輯唯一與用戶界面不同的文

  件中。該文件稱作為“代碼隱藏”文件,如果用C#創(chuàng)建,該文件

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

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

  4.以上都不正確

  Question38.(單選)

  Whatcompilerswitchcreatesanxmlfilefromthexmlcommentsinthefilesinan

  assembly?——2

  1./text2./doc

  3./xml4./help

  Question39.(單選)

  下面的代碼實(shí)現(xiàn)了設(shè)計(jì)模式中的什么模式——3

  publicclassA{

  privateAinstance;

  privateA(){

  }

  publicstaticAInstance{

  get

  {

  if(A==null)

  A=newA();

  returninstance;

  }

  }

  }

  1.Factory

  3.Singleton

  2.AbstractFactory

  4.Builder

  Question40.(單選)

  classClass1

  {

  publicstaticintCount=0;

  staticClass1()

  {

  Count++;

  }

  publicClass1()

  {

  Count++;

  }

  }

  Class1o1=newClass1();

  Class1o2=newClass1();

  請問,Class1.Count的值是多少?(3)

  1.1

  2.2

  3.3

  4.4

  Question41.(單選)

  abstractclassBaseClass

  {

  publicvirtualvoidMethodA()

  {

  Console.WriteLine("BaseClass");

  }

  publicvirtualvoidMethodB()

  {

  }

  }

  classClass1:BaseClass

  {

  publicvoidMethodA()

  {

  Console.WriteLine("Class1");

  }

  publicoverridevoidMethodB()

  {

  }

  }

  classClass2:Class1

  {

  newpublicvoidMethodB()

  {

  }

  }

  classMainClass

  {

  publicstaticvoidMain(string[]args)

  {

  Class2o=newClass2();

  o.MethodA();

  }

  }

  請問,此程序輸出結(jié)果是:——3

  1.BaseClass

  2.BassClassClass1

  3.Class1

  4.Class1BassClass

  Question42.(單選)——1

  publicstaticvoidMain(string[]args)

  {

  inti=2000;

  objecto=i;

  i=2001;

  intj=(int)o;

  Console.WriteLine("i={0},o={1},j={2}",i,o,j);

  }

  1.i=2001,o=2000,j=2000

  3.i=2000,o=2001,,j=2000

  2.i=2001,o=2001,,j=2001

  4.i=2001,o=2000,j=2001

  Question43.(多選)

  您要創(chuàng)建ASP.NET應(yīng)用程序用于運(yùn)行AllWin公司內(nèi)部的Web站點(diǎn),這個應(yīng)用程序包含了50個頁面。您想要

  配置這個應(yīng)用程序以便當(dāng)發(fā)生一個HTTP代碼錯誤時它可以顯示一個自定義的錯誤頁面給用戶。您想要花最小

  的代價(jià)完成這些目標(biāo),您應(yīng)該怎么做?(多選)——14

  1.在這個應(yīng)用程序的Global.asax文件中創(chuàng)建一個Application_Error過程去處理ASP.NET代碼錯誤。

  2.在這個應(yīng)用程序的Web.config文件中創(chuàng)建一個applicationError節(jié)去處理ASP.NET代碼錯誤。

  3.在這個應(yīng)用程序的Global.asax文件中創(chuàng)建一個CustomErrors事件去處理HTTP錯誤。

  4.在這個應(yīng)用程序的Web.config文件中創(chuàng)建一個CustomErrors節(jié)去處理HTTP錯誤。

  Question44.(單選)

  如下程序的運(yùn)行結(jié)果是:——1

  publicabstractclassA

  {

  publicA()

  {

  Console.WriteLine(A);

  }

  publicvirtualvoidFun()

  {

  Console.WriteLine("A.Fun()");

  }

  }

  publicclassB:A

  {

  publicB()

  {

  Console.WriteLine(B);

  }

  publicnewvoidFun()

  {

  Console.WriteLine("B.Fun()");

  }

  publicstaticvoidMain()

  {

  Aa=newB();

  a.Fun();

  }

  }

  1.ABA.Fun()

  3.BAA.Fun()

  2.ABB.Fun()

  4.BAB.Fun()

  Question45.(單選)

  WhichofthesestringdefinitionswillpreventescapingonbackslashesinC#?——3

  1.strings=#”nTeststring”;

  2.strings=“’nTeststring”;

  3.strings=@”nTeststring”;

  4.strings=“nTeststring”;

  Question46.(單選)

  WhichofthefollowingoperationscanyouNOTperformonanADO.NETDataSet?——4

  1.ADataSetcanbesynchronisedwithaRecordSet.

  2.ADataSetcanbesynchronisedwiththedatabase.

  3.ADataSetcanbeconvertedtoXML.

  4.YoucaninfertheschemafromaDataSet

  Question47.(單選)

  InObjectOrientedProgramming,howwouldyoudescribeencapsulation?——4

  1.Theconversionofonetypeofobjecttoanother.

  2.Theruntimeresolutionofmethodcalls.

  3.Theexpositionofdata.

  4.Theseparationofinterfaceandimplementation.

  Question48.(單選)

  Howdoesassemblyversioningin.NETpreventDLLHell?——2

  1.Theruntimecheckstoseethatonlyoneversionofanassemblyisonthemachineatanyonetime.

  2..NETallowsassembliestospecifythenameANDtheversionofanyassembliestheyneedtorun.

  3.Thecompilerofferscompiletimecheckingforbackwardcompatibility.

  4.Itdoesn’t.

相關(guān)文章

最新圖文

主站蜘蛛池模板: 小婷的嫩苞在线播放 | 五月四房婷婷 | 欧美视频一区在线观看 | 久久se精品一区二区影院 | 视频黄页在线观看 | 国产一级小视频 | 窝窝社区精品免费视频 | 久久国产麻豆 | 日产精品卡二卡三卡四卡乱码视频 | 麻豆成人免费视频 | 羞羞视频在线观看 | 亚洲成人一区二区 | 亚洲欧美色视频 | 国产精品怕怕怕视频免费 | 亚洲国产91| 男人与女人交配 | 成 人在线观看视频网站 | 欧美亚洲一区二区三区四 | 四虎久久 | 亚洲一区二区三区不卡在线播放 | 免费无遮挡十八女禁污污网站 | 日日摸夜夜摸狠狠摸日日碰夜夜做 | 久青青| 高清视频一区二区 | 久久精品国产在热久久2019 | 日韩一区在线播放 | 国产草 | 免费可以直接观看的毛片 | 2019天天操天天干天天透 | 亚洲第一se情网站 | 亚洲人成网站色7799在线播放 | 毛片一区| 国产成人亚洲综合 | 国产成人毛片 | 欧美成人久久久免费播放 | 传奇影院免费 | 亚洲另类视频在线观看 | 免费一级做a爰片久久毛片 免费一级在线观看 | 精品国产一区二区三区免费看 | 精品一区二区三区的国产在线观看 | 亚洲欧美国产精品专区久久 |