2003数据结构英文试卷(共3页).doc
《2003数据结构英文试卷(共3页).doc》由会员分享,可在线阅读,更多相关《2003数据结构英文试卷(共3页).doc(3页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、精选优质文档-倾情为你奉上2003 Data Structure Test (120 minutes)Class: Student Number: Name: No.12345678TotalMark1.Single-Choice(20 points)(1) The Linked List is designed for conveniently b data item.a. getting b. inserting c. finding d.locating(2) Assume a sequence list as 1,2,3,4,5,6 passes a stack, an impossi
2、ble output sequence list Is c .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) A queue is a structure not implementing b .a. first-in/first-out b. first-in/last-out c. last-in/last-out d. first-come/first-serve(4) Removing the data item at index i from a sequential list with n items, d i
3、tems need to be shifted left one position.a. n-i b. n-i+1 c. i d. n-i-1 (5) There is an algorithm with inserting an item to a ordered SeqList and still keeping the SeqList ordered. The computational efficiency of this inserting algorithm is c .a. O(log2n) b. O(1) c. O(n) d.(n2)(6) The addresses whic
4、h store Linked List d .a. must be sequential b. must be partly sequential c. must be no sequential d. can be sequential or discontiguous(7) According the definition of Binary Tree, there will be b different Binary Trees with 5 nodes.a. 6 b. 5 c. 4 d. 3(8) In the following 4 Binary Trees, c is not th
5、e complete Binary Tree. a b c d(9) A Binary Tree will have a nodes on its level i at most.a.2i b. 2i c.2i+1 d.2i-1(10) If the Binary Tree T2 is transformed from the Tree T1, then the postorder of T1 is the b of T2. a. preorder b. inorder c. postorder d. level order(11) In the following sorting algor
6、ithm, c is an unstable algorithm.a. the insertion sort b. the bubble sort c. quicksort d. mergesort(12) Assume there is a ordered list consisting of 100 data items, using binary search to find a special item, the maximum comparisons is d .a. 25 b.1 c. 10 d.7(13) The result from scanning a Binary Sea
7、rch Tree in inorder traversal is in c order.a. descending or ascending b. descending c. ascending d. out of order(14) The d case is worst for quicksort.a. the data which will be sorted is too larger.b. there are many same item in the data which will be sorted .c. the data will be sorted is out of or
8、der d. the data will be sorted is already in a sequential order.(15) In a Binary Tree with n nodes, there is a non-empty pointers.a. n-1 b. n+1 c. 2n-1 d.2n+1(16) In a undirected graph with n vertexs, the maximum edges is b .a. n(n+1)/2 b. n(n-1)/2 c. n(n-1) d.n2(17) The priority queue is a structur
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2003 数据结构 英文 试卷
限制150内