Application of Pseudo Code

Slides:



Advertisements
Similar presentations
Review Algorithm Analysis Problem Solving Space Complexity
Advertisements

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 3P. 1Winter Quarter Structured Engineering.
Introduction to Algorithm – part one Jennifer Elmer Form 3 Computing.
Sequencing Miss Regan. Blood Hound  Does anyone know what the Bloodhound project is?  Video 1 Video 1  Video 2 Video 2  Link to website Link to website.
An ordered sequence of unambiguous and well-defined instructions that performs some task and halts in finite time Let's examine the four parts of this.
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Flowcharts.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 3P. 1Winter Quarter Structured Engineering Problem Solving and Logic.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
Problem-solving with Computers. 2Outline  Computer System  5 Steps for producing a computer program  Structured program and programming  3 types of.
MIT App Inventor Lesson 3 Algorithms Variables Procedures.
LO: We’re learning to outline a program using Pseudo Code.
How Computers Solve Problems Computers also use Algorithms to solve problems, and change data into information Computers can only perform one simple step.
Pseudocode. Algorithm A procedure for solving a problem in terms of the actions to be executed and the order in which those actions are to be executed.
Introduction to Problem Solving Programming is a problem solving activity. When you write a program, you are actually writing an instruction for the computer.
Scratch Programming Cards
Component 1.6.
Standard Operating Procedure
Collision Theory and Logic
Learning outcomes 5 Developing Code – Using Flowcharts
Understand Problem Solving Tools to Design Programming Solutions
Introduction to Programming / chapter 3 / COM1022
Programming Languages
Collision Theory and Logic
Algorithm & Programming
Statements (6 of 6) A statement causes an action to be performed by the program. It translates directly into one or more executable computer instructions.
GC211Data Structure Lecture2 Sara Alhajjam.
CS1001 Programming Fundamentals 3(3-0) Lecture 2
PROGRAM CONTROL STRUCTURE
Understand Problem Solving Tools to Design Programming Solutions
Unit 2 Smarter Programming.
Introduction To Flowcharting
Numbering System TODAY AND TOMORROW 11th Edition
Introduction to Algorithm – part 1
Introduction to Computer Programming
Learning to Program in Python
Unit# 9: Computer Program Development
Problem Solving Techniques
Chapter 16 Component-Level Design
Designing an Algorithm
Algorithms & Pseudocode
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
So far Learnt how to use App inventor.
Global Challenge Night Sensor Lesson 2.
Algorithm Discovery and Design
Navigating a Maze.
Computational Thinking for KS3
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Problem Solving Designing Algorithms.
Flowcharting & Algorithms
Introduction to Algorithms - 1
Global Challenge Night Sensor Lesson 2.
Key Words; Term, Expression
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
PYTHON: BUILDING BLOCKS Sequencing & Selection
Unit 3 lesson 2-5 The Need For Algorithms- Creativity in Algorithms – Simple Commands - Functions Day 18.
Data and Flowcharts Session
ICT Gaming Lesson 2.
Global Challenge Night Sensor Lesson 2.
Data and Flowcharts Session
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Introduction to Python
Designing Software Algorithm definition
WJEC GCSE Computer Science
Scratch 7B IT 1.
Introduction to Computer Science
Presentation transcript:

Application of Pseudo Code App Inventor Application of Pseudo Code

Learning Outcomes LO1: Recall key words associated with pseudo code (sequence, selection, iteration). LO2: Demonstrate application of pseudo code for parts of App.

Can be expressed in pseudo code and flowcharts. Algorithm= a sequence of steps to solve a problem. Is a procedure in terms of action to be executed (taken) and order in which their executed (done). Eg recipe in a cook book Can be expressed in pseudo code and flowcharts.

http://www.youtube.com/watch?v=k0xgjUhE G3U Point out the iteration and sequencing of the flow chart etc. Big bang algorithm

Starter activity sheet match the definitions sheet!

Pseudo Code General way of describing an algorithm. It closely resembles the structure of a programming language but does not use the specific syntax. Allows you to include control structures such as WHILE, IF-THEN-ELSE

Statement 1, Statement 2, Statement 3 Pseudo code key words SEQUENCE- statements executed in order Statement 1, Statement 2, Statement 3 SELECTION-To complete a Selection we need to tell the program what to look for and then make a decision. IF, THEN, ELSE, ENDIF ITERATION- Where a set of instructions is repeated. WHILE, DO, FOR

Procedures in Your App’s What are all the procedures that happen in your App’s? Launch button to home screen Launch button Post to fb button Button for taking a picture Button to start the quiz Button for correct answer in the quiz Post to FB button

My App Selection IF shake phone THEN go to screen 2 ELSE stay on home screen END IF Iteration WHILE screen 1 is displayed DO play sound 1 DO display image 1 DO display text label 1 END WHILE Previous to this would be the pseudo code for initially launching the App

Task Have a list of all the procedures in your teams APP Each person in the group pick one and write the pseudo code for it Continue dividing up the procedures in your team till you have pseudo code for all the procedures in your App.

Plenary This is my fortune teller App and behind every colour is a different fortune. Once you have seen your fortune the app, after 10 seconds, automatically goes to this ‘pick a colour screen’. I need the pseudo code for what happens when the Green button is pressed.