Computer Science, asked by Rockey88l, 7 days ago

Prepare a data flow diagram for computing the mean of a sequence of input values. A separate control input is provided to reset the computation. Each time a new value is input, the mean of all values input since the last reset command should be output. Since you have no way of knowledge how many values will be processed between resets, the amount of data storage that you use should not depend on the number of input values. Detail your diagram down to the level of multiplications, divisions and additions.

Answers

Answered by sudhanshu988066
0

Answer:

Flowcharts

Kenneth Leroy Busbee

Overview

A flowchart is a type of diagram that represents an algorithm, workflow or process. The flowchart shows the steps as boxes of various kinds, and their order by connecting the boxes with arrows. This diagrammatic representation illustrates a solution model to a given problem. Flowcharts are used in analyzing, designing, documenting or managing a process or program in various fields.[1]

Discussion

Common flowcharting symbols and examples follow. When first reading this section, focus on the simple symbols and examples. Return to this section in later chapters to review the advanced symbols and examples.

Simple Flowcharting Symbols

Terminal

The rounded rectangles, or terminal points, indicate the flowchart’s starting and ending points.

Flow Lines

Note: The default flow is left to right and top to bottom (the same way you read English). To save time arrowheads are often only drawn when the flow lines go contrary the normal.

Input/Output

The parallelograms designate input or output operations.

Process

The rectangle depicts a process such as a mathematical computation, or a variable assignment.

Decision

The diamond is used to represent the true/false statement being tested in a decision symbol.

Advanced Flowcharting Symbols

Module Call

A program module is represented in a flowchart by rectangle with some lines to distinguish it from process symbol. Often programmers will make a distinction between program control and specific task modules as shown below.

Similar questions