| 注册
home doc ppt pdf
请输入搜索内容

热门搜索

年终总结个人简历事迹材料租赁合同演讲稿项目管理职场社交

哈尔滨工程大学-考研数据结构真题-12

小***库

贡献于2021-03-02

字数:2673


哈尔滨工程学试卷
考试科目 数结构A 卷

题号





总分
分数






评卷







单项选择题(空1分15分)
1数结构中逻辑结构( )数结构
A.树 B.字符串 C.队列 D.栈
2序存储线性表访问结点增加删结点时间复杂度( )
A.O(n) O(n) B.O(n) O(1) C.O(1) O(n) D.O(1) O(1)
3六元素ABCDEF序进栈( )合法出栈序列
A.DEFCBA B.EDCBFA C.EFDBCA D.EDCFBA
4字符串ABCDEF子串( )
A.19 B.20 C.21 D.22
5序表中插入元素需均移动元素数( )
A.(n1)2 B.n2 C.(n+1)2 D.n1
6非空单循环链表head尾结点(P指)满足( )
A.p>next NULL B.pNULL C.p>nexthead D.phead
7A中序线索二叉树中结点A根A前驱( )
A.A右子树中右结点 B.A左子树中左结点
C.A右子树中左结点 D.A左子树中右结点
8某二叉树30叶子结点20结点仅孩子该二叉树中两孩子结点数( )
A.29 B.30 C.31 D.19
9二维数组A元素8字符组成串行标i01…9列标j12…10A行序序存储元素A[8][7]起始址A列序序存储时元素( )起始址相(设字符占字节)
A.A[7][9] B.A[6][8] C.A[7][8] D.A [6][9]
10图深度优先遍历算法类似二叉树( )
A.中序遍历 B.先序遍历 C.序遍历 D.层遍历
11图邻接表存储结构中结点数图中边数( )倍
A.1 B.2 C.3 D.4
12面关m阶B树说法正确( )
①结点少两棵非空子树
②树中结点m1关键字
③叶子层
④插入数项引起B树结点分裂树长高层
A.①②③ B.②③④ C.②③ D.③
13判定图否存回路利( )方法
A.求关键路径方法 B.广度优先遍历算法
C.求短路径Dijkstra方法 D.拓扑排序
14长度17序表折半查找法该表进行查找表元素等概率情况查找成功需均较次数( )
A.5317 B.5517 C.5717 D.5917
15排序方法中关键字较次数记录初始排列次序关( )
A.起泡排序 B.选择排序 C.快速排序 D.插入排序

二 判断题(空1分10分)
1算法设计取决数逻辑结构 ( )
2栈线性表区操作限制表两端进行操作 ( )
3稀疏矩阵压缩存储中般采三元组表示法进行存储 ( )
4空格串空串长度0 ( )
5中序线索二叉树中结点指针域空 ( )
6方便插入删数双链表存放数 ( )
7二叉树排序树中插入新结点总插入叶结点面 ( )
8图应邻接矩阵定称矩阵图应邻接矩阵定非称矩阵 ( )
9(101223584629152277)趟简单选择排序结果序列 ( )
10快速排序速度排序方法中快 ( )

三 填空题(空1分10分)
1循环队列Q入队列时指针操作(队列长度m)________
26层衡二叉树少________结点
3广义表A((a)b(c(d)e))取出原子e操作________
4中缀表达式(A*B+(CD)E)*F(G+H)缀表达式________
5已知二叉树30叶子结点该二叉树总结点数少________
6求图生成树两种算法 算法适合求稀疏图生成树
710阶称阵A[09][110]采压缩存储方式进行存储 (行序序)首址100A[8][9]址________
8棵完全二叉树311结点叶子结点数________
9关键码序列28163212602572快速排序次划分结果

10n顶点构成环________棵生成树
四 应题(题7分35分)
1假设棵二叉树序序列CKHBIJGEFDA中序序列CBKHAIGJEDF请画出棵二叉树转换应森林
2关键字序列建立哈希表:(SUNMONTUEWEDTHUFRISAT)哈希函数H(K)(关键字中第字母字母表中序号)MOD 7线性探测法处理突求构造装填子07哈希表分计算出等概率情况查找成功均查找长度
3已知关键字序列R{11432173019}请算法步骤:
(1)构造棵哈夫曼树计算出带权路径长度WPL
(2)构造棵二叉排序树果关键字查找概率相求查找成功时均查找长度ASL
4图带权图G邻接表表示法求:
(1)结点V1出发广度遍历图G结点序列
(2)结点V1结点V8关键路径


