欢迎来到天天文库
浏览记录
ID:42127938
大小:62.50 KB
页数:11页
时间:2019-09-08
《历年诺西笔试题面试题》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、软件研发类:1.Givetheresultstothefollowingoperations(10points)0xABCD^0x0F0F=______;0xA15C
2、0x9753=_____;0xB5&0x13=_____;2.Assumesizeof(int)=4,givetheresultstothefollowingcalculations(10points)IntuwData[50];Sizeof(uwData)=___;Typedefstruct{Char*pData[50];}MemStru;Sizeof(Mem
3、Stru)=____;3.AssumetheCPUislittleendian,what’stheresultofcOut?(10points)inti;charunData[100];shortcOut;for(i=0;i<100;i++){ucData[i]=I;}cOut=*(short*)((int*)unData+1);then,cOut=___;4.判断下列条件下的samples++_____,*samples++____操作可行与否1)int*samples2)constint*samplessamples3)i
4、nt*constsamples4)constint*constsamples5)volatileconstint*constsamples5.countthenumberof“1”inaword(32bits)(10points)Unsignedcharcountones(unsignedintdata){}6.ThefollowingcodescalculatethedotproductofAandBandsavetheresulttoRes.Pleasepointoutthepossibleproblemsofthecod
5、es(10points)intDotProduct(constshort*A,intsizeA,constshort*BintsizeB,constshort*Res){intI;/*loopcounters*/for(i=0;i6、t,constchar*strSrc){}8.ApieceofDSPprogramwanttodothefollowingtasks(10points):1)UsefuncA()toprocess1MbytesdataAandgenrate2MbytesdataB.2)UsefuncB()toprocess1MbytesdataAandgenrate3MbytesdataC.3)MovethedataBgenratedin1)externalmemory.AssumethatTask1needs50nsandTask2need7、s60ns.QDMAisusedinTask3andthetimeneededforQDMAconfiguationandstartupis0.1ns.Datamovingfor2Mbytesneeds40ns.Inordertofinishtheabovetasks,whatstheminimumtimeneededforthisDSPprogram____.9.Uglynumbersarenumberswhoseonlyprimefactorsare2,3or5.Thesequence1,2,3,4,5,6,8,9,10,8、12,15,…showsthefirst11uglynumbers.Byconvention,1isincluded.Writeatimeefficientprogramtofindandprintthe1500’thuglynumber.(20points)软件测试类:1.Answertooneofbelowquestions:a.BrieflydescribetheV-modelandlterativedevelopmentmodel.What’rethebenefitsandshortagesofthem?b.What’9、sthepurposeofsoftwaretesting?Simplydescribetestingphasesfromsoftwareengineeringpointofview?2.Whatistheoutputoffollowingprogram_____#includ
6、t,constchar*strSrc){}8.ApieceofDSPprogramwanttodothefollowingtasks(10points):1)UsefuncA()toprocess1MbytesdataAandgenrate2MbytesdataB.2)UsefuncB()toprocess1MbytesdataAandgenrate3MbytesdataC.3)MovethedataBgenratedin1)externalmemory.AssumethatTask1needs50nsandTask2need
7、s60ns.QDMAisusedinTask3andthetimeneededforQDMAconfiguationandstartupis0.1ns.Datamovingfor2Mbytesneeds40ns.Inordertofinishtheabovetasks,whatstheminimumtimeneededforthisDSPprogram____.9.Uglynumbersarenumberswhoseonlyprimefactorsare2,3or5.Thesequence1,2,3,4,5,6,8,9,10,
8、12,15,…showsthefirst11uglynumbers.Byconvention,1isincluded.Writeatimeefficientprogramtofindandprintthe1500’thuglynumber.(20points)软件测试类:1.Answertooneofbelowquestions:a.BrieflydescribetheV-modelandlterativedevelopmentmodel.What’rethebenefitsandshortagesofthem?b.What’
9、sthepurposeofsoftwaretesting?Simplydescribetestingphasesfromsoftwareengineeringpointofview?2.Whatistheoutputoffollowingprogram_____#includ
此文档下载收益归作者所有