算法设计与分析2008-2009_1(a卷).doc

上传人:桔**** 文档编号:552197160 上传时间:2022-08-27 格式:DOC 页数:6 大小:140.50KB
返回 下载 相关 举报
算法设计与分析2008-2009_1(a卷).doc_第1页
第1页 / 共6页
算法设计与分析2008-2009_1(a卷).doc_第2页
第2页 / 共6页
算法设计与分析2008-2009_1(a卷).doc_第3页
第3页 / 共6页
算法设计与分析2008-2009_1(a卷).doc_第4页
第4页 / 共6页
算法设计与分析2008-2009_1(a卷).doc_第5页
第5页 / 共6页
点击查看更多>>
资源描述

《算法设计与分析2008-2009_1(a卷).doc》由会员分享,可在线阅读,更多相关《算法设计与分析2008-2009_1(a卷).doc(6页珍藏版)》请在金锄头文库上搜索。

1、南昌大学 20082009学年第一学期期末考试试卷 试卷编号: (A )卷课程编号: 课程名称: 算法设计与分析 考试形式: 闭卷 适用班级: 姓名: 学号: 班级: 学院: 专业: 考试日期: 题 号一二三四五总分累分人 签 名题 分2020202020100得 分考生注意事项:1、本试卷共 5页,请查看试卷中是否有缺页或破损。如有立即举手报告以便更换。 2、考试结束后,考生不得将试卷、答题纸和草稿纸带出考场。一、求解下列递推方程(每小题10分,共20分) 得分评阅人 (1)用生成函数法求解: and performance test copies of the record. If nec

2、essary, review should be carried out; 4) for spring hangers (included simple spring, hangers and constant support hangers) it should also be recognized as setting and locking of loads. 5) check the surface quality, folded layering and without cracks, rust and other defects. 5) after completion of th

3、e test and control drawing number one by one, by series baled. Color alloy steel parts, the parts marking installation location and rotation about the direction you want. 7.3.14. hangers installation 7.3.14.1 hanger layout a. a clear design of hanger should be installed strictly in accordance with t

4、he drawings and designs shall not be installed wrong, missing, etc. B. own arrangement of piping support and hanger set and selection should be based on comprehensive analysis of general layout of piping systems; cold installation of steam pipe with particular attention reserved for compensation of

5、thermal expansion displacement and orientation. C. support systems should be rational to withstand pipe loads, static load and incidental load; reasonable piping displacement; guaranteed under various conditions, stress are within the allowed range. Strength, stiffness, and meet requirements to prev

6、ent vibration and soothing water, without affecting the adjacent equipment maintenance and other piping installation and expansion. D. equipment connected to the interface to meet pipeline thrust (torque) limit requirements; increase the stability of piping systems to prevent pipeline . Tube wall th

7、ickness (mm) 2-3 4-6 7-10 weld form no slope mouth weld strengthening height h (mm) 1-1.5 1.5-2 weld width b (mm) 5-6 7-6 has slope mouth weld strengthening height h (mm) 1.5-2 2 weld width b (mm) cover had each edge slope mouth about 2 mm argon arc welding weld strengthening surface height and widt

8、h tube wall thickness (mm) 2-3 3-4 5-6 weld form weld strengthening height h (mm) 1-1 .5 1.5-2 2-2.5 width b (mm)第 4 页 共 6页(2)用公式法求解:二、递归算法应用题 (每小题10分,共20分)得分评阅人 (1) 将如下递归程序改成非递归程序:Procedure f(n:int) : intbegin if n=0 then f:=1Else if n=1 then f:=1Else f:=f(n-1)*nendp;(2)写出如下程序的运行结果:procedure printR

9、V(N:int)begin if N0 then begin write (N mod 10); printRV(N div 10); end;endp;调用printRV(12345).三、Prim算法和贪心算法应用题(共20分)得分评阅人 (1)用Prim算法求下图的最小生成树: BCDAE(2)请根据以上算法,求下面非0/1背包问题的最优解: 已知n=7,M=15,(p1,p2,p3,p4,p5,p6,p7)=(10,5,15,7,6,18,3),(w1,w2,w3,w4,w5,w6,w7)=(2,3,5,7,1,4,1)四、回溯法与动态规划法应用题(每小题10分,共20分):得分评阅人 (1) 设w=5,7,10,12,15,18,20和m=35,使用回溯法找出w中使得和数等于m的全部子集,并画出所生成的部分状态空间树(10分)。(2) 已知如下多段图,请用动态规划方法的向后处理法写出求解此问题的递推公式并完成对各结点的计算(10分)。五、综合应用题(每小题10,共20分):得分评阅人 (1) a. 请基于公式2n=2n-1+2n-1,设计一个递归算法。当n是任意非负整数的时候,该算法能够计算2n的值; b. 建立该算法所做的加法运算次数的递推关系并求解。(2)请写出二分查找法算法,并介绍其主要思想,给出时间复杂度分析结论。

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 工作范文 > 思想汇报

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号