Posts

Showing posts with the label year 10

10n2

Image
Learning Objective: Understand what an algorithm is and how to represent them when planning. Starter: Exam Marks.. Q4 Main: Algorithms  BBC Bitesize "An algorithm is a set of instructions that describes how to get something done. Algorithms can be designed using pseudocode and flow charts. They are written using statements and expressions" Algorithms  are sets of step-by-step  instructions  that if followed exactly will perform a specific task. Flowcharts Tea Algorithm? Pass the Parcel? Anything else? Pseudocode Common pseudocode notation There is no strict set of standard notations for pseudocode, but some of the most widely recognised are: INPUT – indicates a user will be inputting something OUTPUT – indicates that an output will appear on the screen WHILE – a loop (iteration that has a condition at the beginning) FOR – a counting loop (iteration) REPEAT – UNTIL – a loop (iteration) that has a condition at the end IF –...
Image
Learning Objective: Demonstrate understanding of variables and casting using Python Starter: Welcome :) Main: Red Task Click on the link below: https://repl.it/classroom/invite/CafZ61v Sign up by clicking on the google symbol: Amber Task What is a variable in Python? Why and when might we use one? BBC Bitesize links on Variables HERE and HERE Complete assignment 1 in repl.it Test your code, any errors? Green Task What is casting? Why might you use casting? Complete assignment 2 in repl.it. Test your code, any errors? Plenary: What have you used before from this lesson? Is there any part you didn't understand?