2009数据结构英文试卷a及答案----new2009数据结构英文试卷a及答案----new2009数据结构英文试卷a及答案----new2009数据结构英文试卷a及答案----new.doc
- 1、本文档共8页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
2009数据结构英文试卷a及答案----new2009数据结构英文试卷a及答案----new2009数据结构英文试卷a及答案----new2009数据结构英文试卷a及答案----new
Final examination
2009 Fall
Data Structure and Algorithm Design
Class: Student Number: Name: Teacher
No. 1 2 3 4 5 6 7 8
9 Total Mark 1.Single-Choice(20 points)
(1) Consider the following definition of a recursive function ff.
int ff( int n )
{ if( n == 0 ) return 1;
return 2 * ff( n - 1 );
}
If n 0, what is returned by ff( n )?
(a) log2 n (b) n2 (c) 2n (d) 2 * n
(2) An input into a stack is like 1,2,3,4,5,6. Which output is impossible? .
a. 2,4,3,5,1,6 b.3,2,5,6,4,1 c.1,5,4,6,2,3 d.4,5,3,6,2,1
(3) Which of the following data structures uses a Last-in, First-out policy for element insertion and removal?
(a) Stack (b) Tree (c) Hash table (d) Queue
(4) If deleting the ith key from a contiguous list with n keys, keys need to be shifted left one position.
a. n-i b. n-i+1 c. i d. n-i-1
(5) Sorting a key sequence(28,84,24,47,18,30,71,35,23), its status is changed as follows.
23,18,24,28,47,30,71,35,84
18,23,24,28,35,30,47,71,84
18,23,24,28,30,35,47,71,84
The sorting method is called
(a).select sorting (b).Shell sorting
(c).merge sorting (d).quick sorting
(6) The number of keyword in every node except root in a B- tree of order 5 is _ _ at least
a. 1 b. 2 c. 3 d. 4
(7) When sorting a record sequence with multiple keys using Least Significant Digit method, the sorting algorithm used for every digit except the least significant digit .
a. must be stable b. must be unstable c. can be either stable or unstable
(8) In the following four Binary Trees, is not a complete Binary Tree.
a b c d
(9) The maximum number of nodes on level i of a binary tree is .
a.2i-1 b. 2i c.2i d.2i-1
(10) If the Binary Tree T2 is transformed from th
您可能关注的文档
- 霍州煤电“双三十条”霍煤电“双三十条”.doc
- 青少年活动中心职工奖惩理制度青少年活动中心职工奖惩管理制度.doc
- 青岛版五年级数学下册通说课稿青岛版五年级数学下册通分说课稿.doc
- 非晶合金变压器非晶合金压器.docx
- 面试(最新版)2016教版小学数学总目录面试(最新版)2016人教版小学数学总目录.docx
- 顺丰swot分析顺丰sot分析.docx
- 餐厅收银操作流程3.1餐厅收银操作流程3.14.doc
- 餐厅服务员实践报告餐厅务员实践报告.doc
- 饶平县人民医院现有基本品目录饶平县人民医院现有基本药品目录.doc
- 驾驶员实行岗位培训及考奖惩制度文档驾驶员实行岗位培训及考核奖惩制度文档.doc
- 2024-2025学年小学数学北师大版三年级上册教学设计合集.docx
- 2024-2025学年小学英语冀教版(一起)二年级上册教学设计合集.docx
- 2024-2025学年小学科学冀人版(2017)一年级下册教学设计合集.docx
- 《高校思政课实践教学基地建设中的学生思想政治素质提升路径研究》教学研究课题报告.docx
- 小学初中高中阶段特殊家庭学生心理危机干预策略比较研究教学研究课题报告.docx
- 高中语文课堂互动式教学的作文写作技巧与评价体系构建教学研究课题报告.docx
- 气象科普绘本在小学课堂中的互动教学模式研究教学研究课题报告.docx
- 2024-2025学年高中物理教科版(2019)必修第三册教学设计合集.docx
- 初中数学几何教学中提升空间想象力的策略研究教学研究课题报告.docx
- 2024-2025学年小学英语鲁科版(五四学制)(三起)(2024)三年级上册教学设计合集.docx
文档评论(0)