5出组关键字{zhaoqiansunlizhouwuzhengwang}写出初始建顶堆程(关键字较字母表序准)
五算法设计题(题15分30分)
1设计算法带头结点单链表LA分解两具相结构链表LBLC中LB表结点LA表中值零结点LC表结点LA表中值零结点(链表数域元素类型整型求LBLC表利LA表结点)
2样棵二叉树表示家族中已婚男子
父子夫妻兄弟三种关系(图示)存
储结构二叉链表存储请编写查找意父
亲结点值X子算法结点结构:
typedef struct BiTNode
{ TElemType data
struct BiTNode *lchild *rchild
} BiTNode *BiTree





文档香网(httpswwwxiangdangnet)户传

《香当网》用户分享的内容,不代表《香当网》观点或立场,请自行判断内容的真实性和可靠性!
该内容是文档的文本内容,更好的格式请下载文档

下载文档,方便阅读与编辑

文档的实际排版效果,会与网站的显示效果略有不同!!

需要 10 香币 [ 分享文档获得香币 ]

该文档为用户出售和定价!

购买文档

相关文档

心理学考研真题(完整版)12版

2012年心理学考研真题(完整版)一、单项选择题:1~65小题,每小题2分,共130分.下列每题给出的四个选项中,只有一个选项是符合题目要求的.请在答题卡上将所选项的字母涂黑.1、 下列选项中,不属于心理状态的是(    )A、感觉 B、想象 C、注意 D、记忆本题考察心理学导论中的个体心理中认知部分所包含的主要内容。2、 大脑两半球之间传递信息的神经结构是(    )A、杏仁核

小***库 3年前 上传670   0

2019考研英语真题

2019 年全国硕士研究生入学统一考试英语(一)真题

我***! 4年前 上传1197   0

考研真题 英语真题及参考答案

2010年全国硕士研究生入学统一考试英语(一)试题Section I Use of EnglishDirections:Read the following text. Choose the best word(s) for each numbered blank and mark [A], [B], [C] or [D] on ANSWER SHEET 1. (10 points)

豆***2 4年前 上传1332   0

1997年全国考研英语真题

1997年全国考研英语真题Section I Structure and VocabularyPart ADirections:Beneath each of the following sentences, there are four choices marked [A], [B], [C] and [D]. Choose the one that best complete

n***u 14年前 上传815   0

2016年考研英语二真题

2016年考研英语二试题真题Section I Use of EnglishDirections:Read the following text. Choose the best word(s) for each numbered blank and mark A, B, C or D on the ANSWER SHEET. (10 points)Happy people

J***F 7年前 上传858   0

2011年考研英语一真题及答案

2011年考研英语一真题Section I Use of English  Directions:  Read the following text. Choose the best word(s) for each numbered blank and mark A], B], C] or D] on ANSWER SHEET 1. (10 points)  Ancient G

r***t 13年前 上传938   0

2014考研英语一真题及答案

e suddenly can't remember 1 we put the keys just a moment ago, or an old acquaintance's name, or the name of an old band we used to love. As the brain 2 , we refer to these occurrences as "senior moments." 3 seemingly innocent, this loss of mental focus can potentially have a(an) 4 impact on our professional, social, and personal 5 .

青***二 4年前 上传885   0

2014年考研英语一真题及答案

2014年考研英语一真题及答案Section I Use of English  Directions:  Read the following text. Choose the best word(s) for each numbered blank and mark A,B,C or D on the ANSWER SHEET.(10 points)  As many peo

付***民 10年前 上传952   0

1986年考研英语真题

1986年考研英语真题Section I Structure and VocabularyIn each question, decide which of the four choices given will most suitably complete the sentence if inserted at the place marked. Put your choice in

k***0 14年前 上传826   0

1998年考研英语真题答案

1998年考研英语真题答案Section I: Structure and Vocabulary (20 points)Part A (5 points)1. [B]2. [D]3. [B]4. [C]5. [A]6. [D]7. [C]8. [D]9. [A]10. [A]Part B (5 points)11. [B]12. [D]

