问题 单项选择题

数据流程图(DFD图)是()。

A.软件概要设计的工具

B.软件详细设计的工具

C.结构化方法的需求分析工具

D.面向对象方法的需求分析工具

答案

参考答案:C

解析:

本题考查数据流程图DFD的概念。对于面向数据流的结构化分析方法,按照DeMarco的定义,“结构化分析就是使用数据流图(DFD)、数据字典(DD)、结构化英语、判定表和判定树等工具,来建立一种新的、称为结构化规格说明的目标文档”。结构化分析方法的实质是着眼于数据流,自顶向下,逐层分解,建立系统的处理流程,以数据流图和数据字典为主要工具,建立系统的逻辑模型。数据流图(Data Flow Diagram,DFD)是描述数据处理过程的工具,是需求理解的逻辑模型的图形表示,它直接支持系统的功能建模。数据流图从数据传递和加工的角度,来刻画数据流从输入到输出的移动变换过程。由此可得数据流程图是结构化方法的需求分析工具。

填空题
单项选择题

All animals must rest, but do they really sleep as we know it The answer to this question seems obvious. If an animal regularly stops its activities and stays quiet and unmoving—if it looks as though it is sleeping—then why not simply assume that it is in fact sleeping But how can observers be sure that an animal is sleeping

They can watch the animal and notice whether its eyes are open or closed, whether it is active or lying quietly, and whether it responds to light or sound. These factors are important clues, but they often are not enough. Horses and cows, for example, rarely close their eyes, and fish and snakes cannot close them. Yet this does not necessarily mean that they do not sleep. Have you ever seen a cat dozing with an eye partly open Even humans have occasionally been observed to sleep with one or both eyes partially open. Animals do not necessarily lie down to sleep either. Elephants, for example, often sleep standing up, with their tusks resting in the fork of a tree. Finally, while "sleeping" animals often seem unaware of changes in the sounds and light and other stimuli around them, that does not really prove they are sleeping either.

Observations of animal behavior alone cannot fully answer the question of whether or not animals sleep. The answers come from doing experiments in "sleep laboratories" using a machine called the electroencephalograph (EEC). The machine is connected to animals and measures their brain signals, breathing, heartbeat, and muscle activity. The measurements are different when the animals appear to be sleeping than when they appear to be awake. Using the EEC, scientists have confirmed that all birds and mammals studied in laboratories do sleep. There is some evidence that reptiles, such as snakes and turtles, do not truly sleep, although they do have periods of rest each day, in which they are quiet and unmoving. They also have discovered that some animals, like chimpanzees, cats, and moles (who live underground), are good sleepers while others, like sheep, goats, and donkeys, are poor sleepers. Interestingly, the good sleepers are nearly all hunters with resting places that are safe from their enemies. Nearly all the poor sleepers are animals hunted by other animals: they must always be watching for enemies, even when they are resting.

How can researchers in "sleep laboratories" tell that the animals they are observing are asleep or not()

A. They see if the animals respond to light and sound

B. They do this by observing changes in the animals’ brain signals, breathing, heartbeat, and muscle activity

C. They see if the animals’ eyes are closed

D. They can tell this by seeing if the animals lie down or not