Software Design - - multiple-choice questions in the first half of 2011 important points

1, the system object of the instruction is different addressing (address space to expand and increase programming flexibility).

A: increasing the speed of acquiring data from memory

B: increase the speed of access to data from the external memory

C: to reduce the difficulty of decoding the opcode

D: expanded address space and improve programming flexibility

 

[A]:

Addressing means to find operands or operand addresses. Instruction system different addressing purpose is to find a balance between efficiency and convenience . Immediate addressing registers and addressing efficiency is the fastest, but the small number of registers, it is impossible to wait wherein operands are stored using immediate addressing very limited occasions, so that data needs to be stored in memory then using direct addressing, register indirect addressing, register relative addressing, indexed addressing base address plus the relative base address indexed addressing and the addressing mode and the like in the data memory into a register.

 

 

 

2, the computer float consists of three parts: the sign bit S, exponent part E (referred to as order code) and a mantissa part M. In the case of fixed total length, increasing the number of bits of E, M may reduce the number of bits (number range can be enlarged while reducing the accuracy of the representation).

A: number range expansion may represent reduced precision while

B: extend the number of representable range while accuracy mention Gao

C: number of reduced range may represent reduced precision while

D: reducing the number range can be expressed at the same time improve the accuracy

 

[A]:

A floating-point number to an arbitrary real number is approximated in the computer, a floating-point number a may be expressed as follows:
a = MXbE
wherein more bits of the mantissa part M, the number of higher accuracy, the more bits of the exponent part E , larger values can be expressed . Therefore, in the case of fixed total length, increasing the number of bits of E, it can be enlarged to reduce the number of bits M may represent a number range while reducing the accuracy.

 
 
 

3, the following statements about software copyright in translation right is right: the right of translation means (the original software to convert from one programming language to another programming language) rights.

A: original software conversion from one natural language into another natural language

B: original software converting from one programming language to another programming language

C: software copyright owner of its software in order to enjoy a variety of other forms of language again demonstrated

D: language interface program or software involved in the translation into another language

 

[A]:

Translation software copyright rights refers to a programming language different from the original works of conversion software programming language used in the original work, and the right to reproduce the product creation software content of their work.
Simply put, that means the right to convert the original software program from one language to another programming language .
 
 
 
 
 

4, the following coding methods, (Huffman coding) belong to the entropy encoding.

A: Huffman coding

B: wavelet transform coding

C: linear predictive coding

D: run-length encoding

 

[A]:

In the computer information processing, "Huffman encoding" is an encoding method identity (also known as "entropy encoding"), lossless compression for data .

This term refers to the use of a particular source character code table (e.g. a file in a symbol) is encoded. Special about this code table is that it is based on each - and set up to estimate the probability of a source character appears. High probability of occurrence of the character encoded using short, low probability of occurrence are encoded using longer, which would mean that the desired length of the string after encoding is reduced, so that the lossless compression target data.

 

【supplement】:

 

 

5, the image resolution is CIF video format (352X288).
A: 352x240
B: 352X288
C: 640X480
D: 320X240


[A]:

 CIF format is a common normalized image (Common Intermediate Format). In the H.323 protocol suite, the predetermined standard video capture devices capture resolution, the CIF = 352X288 pixels .


 
 
6, MPEG series of standards developed by the ISO, (MPEG-7) standard is a Multimedia Content Description Interface.
A: the MPEG. 1-
B: the MPEG-2
C: the MPEG. 4-
D: the MPEG-. 7


[A]:

由ISO制定的MPEG系列标准中, MPEG-7称为“多媒体内容描述接口”(mult imediacontent description interface). 该标准是建立对多媒体内容的描述标准满足包括静止图像、图形、3D模型、音频、话音、视频以及以上元素组合在一起的合成多媒体信息的应用领域的要求,并兼顾标准的通用性和扩展性的要求

 

 



7、关于过程改进,以下叙述中不正确的是(CMMI成熟度模型是一种过程改进模型,仅支持阶段性过程改进而不支持连续性过程改进)。

A:软件质量依赖于软件开发过程的质量,其中个人因素占主导作用

B:要使过程改进有效,需要制定过程改进目标

C:要使过程改进有效,需要进行培训

D:CMMI成熟度模型是一种过程改进模型,仅支持阶段性过程改进而不支持连续性过程改进

 

【解析】:

软件开发过程极大地影响所生成的产品质量,因此改进过程将改进软件产品的质量。这也是进行过程改进的前提和理念。软件质量依赖于软件开发过程的质量,其中,人的因

素是主导的,开发技术、过程质量、成本时间和进度也是影响因素。另外,要使得过程改进有效,需要制定过程改进的目标,还需要对开发人员进行培训。CMI是SEI将已有的几个CaM模型结合在一起,使之构成“集成模型”,即成熟度模型,该模型支持阶段性过程改进和连续性过程改进。

 

 

 

 

8、软件产品的可靠性并不取决于(软件产品的开发方式)。

A:潜在错误的数量

B:潜在错误的位置

C:软件产品的使用方式

D:软件产品的开发方式

 

【解析】:

软件可靠性指的是:一个系统对于给定的时间间隔内、在给定条件下无失效运作的概率
根据定义,软件可靠性与软件的潜在错误的数量、位置有关,与软件产品的使用方式有关,而软件产品的开发方式不决定软件产品的可靠性。
 
 
 
 
 

9、面向对象分析的第一步是(确定问题域)。

A:定义服务

B:确定附加的系统约束

C:确定问题域

D:定义类和对象

 

【解析】:

面向对象分析的目的是为了获得对应用问题的理解,确定系统的功能、性能要求。

面向对象分析包含5个活动:认定对象、组织对象、描述对象间的相互作用、定义对象的操作和定义对象的内部信息。而分析阶段最重要的是理解问题域的概念,其结果将影响整个工作。
经验表明,从应用定义域概念标识对象是非常合理的。因此,面向对象分析的第一步就是确定问题域。

 

 

10、下列关于一个类的静态成员的描述中,不正确的是(38) 。

A:类的静态方法只能访问该类的静态数据成员

B:静态数据成员可被该类的所有方法访问

C:该类的对象共享其静态数据成员的值

D:该类的静态数据成员的值不可修改

 

【解析】:

面向对象开发方法中,静态成员的含义是所修饰的成员是属于类的,而不是属于某对象的。静态数据成员对该类只有一份,该类的所有对象共享静态数据成员,可被该类的所有方法访问,其值可以修改,但是不论是通过对象还是类对静态数据成员值的修改,都会反应到整个类。类的静态方法只能访问该类的静态数据成员。

 

 

 

11、在面向对象软件开发过程中,采用设计模式(以复用成功的设计),

A:以复用成功的设计

B:以保证程序的运行速度达到最优值

C:以减少设计过程创建的类的个数

D:允许在非面向对象程序设计语言中使用面向对象的概念

 

【解析】:

每一个设计模式描述了一个在我们周围不断重复发生的问题,以及该问题的解决方案的核心。这样,就能重复地使用该方案而不必做重复劳动。设计模式的核心在于提供了相
关问题的解决方案。
因此,面向对象软件开发过程中,采用设计模式的主要目的就是复用成功的设计

 

Guess you like

Origin www.cnblogs.com/sunjiaojiao/p/11604709.html