Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Programming Fundamentals/Input-Process-Output Model

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Overview The input–process–output (IPO) model is a widely used approach in systems analysis and software engineering for describing the structure of an information processing program or another process. The IPO model is the most basic structure for describing a process.Wikipedia: IPO model Discussion A computer program or any other sort of process using the input-process-output model receives inputs from a user or other source, does some computations on the inputs, and returns the results of the computations. The system divides the work into three categories:Wikipedia: IPO model A requirement from the environment (input) A computation based on the requirement (process) A provision for the environment (output) For example, a program might be written to convert Fahrenheit temperatures into Celsius temperatures. Following the IPO model, the program must: Ask the user for the Fahrenheit temperature (input) Perform a calculation to convert the Fahrenheit temperature into the corresponding Celsius temperature (process) Display the Celsius temperature (output) Pseudocode Function Main ... This program converts an input Fahrenheit temperature to Celsius. Declare Real fahrenheit Declare Real celsius Output "Enter Fahrenheit temperature:" Input fahrenheit Assign celsius = (fahrenheit - 32) * 5 / 9 Output fahrenheit & "° Fahrenheit is " & celsius & "° Celsius" End Output Enter Fahrenheit temperature: 100 100° Fahrenheit is 37.7777777777778° Celsius Flowchart 500px|Fahrenheit to Celsius flowchart References Wikiversity: Computer Programming Flowgorithm – Flowchart Programming Language