Input, Process, Output Washing dirty clothes Process Output Input.

Slides:



Advertisements
Similar presentations
Whiteboardmaths.com © 2004 All rights reserved
Advertisements

BPC.1 Basic Programming Concepts
IB Computer Science: 1.6 Software Design Created by Kevin Scott.
CONFIDENTIAL1 Good Afternoon! Today we will be learning about Functions Let’s warm up : Evaluate the following equations: 1) a + 4 = 9 2) b - 4 = 9 3)
Software Development Process.  You should already know that any computer system is made up of hardware and software.  The term hardware is fairly easy.
Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem.
Intermediate 2 Software Development Process. Software You should already know that any computer system is made up of hardware and software. The term hardware.
Cosc175 - Define Problem/Design Solution/Pseudocode/Trace 1 DEFINE THE PROBLEM.
Intermediate 2 Computing Unit 2 - Software Development.
The Art of Programming. The process of breaking problems down into smaller, manageable parts By breaking the problem down, each part becomes more specific.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
Progression in KS3/4 Algorithms MONDAY 30 TH NOVEMBER SUE SENTANCE.
Algorithms and Pseudocode. What is an algorithm? An algorithm is a description of a process independent of any programming language. e.g. An algorithm.
Analysis. This involves investigating what is required from the new system and what facilities are available. It would probably include:
Chapter 2 Writing Simple Programs
Trace Tables In today’s lesson we will look at:
Programming – Algorithms (Flowcharts)
Topic: Introduction to Computing Science and Programming + Algorithm
Higher Software Development
Introduction to Structure Design
Learning Intention I will learn about the iterative software development process with a focus on the Design stage.
Starter Question In your jotter write the pseudocode to take in two numbers, add them together then display the answer. Declare variables RECEIVE firstNumber.
Introduction to Computer Programming
Algorithm and Ambiguity
Relations and Functions
exa.im/stempy16.files - Session 12 Python Camp
Fractional Equations Chapter 7 Section 7.4.
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Introduction to Algorithms
Relations vs. Functions Function Notation, & Evaluation
Global Challenge Night Sensor Lesson 2.
Function Notation “f of x” Input = x Output = f(x) = y.
Global Challenge Night Sensor Lesson 2.
DO NOW – Decompose a Problem
Introduction to Algorithms and Programming
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
To be able to identify and use function notation.
The Programming Process
Global Challenge Night Sensor Lesson 2.
Algorithm and Ambiguity
Bellwork 4/26 Finish worksheet 12.6 (1-10)..
Learning Intention I will learn about evaluating a program.
Global Challenge Night Sensor Lesson 2.
Hardware Ian Gover Education Technology Adviser
Learning Intention I will learn about programming using selection (making choices) with one condition.
Software Development Process
No Yes START Do you live in Scotland? Take umbrella See last Flowchart
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Click to add Text Computers & Instructions. Computers are given instructions in the form of computer programs that are created through the development.
Introduction to Programming
Global Challenge Night Sensor Lesson 2.
COMPUTATIONAL THINKING COMPUTATIONAL THINKING IN PROGRAMMING
Learning Intention I will learn about testing programs.
Learning Intention I will learn about concatenation and arithmetic operators.
Learning Intention I will learn about the iterative software development process with a focus on the Analysis stage.
Learning Intention I will learn about selection with multiple conditions.
Global Challenge Night Sensor Lesson 2.
2.1: Relations and Functions
Learning Intention I will learn about the different types of programming errors.
Global Challenge Night Sensor Lesson 2.
Put the on A on the keyboard.
Welcome to ALGEBRA 1 w 3 m ke i+ c unt.
Learning Intention I will learn about the standard algorithm for input validation.
Games Design Problem identification Analysis of solution
Internal components of a computer.
Substitution 3..
Algorithms, Part 3 of 3 Topics In-Class Project: Tip Calculator
Introduction to Programming
Presentation transcript:

Input, Process, Output Washing dirty clothes Process Output Input

Input, Process, Output Frying an egg Process Output Input

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

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

Learning Intention I will learn about the iterative software development process with a focus on the Design stage.

Analysis Design Implementation Testing Documentation Evaluation

Design Once you have your inputs, process and outputs you can design your program structure.

Design Notations 3 design notations: Structure diagram Flowcharts Pseudocode Focus today on Pseudocode for input, process and output

Pseudocode English-like language used to define problems. Advantages: easy to understand easy to break down into smaller steps

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

Pseudocode INPUT: RECEIVE length FROM KEYBOARD INPUT: length of a side PROCESS: area = length x length OUTPUT: area

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

Pseudocode OUTPUT: SEND area TO DISPLAY INPUT: length of a side PROCESS: area = length x length OUTPUT: area

Pseudocode for area of a square RECEIVE length FROM KEYBOARD SET area TO length x length SEND area TO DISPLAY

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)

Success Criteria I can use pseudocode to design a solution to a problem.