IPO Charts Basic Design.

Slides:



Advertisements
Similar presentations
Hand Crafting your own program By Eric Davis for CS103.
Advertisements

Defining Control Structures
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Java Programming Practice.
Modules, Hierarchy Charts, and Documentation
Objective 2.01 Test Review Name: Class Period:.
Introduction to Information and Computer Science Computer Programming Lecture d This material (Comp4_Unit5d) was developed by Oregon Health and Science.
Mastering Char to ASCII AND DOING MORE RELATED STRING MANIPULATION Why VB.Net ?  The Language resembles Pseudocode - good for teaching and learning fundamentals.
Introduction to Computer Programming Using C Session 23 - Review.
Getting Started with MATLAB 1. Fundamentals of MATLAB 2. Different Windows of MATLAB 1.
Introduction to Programming with RAPTOR
Component 4: Introduction to Information and Computer Science Unit 5: Overview of Programming Languages, Including Basic Programming Concepts Lecture 4.
EXPERIMENTAL DESIGN Science answers questions with experiments.
Getting Started with MATLAB (part2) 1. Basic Data manipulation 2. Basic Data Understanding 1. The Binary System 2. The ASCII Table 3. Creating Good Variables.
MATH AND HEALTHCARE PROFESSION AS A MEDICAL ASSISTANT MM Konette Davis
Spreadsheets 1 See W:\IST\Mr Charles\hardware\spreadsheet1.doc for images 23/02/11.
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Python Lesson 1 1. Starter Create the following Excel spreadsheet and complete the calculations using formulae: 2 Add A1 and B1 A2 minus B2 A3 times B3.
Chapter 3 AS3 Programming. Introduction Algorithms + data structure =programs Why this formula relevant to application programs created in flash? The.
What is Handling Information?.
Input, Output and Variables GCSE Computer Science – Python.
Precedence Operators Error Types
Starter What does the following code do?
User Input ICS2O.
How to Calculate Your Body Mass Index (BMI)
CST 1101 Problem Solving Using Computers
Chapter 3 Program Design
User-Written Functions
Introduction to Flowcharting
Step 1:Identify and Define the problem
Databases.
Data Types Variables are used in programs to store items of data e.g a name, a high score, an exam mark. The data stored in a variable is entered from.
Chapter 1 Introduction to Java
Topic: Python’s building blocks -> Statements
Key Ideas from day 1 slides
Chapter 2: Input, Processing, and Output
Statistical Analysis with Excel
Chapter 3: Expressions and Interactivity.
Introduction To Flowcharting
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Functions CIS 40 – Introduction to Programming in Python
Relations and Functions Pages
Intro to PHP & Variables
Statistical Analysis with Excel
Print slides for students reference
Text Here Bullet point copy here Title of Large Bullet Slide Text May be Put Here with Multiple Bullets Below Secondary Bullet Style Second Bullet.
Learning to Program in Python
Descriptive Analysis and Presentation of Bivariate Data
Statistical Analysis with Excel
Computer.
Introduction to pseudocode
The normal distribution
مسئله‌يابي Problem Solving
مسئله‌يابي Problem Solving
Lesson 2: Input and Variables
Data Tables and Arrays.
Problem Solving.
Inputs and Variables Programming Guides.
Access: Queries II Participation Project
No Yes START Do you live in Scotland? Take umbrella See last Flowchart
Language Constructs Construct means to build or put together. Language constructs refers to those parts which make up a high level programming language.
Spreadsheets, Modelling & Databases
Variables & getting info from the user
7 – Variables, Input and Output
Comparing floating point numbers
Chapter 2: Input, Processing, and Output
Unit 3: Variables in Java
Lesson 02: Introduction to Python
LOOPS The loop is the control structure we use to specify that a statement or group of statements is to be repeatedly executed. Java provides three kinds.
Algorithms For use in Unit 2 Exam.
Presentation transcript:

IPO Charts Basic Design

Design Intro A computer only does 4 basic operations, which follows the acronym I.P.S.O. INPUT: Reads data from the user into the computer PROCESSING: Manipulates or changes that input data STORAGE: Stores the results of the processing for later user OUTPUT: Gives feedback to the user informing them of the results

Design Intro Typically Processing and Storage occur together, so we can shorten the acronym to I.P.O. Input Processing & Storage Output Nearly every program you create in this course will follow these basic operations in that order exactly. As the programs grow in scale you may repeat this process multiple times in the same program.

Design Intro So when faced with a problem, to solve it is a two stage procedure: Brainstorm what is done in each of the I, P, and O portions of the program. To do this we will use a graphical organizer called an IPO Chart Program each of the I, P, O portions in order…that’s it.

IPO Charts They are called IPO charts because this acronym represents the column headers of our chart we will create, as shown below: So what goes in each column? INPUT PROCESSING & STORAGE OUTPUT Describe (define) variables used for input Describe (define) any variables of known values Describe what data processing is to occur here, in order, including: input prompts and retrieval Describe (define) variables calculated by the processing Any other actions that are required One bullet for each piece of processing Describe the EXACT text (or other form of output) that is to be shown to the user. Use quotes and concatenation if needed E.g. Display “Your age is “ + userAge

Example Program Design Create a program that will calculate the user’s BMI using the formula BMI = weight (kg) / height2 (m) INPUT PROCESSING & STORAGE OUTPUT userWeight as a decimal Ask for and Retrieve weight, height from the user bmi as a decimal Display “Your BMI is “ + bmi userHeight as a decimal Calculate bmi as weight/height2