Download presentation
Presentation is loading. Please wait.
Published byMathilde Gignac Modified over 6 years ago
1
Input, Process, Output Washing dirty clothes Process Output Input
2
Input, Process, Output Frying an egg Process Output Input
3
Inputs Processing Output 1 length breadth area = length x breadth area
2 price of 20 price of 20 ÷ 20 price of 1 3 console cost game 1 cost game 2 cost total = console + game 1 + game 2 total 4 mark 1 mark 2 mark 3 total mark = mark 1 + mark 2 + percentage = (total mark ÷ 60) x 100 percentage
4
Starter Question In your jotter identify the inputs, process and output for the following: A program to calculate then display the cost of a pair of trainers if a 10% discount is to be given. Input: cost Process: total = cost x 0.9 Output: total
5
Learning Intention I will learn about the iterative software development process with a focus on the Design stage.
6
Analysis Design Implementation Testing Documentation Evaluation
7
Design Once you have your inputs, process and outputs you can design your program structure.
8
Design Notations 3 design notations: Structure diagram Flowcharts
Pseudocode Focus today on Pseudocode for input, process and output
9
Pseudocode English-like language used to define problems. Advantages:
easy to understand easy to break down into smaller steps
10
Pseudocode Remember the problem to calculate the area of a square from last lesson? INPUT: length of a side PROCESS: area = length x length OUTPUT: area
11
Pseudocode INPUT: RECEIVE length FROM KEYBOARD INPUT: length of a side
PROCESS: area = length x length OUTPUT: area
12
Pseudocode PROCESS (ASSIGNMENT): SET area TO length x length
[means put length x length into area] INPUT: length of a side PROCESS: area = length x length OUTPUT: area
13
Pseudocode OUTPUT: SEND area TO DISPLAY INPUT: length of a side
PROCESS: area = length x length OUTPUT: area
14
Pseudocode for area of a square
RECEIVE length FROM KEYBOARD SET area TO length x length SEND area TO DISPLAY
15
Pseudocode Design In your jotter:
write the pseudocode for each of the 4 scenarios you identified inputs, process and output for last lesson (was on a worksheet)
16
Success Criteria I can use pseudocode to design a solution to a problem.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.