问题 问答题 简答题

简述程序设计的性能指标。

答案

参考答案:

程序设计的性能指标主要有:

(1)可维护性。可维护性是指程序各部分相互独立,没有调子程序以外的其他数据关联,即不会发生在维护时牵一发而动全身的连锁反应。规范性、可读性、结构划分好的程序模块,其维护性也比较好。

(2)可靠性。衡量系统质量的首要指标是系统运行的可靠性。系统可靠性指标可以分解为两个方面的内容:一方面是程序或系统的安全可靠性,如数据存储的可靠性,通信的安全可靠性,操作权限的安全可靠性;另一方面是程序运行的可靠性。

(3)可读性。可读性即程序清晰,逻辑正确,计算机能够执行,层次清楚,便于阅读。程序的维护工作量很大,一个不易理解的程序将会给程序维护工作带来困难。

(4)规范性。规范性是指系统的划分、书写的格式、变量的命名等都要按统一规范,便于程序以后的阅读、修改和维护。

(5)实用性。实用性是指从用户的角度来审查系统各部分是否都非常方便实用。

(6)高效率。效率主要是指系统运行速度与存储空间指标。程序设计应该做到程序占用的存储空间尽量少,程序运行完成规定功能的速度尽量快。

阅读理解

阅读理解。

    Many people like to watch TV. There are allkinds of programs on TV. The soap opera is one of them ,The soap opera was first on the radio in the1920s. Then it started on TV in the 1940s.    

    Why do so many people like to watch soapopera on TV, especially young people? Whatmakes soap opera popular? Let's find out.    

    First, what's happening in the soap operais very different from our life. Everything isperfect in the play. People don't need to worryabout almost anything. People don' t havemoney problems.    

    Second, there are many beautiful girls andhandsome boys in the soap opera. They are socool. They make young people crazy. They makeyoung people happy.  

    Third, the story in the soap opera isusually interesting. It makes people relax after aday's hard work. Even some old people like towatch it, too.    

    But some people don't like it. They thinkthe show is too slow and too long. Do you likewatching soap opera? What do you think of it?

1. The soap opera started on TV______

A. in the  1920s              

B. in the  1930s

C. in the 1940s            

D. in the 1950s

2. What's happening in the soap opera is______ our life.

A. very different from  

B. the same as

C. as interesting as      

D. crazier than

3. ______ in the soap opera make young people crazy.  

A. The money problems

B. The perfect stories

C. The interesting stories

D. The beautiful girls and handsome boy.

4. People like to watch soap opera because ______.

A. the show is too long and too slow

B. it can make people sad

C. it can make people relax

D. it started on TV early

5. Which of the following is NOT true according to the passage? 

A. The people in the soap opera don't need to worry about anything.

B. All people like to watch soap opera.

C. The story in the soap opera is usually interesting.

D. The girls and boys in the soap opera are usually cool.

单项选择题