160 likes | 464 Views
Input Process Output (IPO) and Structured/Hierarchy Charts. Design Tools Part1. Topics. Input Process Output (IPO) Chart Hierarchy/Structured Chart Flow Chart Pseudo Code Source Code. Design Steps and Tools. IPO Chart. Hierarchy or Structured Chart. Flow Chart. Pseudo Code.
E N D
Input Process Output (IPO) and Structured/Hierarchy Charts Design Tools Part1
Topics • Input Process Output (IPO) Chart • Hierarchy/Structured Chart • Flow Chart • Pseudo Code • Source Code Design Tools Part1
Design Steps and Tools IPO Chart Hierarchy or Structured Chart Flow Chart Pseudo Code Source Code Design Tools Part1
Input -> Process -> Output (IPO) Design Tools Part1
Process Input Output Data Information Input Process Output Design Tools Part1
Input, Processing, and Output • Three steps many programs perform: • Gather input data: • from keyboard • from files on disk drives • Process the input data • Display the results as output: • send it to the screen • write to a file Design Tools Part1
Write a program that asks the user to enter a temperature reading in centigrade and then prints the equivalent fahrenheit value. Input Process Output Prompt for centigrade value Read centigrade value Compute fahrenheit value Display fahrenheit value fahrenheit centigrade Example1 Design Tools Part1
Example2 Write a program that asks the user to enter firstName and lastName and display a welcome message to screen as “Hello firstName lastName! Welcome to HCCS” Design Tools Part1
Hierarchy/Structured Chart Design Tools Part1
Hierarchy (Structured) Charts • Depicts the logical functions to the solution of the problem using a chart • Provides an overview that users and senior management can use to confirm the solution to the problem without excessive consideration to detail. • High-level in nature Design Tools Part1
Write a program that asks the user to enter a temperature reading in centigrade and then prints the equivalent fahrenheit value. Input Process Output Prompt for centigrade value Read centigrade value Compute fahrenheit value Display fahrenheit value fahrenheit centigrade Example1 celsiusToFahrenheit (main function) centigrade fahrenheit centigrade fahrenheit inputCent calcFah outputFah Design Tools Part1
Write a program that asks the user to enter firstName and lastName and display a welcome message to screen as “Hello firstName lastName, Welcome to HCCS!” Example2 displayWelcomeMsg (main function) firstName lastName welcomeMsg output WelcomeMsg inputNames Design Tools Part1