单选

●编制一个好的程序首先要确保它的正确性和可靠性,除此以外,通常更注重源程序的 (9) 。还应强调良好的编程风格,例如,选择标识符的名字时应考虑 (10) ;在书写语句时应考虑 (11) ;在书写功能性注解时应考虑 (12) 。

源程序中应包含一些内部文档,以帮助阅读和理解源程序,源程序的内部文档通常包括选择合适的标识符、注解和 (13) 。

 (9)

  • A.易理解性、易测试性和易修改性    &n
  • bsp;  B.易使用性、易维护性和易移植性    
  • C.易使用性、易维护性和效率    
  • D.易理解性、安全性和效率    (10) A.名字长度越短越好,以减少源程序的输入量
  • B.尽量消除语句,关键字等之间的空格,来缩短源程序语句
  • C.尽量用关键字作名字,以使名字标准化
  • D.选择含义明确的名字,以正确提示所代表的实体    (11) A.把多个短的语句写在同一行中,以减少源程序的行数
  • B.尽量使用标准文本以外的有特殊功效的语句,以提高程序的功效
  • C.尽量消除表达式中的括号,以简化表达式
  • D.避免使用测试条件"非",以提高程序的可读性    (12) A.为每个语句作注解
  • B.仅为每个模块作注解
  • C.为程序段作注解
  • D.仅为整个程序作注解    (13) A.程序的视觉组织
  • B.简洁的变量名
  • C.检查输入数据的有效性
  • D.分段程序块
参考答案
您可能感兴趣的试题

●Comp

  • arisons were drawn
  • between the development of television in the 20th
  • century an
  • d the diffusion of printing in the 15th and 16th centuries.Yet much had happened between.As was discussed before,it was not until the 19th century that the newspaper became the dominant preelectronic mediam,following in the wake of the pamphlet and the bo
  • It is generally recognized,however,that the introduction of the computer in the early 20th century,followed by the invention of the integrated circuit during the 1960s,radically changed the process,although its impact on the media was not immediately appa
  • It was within the computer age that the term "information society" began to be widely used to describe the(72)within which we now live.The communications revolution has (73)both work and leisure and how we think and feel both about place and time,but ther

●Comp

  • arisons were drawn
  • between the development of television in the 20th
  • century an
  • d the diffusion of printing in the 15th and 16th centuries.Yet much had happened between.As was discussed before,it was not until the 19th century that the newspaper became the dominant preelectronic mediam,following in the wake of the pamphlet and the bo
  • It is generally recognized,however,that the introduction of the computer in the early 20th century,(66) by the invention of the integrated circuit during the 1960s,radically changed the process,although its impact on the media was not immediately(67).As t
  • It was within the computer age that the term "information society" began to be widely used to describe thecontext within which we now live.The communications revolution has influenced both work and leisure and how we think and feel both about place and ti

●在头指针为he

  • ad且表长大于1的单循环链表中,指针p指向表中某个结点,若p→*next→*next=head,则&n
  • bsp;(55) 。    (55) A.p指向头结点
  • B.p指向尾结点    
  • C.*p的直接后继是头结点    
  • D.*p的直接后继是尾结点

●视频卡的种类很多,主要包括 (57) 。以P

  • AL制25帧/秒为例,已知一帧彩色静态图像(RG
  • B)的分辨率为256×256,每一种颜色用16bit表示,则该视频每秒钟的数据量为 (58) 。全电视信号主要由 (59) 组成。在视频信号实时处理技术中,如果电视扫描的正程时间为52.2ms,分辨率为512×512,实时意味着处理每个像素的时间近似为 (60) 。    (57) A.视频捕获卡
  • B.视频捕获卡、电影卡    
  • C.视频捕获卡、电影卡、电视卡    
  • D.视频捕获卡、电影卡、电视卡、视频转换卡    (58) A.256×256 ×3 ×16×25bps
  • B.512×512 ×3×8×25bps
  • C.256×256 ×3×8×25bps
  • D.512×512 ×3×16×25 bps    (59) A.图像信号、同步信号、消隐信号
  • B.图像信号、亮度信号、色度信号
  • C.图像信号、复合同步信号、复合消隐信号

●判定"带头结点的链队列为空"的条件是 (56) 。

(56)

  • A.Q.front==NULL    &n
  • bsp;  B.Q.rear==NULL    
  • C.Q.front==Q.rear    
  • D.Q.front!=Q.rear

●队和栈的主要区别是 (54) 。

(54)

  • A.逻辑结构不同    &n
  • bsp;  B.存储结构不同    
  • C.所包含的运算个数不同    
  • D.限定插入和删除的位置不同
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服