Unit 2 Smarter Programming
Today’s Aims 1 Remind ourselves why programs are running our digital world! 2 Review key concepts for programming from last year 3 Start to grasp the technical terms that we need to use this year Please start lesson by going through objectives to establish context 4 Later, start to see how to apply those key concepts in Scratch
Programs run our digital world!
Recap We’ll actually start this new unit by reviewing what we did last year. That will remind us about some basic ideas and some continuing themes…
Homework Subject Work Set Due Done Computing Copy and learn 1 Review of Key Concepts
Algorithm An algorithm is a sequence of ordered steps to solve a problem 1 2 3
Pseudocode Pseudo-code is a plan for you program written in structured English INPUT Effort Grade IF Effort Grade > 3 Display ‘Well done!’ ELSE Display ‘Try harder!’
Flowcharts A flowchart is a plan for you program shown in a diagram with special symbols
Program A program is a set of instructions in a coding language that has its own rules called syntax
Big Three Order Repeat Choices
Variables Variables store values in computer programs. Variables need meaningful names and can store different types of data. String (characters) Integer (whole number) Decimal (decimal point) Date (dd/mm/yy) Boolean (true or false)
Homework Subject Work Set Due Done Computing Copy and learn 1 Review of Key Concepts into book