![數(shù)據(jù)結(jié)構(gòu)(全英文)智慧樹知到課后章節(jié)答案2023年下山東科技大學(xué)_第1頁](http://file4.renrendoc.com/view/a04f143935a18d1902bf61cb9dd066e8/a04f143935a18d1902bf61cb9dd066e81.gif)
![數(shù)據(jù)結(jié)構(gòu)(全英文)智慧樹知到課后章節(jié)答案2023年下山東科技大學(xué)_第2頁](http://file4.renrendoc.com/view/a04f143935a18d1902bf61cb9dd066e8/a04f143935a18d1902bf61cb9dd066e82.gif)
![數(shù)據(jù)結(jié)構(gòu)(全英文)智慧樹知到課后章節(jié)答案2023年下山東科技大學(xué)_第3頁](http://file4.renrendoc.com/view/a04f143935a18d1902bf61cb9dd066e8/a04f143935a18d1902bf61cb9dd066e83.gif)
![數(shù)據(jù)結(jié)構(gòu)(全英文)智慧樹知到課后章節(jié)答案2023年下山東科技大學(xué)_第4頁](http://file4.renrendoc.com/view/a04f143935a18d1902bf61cb9dd066e8/a04f143935a18d1902bf61cb9dd066e84.gif)
![數(shù)據(jù)結(jié)構(gòu)(全英文)智慧樹知到課后章節(jié)答案2023年下山東科技大學(xué)_第5頁](http://file4.renrendoc.com/view/a04f143935a18d1902bf61cb9dd066e8/a04f143935a18d1902bf61cb9dd066e85.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
數(shù)據(jù)結(jié)構(gòu)(全英文)智慧樹知到課后章節(jié)答案2023年下山東科技大學(xué)山東科技大學(xué)
第一章測(cè)試
Thealgorithmandflowchartcanhelpusto
A:Toknowthememorycapacity
B:Tostorethedata
C:Specifytheproblemcompletelyandclearly
D:Identifythedatatypeofavariable
答案:Specifytheproblemcompletelyandclearly
Therhombusordiamondshapeinflowchartingdenotes
A:Initialization
B:Input
C:Decision
D:Output
答案:Decision
Whichofthefollowingisnotanadvantageofaflowchart?
A:Efficientcoding
B:Improperdocumentation
C:Systematictesting
D:Bettercommunication
答案:Improperdocumentation
Theflowchartsymbolsusedforstartandstopoperationsarecalledas_______.
A:decision
B:terminals
C:connectorsD:processing
答案:terminals
TheformulaFn=Fn-1+Fn-2
willproduce
A:FibonacciNumber
B:RamanujanNumber
C:EulerNumber
D:PrimeNumber
答案:FibonacciNumber
Themainmeasuresfortheefficiencyofanalgorithmare
A:Processorandmemory
B:Dataandspace
C:Complexityandcapacity
D:Timeandspace
答案:Timeandspace
WhichoneofthefollowingistheconstanttimecomplexityintermsofBig-Ohnotation
A:O(n2)
B:O(n3)
C:O(n)
D:O(1)
答案:O(1)
Whatisthetimecomplexityofthefollowingcode?
inta=0;
for(i=0;i<n;i++){
for(j=n;j>i;j--){
a=a+i+j;}}
A:O(nlogn)
B:O(n2)
C:O(1)
D:O(n)
答案:O(n2)
Whichoneofthefollowingisanexampleforexponentialtimecomplexity?
A:O(1)
B:O(n)
C:O(n2)
D:O(2n)
答案:O(2n)
Forlargervaluesofn,whichonerepresentstheslowesttime?
A:O(n2)
B:O(n!)
C:O(n)
D:O(2n)
答案:O(n!)
第二章測(cè)試
Deletionofanelementfromthearrayreducesthesizeofarrayby___________.
A:one
B:three
C:zero
D:two
答案:one
Assumingthatintisof4bytes,whatisthesizeofintarr[10];?
A:20B:30C:40D:10
答案:40
Twodimensionalarraysareusefulwhentheelementsbeingprocessedaretobearrangedintheformof___________.
A:Both(a)and(b)
B:columns
C:Noneoftheabove
D:rows
答案:Both(a)and(b)
Inthepolynomial,
A(x)=3x2+2x+4,thedegreeofthispolynomialis
A:3B:0
C:2D:1
答案:2
Inthepolynomial,
A(x)=3x2+2x+4,coefficientoffirsttermis
A:3B:1C:2D:0
答案:3
Amatrixhavingalargernumberofelementswithzerovaluesthanthenumberofnon-zeroelementsissaidtobea_____________.
A:
triangularmatrix
B:
sparsematrix
C:
diagonalmatrix
D:
zeromatrix
答案:
sparsematrix
WhilerepresentingthesparsematrixA(m×n)withtnon-zerotermsin3-tuplesform,thesizeofthematrixbecomes
A:t×n
B:3×t
C:m×n
D:(t+1)×3
答案:(t+1)×3
Consideringasparseofm×nmatrixwithtnon-zeroterms,inFAST_TRANSPOSEalgorithm,thesizeofone-dimensionalarray(SorT)isequalto:
A:n
B:tC:mD:n+t
答案:n
Consideringasparseofm×nmatrixwithtnon-zeroterms,thetimecomplexityofTRANSPOSEalgorithmis:
A:O(nt)
B:O(n*t)
C:O(n-t)
D:O(n+t)
答案:O(n*t)
WhichofthefollowingstatementistrueregardingTRANSPOSEandFAST_TRANSPOSEalgorithms.
A:Noneoftheabove
B:TheTRANSPOSEalgorithmisslowerthanFAST_TRANSPOSE
C:TheTRANSPOSEalgorithmisfasterthanFAST_TRANSPOSED:TimecomplexitiesofTRANSPOSEandFAST_TRANSPOSEaresame
答案:TheTRANSPOSEalgorithmisslowerthanFAST_TRANSPOSE
第三章測(cè)試
Theelementisinsertedfirstandwillberemovedlastin
_____________.
A:
linkedlist
B:
queue
C:
stack
D:
noneoftheabove
答案:
stack
Theexpression1*2^3*4^5*6isevaluatedas(^isforpower,asina^b=ab):
A:
49152
B:
173458
C:
162^30
D:
32^30
答案:
49152
Thedatastructurerequiredtocheckwhetheranexpressioncontainsbalancedparenthesisis?
A:
Array
B:
Stack
C:
Queue
D:
Tree
答案:
Stack
ThepostfixformofA*B+C/Dis?
A:
A*BC+/D
B:
*AB/CD+
C:
ABCD+/*
D:
AB*CD/+
答案:
AB*CD/+
Whichdatastructureisneededtoconvertinfixnotationtopostfixnotation?
A:
Branch
B:
Queue
C:
Tree
D:
Stack
答案:
Stack
Transformthefollowinginfixexpressiontoprefixform.
((C*2)+1)/(A+B)
A:
/+*C21+AB
B:
AB+12C*+/
C:
/*+12CAB+
D:
Noneoftheabove
答案:
/+*C21+AB
Transformthefollowinginfixexpressiontopostfixform.
(A+B)*(C-D)/E
A:
AB+CD*-/E
B:
ABC*CD/-+
C:
AB+CD-*E/
D:
AB*C+D/-
答案:
AB+CD-*E/
Astackisadatastructureinwhichallinsertionsanddeletionsaremaderespectivelyat:
A:
inthemiddle
B:
oneend
C:
boththeends
D:
atanyposition
答案:
oneend
Whichofthefollowingapplicationsmayuseastack?:
A:
Alloftheabove
B:
Aparenthesisbalancingprogram
C:
Syntaxanalyzerforacompiler
D:
Keepingtrackoflocalvariablesatruntime
答案:
Alloftheabove
Whichofthefollowingstatementiscorrect.
A:Apostfixexpressionismerelythereverseoftheprefixexpression
B:
Postfixandprefixexpressionsuseparenthesis
C:
Apostfixexpressionisnotthereverseoftheprefixexpression
D:
Noneoftheabove
答案:
Apostfixexpressionisnotthereverseoftheprefixexpression
第四章測(cè)試
Aqueueisadatastructureinwhichallinsertionsanddeletionsaremaderespectivelyat:
A:
rearandrear
B:
frontandrear
C:
rearandfront
D:
frontandfront
答案:
rearandfront
Thefollowingdatastructureisusedforschedulingofjobsduringbatchprocessingincomputers.
A:
linkedlist
B:
stack
C:
queue
D:
tree
答案:
queue
Inaqueuethedeletionsaretakeplaceat_________.
A:Noneoftheabove
B:front
C:rearD:top
答案:front
Inaqueuetheinsertionsaretakeplaceat_________.
A:rear
B:top
C:front
D:Noneoftheabove
答案:rear
Incircularqueue,thefrontwillalwayspointtooneposition__________fromthefirstelementinthequeue.
A:clockwise
B:right
C:left
D:counterclockwise
答案:counterclockwise
Whichofthefollowingisnotthetypeofqueue.
A:doubleendedqueue
B:circularqueue
C:priorityqueue
D:singleendedqueue
答案:singleendedqueue
Oneoftheadvantageofcircularqueueis_____________.
A:easiercomputations
B:
effectiveuseofmemory
C:
deletingelementsbasedonpriority
D:
Noneoftheabove
答案:
effectiveuseofmemory
Whatisthetimecomplexityofalinearqueuehavingnelements?
A:
O(logn)
B:
O(1)
C:
O(nlogn)
D:
O(n)
答案:
O(n)
Whatisadequeue?
A:Aqueuewithinsert/deletedefinedforfrontendofthequeue
B:Aqueueimplementedwithadoublylinkedlist
C:Aqueuewithinsert/deletedefinedforbothfrontandrearendsofthequeue
D:Aqueueimplementedwithbothsinglyanddoublylinkedlist
答案:Aqueuewithinsert/deletedefinedforbothfrontandrearendsofthequeue
Onedifferencebetweenaqueueandastackis:
A:Stacksusetwoendsforaddinganddeleting,butqueuesuseone.
B:Queuesusetwoendsforaddinganddeleting,butstacksuseone.
C:Queuesrequiredynamicmemory,butstacksdonot.
D:Stacksrequiredynamicmemory,butqueuesdonot.
答案:Queuesusetwoendsforaddinganddeleting,butstacksuseone.
第五章測(cè)試
A
linearlistofdataelementswhereeachelementcallednodeisgivenbymeansofpointeriscalled
A:
nodelist
B:
linkedlist
C:
queue
D:
stack
答案:
linkedlist
Consideranimplementationofunsortedsinglylinkedlist.Supposeithasrepresentationwhichaheadpointeronly.Giventherepresentation,whichofthefollowingoperationcanbeimplementedinO(1)time?(I).Insertionatthefrontofthelinkedlist.(II).Insertionattheendofthelinkedlist.(III).Deletionofthefrontnodeofthelinkedlist.(IV).Deletionofthelastnodeofthelinkedlist.
A:I,II,andIV
B:IandIII
C:I,II,andIII
D:IandII
答案:IandIII
Whatisthetimecomplexitytocountthenumberofelementsinthelinkedlist?
A:O(n)
B:O(logn)
C:O(n2)
D:O(1)
答案:O(n)
InwhichofthefollowinglinkedliststherearenoNULLlinks?
A:
Circularlinkedlist
B:
Doublylinkedlist
C:
Noneoftheabove
D:
Singlylinkedlist
答案:
Circularlinkedlist
Indoublylinkedlists,traversalcanbeperformed?
A:
Inbothdirections
B:
Onlyinreversedirection
C:
None
D:
Onlyinforwarddirection
答案:
Inbothdirections
Whatkindoflistisbesttoanswerquestionssuchas:“Whatistheitematpositionn?”
A:
Singly-linkedlists
B:
Doubly-linkedlists
C:
Noneoftheabove
D:
Listimplementedwithanarray
答案:
Listimplementedwithanarray
Inasinglylinkedlistwhichoperationdependsonthelengthofthelist.
A:
Deletethelastelementofthelist
B:
Interchangethefirsttwoelementsofthelist
C:
Deletethefirstelementofthelist
D:
Addanelementbeforethefirstelementofthelist
答案:
Deletethelastelementofthelist
Thelinkfieldinanodecontains:
A:
dataofcurrentnode
B:
dataofpreviousnode
C:
addressofthenextnode
D:
dataofnextnode
答案:
addressofthenextnode
Linkedlistdatastructureoffersconsiderablesavingin:
A:
Spaceutilization
B:
Spaceutilizationandcomputationaltime
C:
Noneoftheabove
D:
Computationaltime
答案:
Spaceutilizationandcomputationaltime
Alinearlistinwhicheachnodehaspointerstopointtothepredecessorandsuccessorsnodesiscalledas:
A:Linearlinkedlist
B:
Circularlinkedlist
C:
Doubly-linkedlists
D:
Singly-linkedlists
答案:
Doubly-linkedlists
第六章測(cè)試
Torepresenthierarchicalrelationshipbetweenelements,whichdatastructureissuitable?
A:
array
B:tree
C:
queue
D:
stack
答案:tree
Whatisthemaximumnumberchildrenthatabinarytreenodecanhave?
A:3B:0
C:2D:1
答案:2
Theinordertraversaloftreewillyieldasortedlistingofelementsoftreein
A:
Noneoftheabove
B:
Heaps
C:
Binarytrees
D:
Binarysearchtrees
答案:
Binarysearchtrees
Ifwestorethenodesofabinarytreeinanarraywithindexstartingfromzero,therightchildofanodehavingindexncanbeobtainedat:
A:2n+1
B:n+1C:2n+2
D:(n-1)/2
答案:2n+2
WhichofthefollowingtraversaloutputsthedatainsortedorderinaBST?
A:
Inorder
B:
Preorder
C:
Levelorder
D:
Postorder
答案:
Inorder
Toobtainaprefixexpression,whichofthefollowingtraversalsisused?
A:
Postorder
B:
Levelorder
C:
Preorder
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年五年級(jí)期中班主任工作總結(jié)(二篇)
- 液態(tài)化學(xué)品配送協(xié)議書
- 北京市XX場(chǎng)景裝修合同
- 保健食品傭金居間合同模板
- 博物館裝修增項(xiàng)協(xié)議
- 創(chuàng)意設(shè)計(jì)居間工程合同
- 創(chuàng)意園大廈裝修合同樣本
- 梁柱核心區(qū)施工方案
- 八年級(jí)上寒假數(shù)學(xué)試卷
- 蚌埠今日中考數(shù)學(xué)試卷
- 王崧舟:學(xué)習(xí)任務(wù)群與課堂教學(xué)變革 2022版新課程標(biāo)準(zhǔn)解讀解析資料 57
- 招投標(biāo)現(xiàn)場(chǎng)項(xiàng)目經(jīng)理答辯(完整版)資料
- 運(yùn)動(dòng)競(jìng)賽學(xué)課件
- 重大事故隱患整改臺(tái)賬
- 2022年上海市初中畢業(yè)數(shù)學(xué)課程終結(jié)性評(píng)價(jià)指南
- DB15T 2058-2021 分梳綿羊毛標(biāo)準(zhǔn)
- 高考作文備考-議論文對(duì)比論證 課件14張
- 新華師大版七年級(jí)下冊(cè)初中數(shù)學(xué) 7.4 實(shí)踐與探索課時(shí)練(課后作業(yè)設(shè)計(jì))
- 山東省萊陽市望嵐口礦區(qū)頁巖礦
- 《普通生物學(xué)教案》word版
- 安全生產(chǎn)應(yīng)知應(yīng)會(huì)培訓(xùn)課件
評(píng)論
0/150
提交評(píng)論