1 / 51
文档名称:

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

格式:doc   大小:162KB   页数:51
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

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

上传人:1136365664 2017/12/25 文件大小:162 KB

下载得到文件列表

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

文档介绍

文档介绍:姓名学号学院专业座位号
( 密封线内不答题)
……………………………………………………密………………………………………………封………………………………………线……………………………………线………………………………………
_____________ ________

诚信应考,考试作弊将带来严重后果!
华南理工大学期末考试
《 Data Structure and Algorithms 》试卷B
注意事项:1. 考前请将密封线内填写清楚;
2. 所有答案请直接答在试卷上;
:闭卷;
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.
(C) Quicksort. (D) H