q***d 14年前 上传961   0

2004年考研英语真题及答案

2004年全国硕士研究生入学统一考试——英语试题及答案Section I Listening Comprehension Directions: This section is designed to test your ability to understand spoken English. You will hear a selection of recorded mate

我***笑 13年前 上传1164   0

2016考研英语(一)真题

2016研究生入学统一考试试题(英语一)Section 1 Use of EnglishDirections: Read the following text. Choose the best word(s) for each numbered blank and mark [A], [B], [C] or [D] on ANSWER SHEET 1. (10 points) I

s***i 11年前 上传859   0

1987年考研英语真题

1987年考研英语真题Section I Structure and VocabularyIn each question, decide which of the four choices given will most suitably complete the sentence if inserted at the place marked. Put your choice in

释***灵 14年前 上传833   0

2015考研英语二真题及答案

2015考研英语二真题及答案

4***1 4年前 上传1095   0

1988年考研英语真题

1988年考研英语真题Section I Structure and VocabularyIn each question, decide which of the four choices given will most suitably complete the sentence if inserted at the place marked. Put your choices in

掌***8 14年前 上传753   0

1991年考研英语真题

1991年考研英语真题Section I Structure and VocabularyIn each sentence, decide which of the four choices given will suitably complete the sentence if inserted at the place marked. Put your choice in the A

z***n 13年前 上传658   0

1997年考研英语真题答案

1997年考研英语真题答案  Section I: Structure and Vocabulary (20 points)  Part A (5 points)1.[B]2.[D]3.[A]4.[D]5.[C]6.[B]7.[A]8.[C]9.[D]10.[B]  Part B (5 points)11.[C]12.[B]13.[

w***n 14年前 上传691   0

2001年考研英语真题及答案

2001年全国硕士研究生入学统一考试英语试题及答案Part I Structure and Vocabulary Section A Directions: Beneath each of the following sentences, there are four choices marked[A],[B],[C]and[D]. Choose the one that

张***琴 14年前 上传727   0

2014年考研数学(二)真题及答案

2014年考研数学(二)真题答案一、选择题:1~8小题,每小题4分,共32分,下列每小题给出的四个选项中,只有一项符合题目要求的,请将所选项前的字母填在答题纸指定位置上。 (1)B (2)C (3)D (4)C (5)D (6)A (7)B (8)A二、填空题:9 14小题,每小题4分,共24分,请将答案写在答题纸指定位置上。本文档由香当

高***了 4年前 上传1833   0

1988年考研英语真题答案

1988年考研英语真题答案I: Structure and Vocabulary (15 points)1. [C]2. [D]3. [B]4. [A]5. [C]6. [B]7. [C]8. [B]9. [A]10. [C]11. [A]12. [A]13. [D]14. [A]15. [C]II: Reading Compr

x***2 14年前 上传648   0

1992年考研英语真题

1992年考研英语真题Section I Structure and VocabularyIn each sentence, decide which of the four choices given will most suitably complete the sentence if inserted at the place marked. Put your choices in

m***9 14年前 上传602   0

2006年考研英语真题及答案

2006年考研英语试题及答案Section I Use of English  Directions:  Read the following text. Choose the best word(s) for each numbered blank and mark A,B,Cor D on ANSWER SHEET1.(10points)  The homeless make

s***u 14年前 上传851   0

1999年考研英语真题答案

1999年考研英语真题答案Section I: Structure and Vocabulary (20 points)Part A (5 points)1. [D]2. [B]3. [A]4. [C]5. [A]6. [D]7. [B]8. [D]9. [C]10. [A]Part B (5 points)11. [D] were12

江***东 14年前 上传876   0

2005年考研英语真题及答案

2005年全国硕士研究生入学考试英语试题及参考答案SectionⅠUse of English   Directions:  Read the following text. Choose the best word(s)for each numbered blank and mark A, B, C or D on ANSWER SHEET 1(10 points)  The

c***m 13年前 上传661   0

2009年考研英语真题和答案

2009年考研英语真题和答案Section I Use of EnglishDirections:Read the following text. Choose the best word(s) for each numbered blank and mark A, B, C or D on ANSWER SHEET 1. (10 points) Research on animal i

青***二 4年前 上传1065   0