数据结构与算法试卷B.doc

  1. 1、本文档共6页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
数据结构与算法试卷B数据结构与算法试卷B

诚信应考,考试作弊将带来严重后果! 华南理工大学期末考试 《 Data Structure and Algorithms 》试卷B 注意事项:1. 考前请将密封线内填写清楚; 2. 所有答案请直接答在试卷上; 3.考试形式:闭卷; 4. 本试卷共十大题,满分100分,考试时间120分钟。 题 号 一 二 三 四 五 六 七 八 九 十 总分 得 分 评卷人 1. Select the correct choice. (20 scores, each 2 scores) (3) If a data element requires 6 bytes and a pointer requires 3 bytes, then a standard array representation will be more space efficient than a linked list representation when the fraction of non-null elements is more than about: ( D ) (A) 1/3 (B) 1/2 (C) 3/4 (D) 2/3 (5) We use the parent pointer representation for general trees to solve ( C ) problem? (A) Shortest paths (B) General tree traversal (C) Determining if two nodes are in the same tree (D) Exact-match query (1) An algorithm must be or do all of the following EXCEPT: ( C ) (A) Correct (B) No ambiguous (C) General steps (D) terminate (2) Pick the growth rate that corresponds to the most efficient algorithm as n gets large: ( A ) (A) 100n3logn (B) n4 (C) n! (D) 2n (4) Which statement is not correct among the following four: ( A ) The number of empty sub-trees in a non-empty binary tree is one less than the number of nodes in the tree. The Mergesort is a stable sorting algorithm. A general tree can be transferred to a binary tree with the root having only left child. A sector is the smallest unit of allocation for a record, so all records occupy a multiple of the sector size. (6) The most effective way to reduce the time required by a disk-based program is to: ( B ) (A) Improve the basic operations. (B) Minimize the number of disk accesses. (C) Sorting the data of file. (D) Reduce main memory use. (7) In the following sorting algorithms, which is the best one to find the first 10 biggest elements in the 1000 unsorted elements? ( D ) (A) Insert sort. (B) Shell sort. (

文档评论(0)

yyanrlund + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档