Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
I = Input
Input is something from the external environment that is fed into the system. In an information system, the inputs may be raw data "captured" in some way or pre-existing data which has been provided by an external system.
In either case, the data input is provided by an external entity.
P = Process
O = Output
Output from the system which is the result of processing the input. Without output, a system has no link back into it's external environment. Output of an information system may be reports generated by an information system, or a picture on a computer monitor, or even data that is fed into another external system.
INPUT
OUTPUT
3.
Decide what data (the inputs) is required in order to get the required output
Sometimes these will be given to you, sometimes not, which means you may need to invent inputs.
4.
Once you have the outputs and the inputs you need to determine how the inputs can be transformed into the required outputs. This is a dynamic process which may mean you need to continually return to the previous steps.
Example
Analysis for CelsiusToFahrenheit Program:
Input
degrees Celsius
Process
F = C * 9/5 + 32
Output
degrees Fahrenheit
Problem Statement A student's final grade for a course is a weighted average of two tests, a final exam, and four projects. Each test is worth 15%, the final is worth 30%, and the projects are worth a total of 40% (10% each). Given a student's grades for all of these assignments, calculate the final score.
Problem Statement A student's final grade for a course is a weighted average of two tests, a final exam, and four projects. Each test is worth 15%, the final is worth 30%, and the projects are worth a total of 40% (10% each). Given a student's grades for all of these assignments, calculate the final score.
Problem Statement A student's final grade for a course is a weighted average of two tests, a final exam, and four projects. Each test is worth 15%, the final is worth 30%, and the projects are worth a total of 40% (10% each). Given a student's grades for all of these assignments, calculate the final score.
Problem Statement
A student's final grade for a course is a weighted average of two tests, a final exam, and four projects. Each test is worth 15%, the final is worth 30%, and the projects are worth a total of 40% (10% each). Given a student's grades for all of these assignments, calculate the final score.
Input
Get Get Get Get Get Get Get Result Result Result Result Result Result Result of of of of of of of Test1 Test2 FinalExam Project1 Project2 Project3 Project4
1.
Process
2.
Output
FinalScore
Calculate FinalScore FinalScore = (Test1 + Test2) * 15/100 + Test3 * 30/100 + (Project1 + Project2 + Project3 + Project4) * 40/100
Design Exercises
1. Consider a student file that contains the following data fields:
First Name Last Name Course Grade Would this set of data be suitable and sufficient to use to test each of the following programs? Explain why or why not.
A A A A A
program that program that program that program that program that
of of of of of
SDD students students nearly failing - those with a grade is less than 50% student on the Principals list students from Parramatta female students.
2. Construct an IPO chart for a program that gives an employee $50 bonus for every 500 items sold in a week.
3. Construct an IPO chart for a program that will output a student's grading based on letter grades (A, B, C, D, or F) in five courses.
2 * IPO Examples
Input
original number
Processing
1. calculate the squared value by multiplying the original number by itself display the squared value
Output
squared value
2.
Processing 1. 2. 3. enter state1 sales, state2 sales, and commission rate calculate the total commission by adding the state1 sales to the state2 sales, and then multiplying the result by the commission rate display the total commission
Output commission
Processing
1. Enter the sales and Commission rate 2. Calculate the commission rate by multiplying sales time Commission rate 3. Display the Commission rate
Output
Commission Rate
Processing 1. Enter the Original Number 2. If the original number is less than or equal to zero then display an error message, otherwise calculate the squared value by multiplying the Original number by itself. 3. Display the squared value