问题 单项选择题

软件架构为软件系统提供了一个结构、行为和属性的高级抽象模式。“4+1”视图模型是指用5个视图组成的模型来描述软件架构。其中,______描述了软件的静态组织结构,支持软件开发的内部需求。

A.开发视图
B.逻辑视图
C.进程视图
D.物理视图

答案

参考答案:A

解析: 软件架构是指大型、复杂的软件系统结构的设计、规格说明和实施。它以规范的形式装配若干结构元素,从而描述出系统的主要功能和性能要求,同时表述其他非功能性需求(如可靠性、可扩展性、可移植性和可用性等)。软件架构为软件系统提供了一个结构、行为和属性的高级抽象模式,可以使用公式“软件架构={构成系统的元素,指导元素集成的形式,关系和约束}”来表达。
“4+1”视图模型用5个视图组成的模型来描述软件架构。该模型包含5个主要视图及其实现的功能,如下表所示。

“4+1”视图及其功能表
试图 功能
逻辑视图(Logical View) 描述了设计的对象模型,支持系统的功能需求
进程视图(Process View) 描述了设计的并发和同步特征,支持系统的运行特性
物理视图(Physical view) 描述了软件到硬件的映射,反映了分布式特性,支持系统的拓扑、安装和通信需求
开发视图(Development view) 描述了在开发环境中软件的静态组织结构,支持软件开发的内部需求
场景(Scenario) 用来说明重要的系统活动,是其他4个视图在用例(Use Case)驱动下的综合

单项选择题

The field of medicine has always attracted its share of quacks and charlatans — disreputable women and men with little or no medical knowledge who promise quick cures at cheap prices. The reasons why quackery thrives even in modern times are easy to find.To begin with, pain seems to be a chronic human condition. A person whose body or mind "hurts" will often pay any amount of money for the promise of relief. Second, even the best medical treatment cannot cure all the ills that beset men and women. People who mistrust or dislike the truths that their physicians tell them often turn to more sympathetic ears.Many people lack the training necessary to evaluate medical claims. Given the choice between (a) a reputable physician who says a cure for cancer will be long, expensive and may not work at all, and (b) a salesperson who says that several bottles of a secret formula "snake oil" will cure not only cancer but tuberculosis as well, some individuals will opt for "snake oil".Many "snake oil" remedies are highly laced with alcohol or narcotic drugs. Anyone who drinks them may get so drunk or stoned that they drown their pains in the rising tide of pleasant intoxication. Little wonder that "snake oil" is a popular cure-all for minor aches and hurts! But let there be no misunderstandings. A very few "home remedies" actually work. However, most remedies sold by quacks are not only useless, but often can be harmful as well.

Which of the following statements is NOT true

A.Quacks are really sympathetic.

B.Snake oil does not work.

C.Doctors cannot cure all ills.

D.Patients are often impatient.

单项选择题