【考研类试卷】2007年北京航空航天大学计算机专业基础综合(数据结构)真题试卷及答案解析.doc

上传人:rimleave225 文档编号:1380407 上传时间:2019-12-02 格式:DOC 页数:3 大小:43.50KB
下载 相关 举报
【考研类试卷】2007年北京航空航天大学计算机专业基础综合(数据结构)真题试卷及答案解析.doc_第1页
第1页 / 共3页
【考研类试卷】2007年北京航空航天大学计算机专业基础综合(数据结构)真题试卷及答案解析.doc_第2页
第2页 / 共3页
【考研类试卷】2007年北京航空航天大学计算机专业基础综合(数据结构)真题试卷及答案解析.doc_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

1、2007 年北京航空航天大学计算机专业基础综合(数据结构)真题试卷及答案解析(总分:12.00,做题时间:90 分钟)一、综合题(总题数:4,分数:8.00)1. (分数:2.00)_2. (分数:2.00)_3. (分数:2.00)_4. (分数:2.00)_二、分析题(总题数:2,分数:4.00)5.请写一非递归算法,该算法在按值严格递增排列的顺序表 A1n中采用折半查找法查找值不小于item 的最小元素。若表中存在这样的元素,则算法给出该最小元素在表中的位置,否则,给出信息0。(分数:2.00)_6.已知非空二叉树采用顺序存储结构,结点的数据信息依次存放于一维数组 BTOn1中(假设每个

2、结点的数据信息为一个非 O 整数;若数组元素值为 0,则表示该元素对应的结点在二叉树中不存在)。请写一算法,生成该二叉树的二叉链表结构。(分数:2.00)_2007 年北京航空航天大学计算机专业基础综合(数据结构)真题试卷答案解析(总分:12.00,做题时间:90 分钟)一、综合题(总题数:4,分数:8.00)1. (分数:2.00)_正确答案:(正确答案: )解析:2. (分数:2.00)_正确答案:(正确答案: )解析:3. (分数:2.00)_正确答案:(正确答案:(1)可能的出栈序列以及相应的操作序列分别为: c,b,a 相应操作为:PUSH、PUSH、PUSH、POP、POP、POP

3、 b,C,a 相应操作为:PUSH、PUSH、POP、PUSH、POP、PoP。 a,c,b 相应操作为:PUSH、POP、PUSH、PUSH、POP、POP。 a,b,c 相应操作为:PUSH、POP、PUSH、POP、PUSH、POP。 b,a,c 相应操作为:PUSH、PUSH、POP、POP、PUSH、POP。 (2)不可能的出栈序列为 C,a,b。)解析:4. (分数:2.00)_正确答案:(正确答案:采用深度优先遍历。如果从有向图中某个顶点 v 出发进行遍历,遍历结束前出现了从顶点 u 到顶点 v 的回边,则可以断定图中包含了顶点 v 到顶点 u 的回路。)解析:二、分析题(总题数:2,分数:4.00)5.请写一非递归算法,该算法在按值严格递增排列的顺序表 A1n中采用折半查找法查找值不小于item 的最小元素。若表中存在这样的元素,则算法给出该最小元素在表中的位置,否则,给出信息0。(分数:2.00)_正确答案:(正确答案: )解析:6.已知非空二叉树采用顺序存储结构,结点的数据信息依次存放于一维数组 BTOn1中(假设每个结点的数据信息为一个非 O 整数;若数组元素值为 0,则表示该元素对应的结点在二叉树中不存在)。请写一算法,生成该二叉树的二叉链表结构。(分数:2.00)_正确答案:(正确答案: )解析:

展开阅读全文
相关资源
猜你喜欢
  • IEC 61175-1-2015 Industrial systems installations and equipment and industrial products designation of signals - Part 1 Basic rules《工业系统、装置和设备以及工业产品.信号的标识.第1部分 基本规则》.pdf IEC 61175-1-2015 Industrial systems installations and equipment and industrial products designation of signals - Part 1 Basic rules《工业系统、装置和设备以及工业产品.信号的标识.第1部分 基本规则》.pdf
  • IEC 61176-1993 Hand-held electric mains voltage operated circular saws methods for measuring the performance《手持式市电供电的电动圆锯 性能测试方法》.pdf IEC 61176-1993 Hand-held electric mains voltage operated circular saws methods for measuring the performance《手持式市电供电的电动圆锯 性能测试方法》.pdf
  • IEC 61179-1993 Helical-scan digital composite video cassette recording system using 19 mm magnetic tape format D2 (NTSC PAL PAL-M)《使用D2(NTSC、PAL、PAL-M)格式19mm磁带的螺旋扫描复合盒式数字录像系统》.pdf IEC 61179-1993 Helical-scan digital composite video cassette recording system using 19 mm magnetic tape format D2 (NTSC PAL PAL-M)《使用D2(NTSC、PAL、PAL-M)格式19mm磁带的螺旋扫描复合盒式数字录像系统》.pdf
  • IEC 61180-2016 High-voltage test techniques for low-voltage equipment - Definitions test and procedure requirements test equipment《低压设备的高压试验技术.定义、试验和程序要求 试验设备 》.pdf IEC 61180-2016 High-voltage test techniques for low-voltage equipment - Definitions test and procedure requirements test equipment《低压设备的高压试验技术.定义、试验和程序要求 试验设备 》.pdf
  • IEC 61181 Edition 2.1-2012 Mineral oil-filled electrical equipment - Application of dissolved gas analysis (DGA) to factory tests on electrical equipment《充矿物油电气设备.电气设备出厂试验的溶解气体分析(DGA)应用》.pdf IEC 61181 Edition 2.1-2012 Mineral oil-filled electrical equipment - Application of dissolved gas analysis (DGA) to factory tests on electrical equipment《充矿物油电气设备.电气设备出厂试验的溶解气体分析(DGA)应用》.pdf
  • IEC 61181-2007 Mineral oil-filled electrical equipment - Application of dissolved gas analysis (DGA) to factory tests on electrical equipment《填充矿物油的电气设备.溶解气体分析(DGA)用于电气设备工厂试验》.pdf IEC 61181-2007 Mineral oil-filled electrical equipment - Application of dissolved gas analysis (DGA) to factory tests on electrical equipment《填充矿物油的电气设备.溶解气体分析(DGA)用于电气设备工厂试验》.pdf
  • IEC 61182-1-1994 Printed boards - Electronic data description and transfer - Part 1 Printed board description in digital form《印制电路板 电子数据描述和转换 第1部分 印制板数字格式描述》.pdf IEC 61182-1-1994 Printed boards - Electronic data description and transfer - Part 1 Printed board description in digital form《印制电路板 电子数据描述和转换 第1部分 印制板数字格式描述》.pdf
  • IEC 61182-10-1999 Printed boards - Electronic data description and transfer - Part 10 Electronic data hierarchy《印制电路板 电子数据描述和转换 第10部分 电子数据层次》.pdf IEC 61182-10-1999 Printed boards - Electronic data description and transfer - Part 10 Electronic data hierarchy《印制电路板 电子数据描述和转换 第10部分 电子数据层次》.pdf
  • IEC 61182-2-2006 Printed board assembly products - Manufacturing description data and transfer methodology - Part 2 Generic requirements《印制电路板.恒产描述数据和转换方法.第2部分 一般要求》.pdf IEC 61182-2-2006 Printed board assembly products - Manufacturing description data and transfer methodology - Part 2 Generic requirements《印制电路板.恒产描述数据和转换方法.第2部分 一般要求》.pdf
  • 相关搜索
    资源标签

    当前位置:首页 > 考试资料 > 大学考试

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1