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

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

1、2008 年北京航空航天大学计算机专业基础综合(数据结构)真题试卷及答案解析(总分:14.00,做题时间:90 分钟)一、综合题(总题数:5,分数:10.00)1.请简要列出影响一个算法(或程序)时间效率的主要因素,并指出其中与算法(或程序)本身直接有关的因素。(分数:2.00)_2.若 5 个元素 A,B,C,D,E 按此先后次序进入一初始为空的堆栈,请写出在所有可能的出栈序列,第一个元素为 C、且第二个元素为 D 的出栈序列。(分数:2.00)_3. (分数:2.00)_4.证明:具有 n 个顶点的无向图最多有 nn-1)/2 条边。(分数:2.00)_5.有人说,采用折半查找法一定比采用

2、顺序查找法的时间效率高,你认为如何?请说明你的理由。(分数:2.00)_二、设计题(总题数:2,分数:4.00)6. (分数:2.00)_7. (分数:2.00)_2008 年北京航空航天大学计算机专业基础综合(数据结构)真题试卷答案解析(总分:14.00,做题时间:90 分钟)一、综合题(总题数:5,分数:10.00)1.请简要列出影响一个算法(或程序)时间效率的主要因素,并指出其中与算法(或程序)本身直接有关的因素。(分数:2.00)_正确答案:(正确答案:影响一个算法(或程序)时间效率的主要因素有: *算法涉的问题的规模大小; *编译程序功能的强弱以及所产生的机器代码质量的优劣; *机器

3、执行一条指令的时间长短; *算法(或程序)中诸如循环语句的那些关键语句的执行次数。)解析:2.若 5 个元素 A,B,C,D,E 按此先后次序进入一初始为空的堆栈,请写出在所有可能的出栈序列,第一个元素为 C、且第二个元素为 D 的出栈序列。(分数:2.00)_正确答案:(正确答案:CDEBA CDBAE CDBEA)解析:3. (分数:2.00)_正确答案:(正确答案: )解析:4.证明:具有 n 个顶点的无向图最多有 nn-1)/2 条边。(分数:2.00)_正确答案:(正确答案: )解析:5.有人说,采用折半查找法一定比采用顺序查找法的时间效率高,你认为如何?请说明你的理由。(分数:2.00)_正确答案:(正确答案:这种说法不正确。当被查找的对象处在序列的前部,比如查找序列的第一个元素,折半查找法的时间效率比顺序查找法要低。)解析:二、设计题(总题数:2,分数:4.00)6. (分数:2.00)_正确答案:(正确答案: )解析:7. (分数:2.00)_正确答案:(正确答案: )解析:

展开阅读全文
相关资源
猜你喜欢
  • BS EN 50525-2-12-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Cables with thermoplastic PVC.pdf BS EN 50525-2-12-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Cables with thermoplastic PVC.pdf
  • BS EN 50525-2-21-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Flexible cables with crosslin.pdf BS EN 50525-2-21-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Flexible cables with crosslin.pdf
  • BS EN 50525-2-22-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications High flexibility braided cabl.pdf BS EN 50525-2-22-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications High flexibility braided cabl.pdf
  • BS EN 50525-2-31-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Single core non-sheathed cabl.pdf BS EN 50525-2-31-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Single core non-sheathed cabl.pdf
  • BS EN 50525-2-41-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Single core cables with cross.pdf BS EN 50525-2-41-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Single core cables with cross.pdf
  • BS EN 50525-2-42-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Single core non-sheathed cabl.pdf BS EN 50525-2-42-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Single core non-sheathed cabl.pdf
  • BS EN 50525-2-51-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Oil resistant control cables .pdf BS EN 50525-2-51-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Oil resistant control cables .pdf
  • BS EN 50525-2-71-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Flat tinsel cables (cords) wi.pdf BS EN 50525-2-71-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Flat tinsel cables (cords) wi.pdf
  • BS EN 50525-2-72-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Flat divisible cables (cords).pdf BS EN 50525-2-72-2011 Electric cables Low voltage energy cables of rated voltages up to and including 450 750 V (U0 U) Cables for general applications Flat divisible cables (cords).pdf
  • 相关搜索
    资源标签

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

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