【问题1】(5分) 使用说明中的词语,给出图1-1中的实体E1 ~E5 【问题2】(4分) 使用说明中的词语,给出图1-2中的数据存储D1~D4的名称。 【问题3】(4分) 根据说明和图中术语,补充图1-2中缺失的数据流及其起点和终点。 【问题 4】(2分) 用 200 字以内文字,说明建模图 1-1 和图 1-2 时如何保持数据流图平衡。
第1题
h it is created by a team. To a user,a program with just the right features presented through an intuitive and( )interface is beautiful.To a software designer,an internal structure that is partitioned in a simple and intuitive manner,and that minimizes internal coupling is beautiful.To developers and managers ,a motivated team of developers making significant progress every week,and producing defect-free code,is beautiful.There is beauty on all these levels. our world needs software--lots of software. Fifty years ago software was something that ran in a few big and expensive machines. Thirty years ago it was something that ran in most companies and industrial settings. Now there is software running in our cell phones,watches,appliances,automobiles,toys,and tools. And need for new and better software never( ).As our civilization grows and expands,as developing nations build their infrastructures,as developed nations strive to achieve ever greater efficiencies,the need for more and more Software( )to increase. It would be a great shame if,in all that software,there was no beauty. We know that software can be ugly. We know that it can be hard to use,unreliable ,and carelessly structured. We know that there are software systems whose tangled and careless internal structures make them expensive and difficult to change. We know that there are software systems that present their features through an awkward and cumbersome interface. We know that there are software systems that crash and misbehave. These are( )systems. Unfortunately,as a profession,software developers tend to create more ugly systems than beautiful ones. There is a secret that the best software developers know. Beauty is cheaper than ugliness. Beauty is faster than ugliness. A beautiful software system can be built and maintained in less time,and for less money ,than an ugly one. Novice software developers don&39;t. understand this. They think that they have to do everything fast and quick. They think that beauty is( ) .No! By doing things fast and quick,they make messes that make the software stiff,and hard to understand,Beautiful systems e flexible and easy to understand. Building them and maintaining them is a joy. It is ugliness that is impractical.Ugliness will slow you down and make your software expensive and brittle. Beautiful systems cost the least build and maintain,and are delivered soonest.
A. SimpleB. HardC. ComplexD. duplicatedA.happensB.existsC.stopsD.startsA. startsB.continuesC.appearsD.stopsA.practicalB.usefulC.beautifulD.uglyA.impracticalB.perfectC.time-wastingD.practical
第2题
以下路由策略中,依据网络信息经常更新路由的是( )。
A.静态路由B.洪泛式C.随机路由D.自适应路由
第3题
速率为( )。
A.500b/sB.700b/sC.3500b/sD.5000b/s
第5题
下面关于Linux目录的描述中,正确的是( )。
A.Linux只有一个根目录,用 " /root "表示B. Linux中有多个根目录,用"/"加相应目录名称表示C. Linux中只有一个根目录,用"/"表示D. Linux 中有多个根目录,用相应目录名称表示
第6题
在浏览器地址栏输入一个正确的网址后,本地主机将首先在( )查询该网址对应的IP地址。
A.本地DNS缓存B.本机hosts文件C.本地DNS服务器D.根域名服务器
第7题
线对应的工位完成同样的加工工作,但是所需要的时间可能不同(aij,i=1或2,j = 1,2,...,n)。汽车底盘开始到进入两条装配线的时间 (e1,e2) 以及装配后到结束的时间(X1X2)也可能不相同。从一个工位加工后流到下一个工位需要迁移时间(tij,i=1或2,j =2,...n)。现在要以最快的时间完成一辆汽车的装配,求最优的装配路线。
分析该问题,发现问题具有最优子结构。以 L1为例,除了第一个工位之外,经过第j个工位的最短时间包含了经过L1的第j-1个工位的最短时间或者经过L2的第j-1个工位的最短时间,如式(1)。装配后到结束的最短时间包含离开L1的最短时间或者离开L2的最短时间如式(2)。
由于在求解经过L1和L2的第j个工位的最短时间均包含了经过L1的第j-1个工位的最短时间或者经过L2的第j-1个工位的最短时间,该问题具有重复子问题的性质,故采用迭代方法求解。
该问题采用的算法设计策略是( ),算法的时间复杂度为( )
以下是一个装配调度实例,其最短的装配时间为( ),装配路线为( )
A.分治
B.动态规划
C.贪心
D.回溯
A. O(lgn)
B. O(n)
C. O(n2)
D. O(nlgn)
A.21
B.23
C.20
D.26
A.S11→S12→S13
B.S11→S22→S13
C.S21→S12→S23
D.S21→S22→S23
第8题
正好等于a[9],则在此过程中,依次与数组中的( )比较后,查找成功结束。
A. a[6]、 a[7]、 a[8]、 a[9]B. a[6]、a[9]C.a[6]、 a[7]、 a[9]D. a[6]、 a[8]、 a[9]
第9题
} 时称其为小根堆(小顶堆)。以下序列中,( )不是小根堆。
A.16,25,40,55,30,50,45B.16,40,25,50,45,30,55C.16,25,39.,41,45,43,50D.16,40,25,53,39,55,45
第10题
某二叉树的先序遍历序列为 ABCDEF ,中序遍历序列为BADCFE ,则该二叉树的高度(即层数)为( )。
A.3B.4C.5D.6
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!