Download presentation
Presentation is loading. Please wait.
Published byFlaviana Pala Modified over 5 years ago
1
Remember Procedures A set of instructions grouped together to carry out a task. Run a procedure by using its name. Procedures can be run/used lots of times. By Mr Bagge
2
Common everyday procedures that your brain already knows how to do
Define breathe Breathe in Wait Breathe out wait Define walk Move right leg forward Wait Move left leg forward wait Loop always breathe if need to go somewhere walk if hungry AND food near eat Define eat Put food in hand Lift hand to mouth Put food into mouth Loop until a paste chew swallow
3
Nested Procedure One procedure inside another procedure
4
Nested Procedures Main program algorithm half_term holiday
Define school_day Wake up Go to school Learn Go home Define weekend_day Wake up Do own stuff Define school_week Loop 2 times weekend_day Loop 5 times school_day Define half_term Loop 6 times school_week
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.