Algorithms in Daily Life - 5+ Examples - Class 9 Ganita Manjari - Definitions

part 2 - Algorithms in Daily Life - Definitions - Chapter 11 Class 9 - The World of Algorithms (Ganita Manjari) - Maths Class 9

part 3 - Algorithms in Daily Life - Definitions - Chapter 11 Class 9 - The World of Algorithms (Ganita Manjari) - Maths Class 9

Remove Ads
Teachoo · Class 9 Explore Class 9

Transcript

Algorithms in Daily Life Everyday tasks become easier when we follow clear steps. An elearafnats isa fi pfs sequence 366 clear, step-by-step histatins to complete a task or solve a problem. Start with what youhave —> Followthesteps —> Get a result Making a cup of tea INPUT: Water, tea bag, U' fater, tea bag, cup nh STEPS: @ Boil water in a kettle. Order matters: "1 put the tea bag in Put a tea bag in a cup. before steeping. © Pour hot water into the cup. © Wait 3 minutes, then remove the tea bag. © Add mitk or sugar if desired. Stir. OUTPUT: A cup of tea ng whether to carry an umbrella INPUT: Weather forecast STEPS: @D @ @ Check the forecast before leaving. Take an Leave it @ ssrain forecast? umbrella. at home. 8 If YES, take an umbrella. vl, If NO, leave the umbrella at home. <a DECISION: © Leave for your destination. Different conditions lead to different OUTPUT: A decision about carrying an umbrella actions. INPUT: The title of the book you want vl, STEPS: REPETITION: n Fs (1) Start at the left end of the shelf. Repeat a step until 2 j @© Read the title of the current book. a stopping condition is} | © fit matches, take the book and stop. ESuTe 8 7 © [fit does not match, move to the next book. 6 Repeat until you find it or reach the end. e If the shelf ends, report “Not found”. OUTPUT: The book, or “Not found” 4. Packing your school bag INPUT: Tomorrow's timetable and a checklist STEPS: ste @© Read tomorrow's timetable. CHECKLIST: (2) List the books and materials you need. Helps you. ee Checklist Take the first item on the list. missing a step. um ining it ths book Repeat for each remaining item. &Z Engish book © Putit in your bag and tick it off. & Science book 8 a C6 ) When every item is ticked, close the bag. EZ Notebook & Pencitcase OUTPUT: A bag ready for school THE BUILDING BLOCKS OF ALGORITHMS SEQUENCE: DECISION: REPETITION: (1203) Follow steps <> Choose using a ® Repeat until itis in order. condition. time to stop. Auseful algorithm tells you what to do, when to choose, and when to stop. Algorithm To bro asd ALGORITHMS IN DAILY LIFE Everyday tasks become easier when we follow clear steps. An elearafnats isa fi pfs sequence 366 clear, step-by-step histatins to complete a task or solve a problem. Start with what youhave —> Followthesteps —> Get a result Making a cup of tea INPUT: Water, tea bag, U' fater, tea bag, cup nh STEPS: @ Boil water in a kettle. Order matters: "1 put the tea bag in Put a tea bag in a cup. before steeping. © Pour hot water into the cup. © Wait 3 minutes, then remove the tea bag. © Add mitk or sugar if desired. Stir. OUTPUT: A cup of tea ng whether to carry an umbrella INPUT: Weather forecast STEPS: @D @ @ Check the forecast before leaving. Take an Leave it @ ssrain forecast? umbrella. at home. 8 If YES, take an umbrella. vl, If NO, leave the umbrella at home. <a DECISION: © Leave for your destination. Different conditions lead to different OUTPUT: A decision about carrying an umbrella actions. INPUT: The title of the book you want vl, STEPS: REPETITION: n Fs (1) Start at the left end of the shelf. Repeat a step until 2 j @© Read the title of the current book. a stopping condition is} | © fit matches, take the book and stop. ESuTe 8 7 © [fit does not match, move to the next book. 6 Repeat until you find it or reach the end. e If the shelf ends, report “Not found”. OUTPUT: The book, or “Not found” 4. Packing your school bag INPUT: Tomorrow's timetable and a checklist STEPS: ste @© Read tomorrow's timetable. CHECKLIST: (2) List the books and materials you need. Helps you. ee Checklist Take the first item on the list. missing a step. um ining it ths book Repeat for each remaining item. &Z Engish book © Putit in your bag and tick it off. & Science book 8 a C6 ) When every item is ticked, close the bag. EZ Notebook & Pencitcase OUTPUT: A bag ready for school THE BUILDING BLOCKS OF ALGORITHMS SEQUENCE: DECISION: REPETITION: (1203) Follow steps <> Choose using a ® Repeat until itis in order. condition. time to stop. Auseful algorithm tells you what to do, when to choose, and when to stop. Algorithm To bro asd ALGORITHMS IN DAILY LIFE Everyday tasks become easier when we follow clear steps. An elearafnats isa fi pfs sequence 366 clear, step-by-step histatins to complete a task or solve a problem. Start with what youhave —> Followthesteps —> Get a result Making a cup of tea INPUT: Water, tea bag, U' fater, tea bag, cup nh STEPS: @ Boil water in a kettle. Order matters: "1 put the tea bag in Put a tea bag in a cup. before steeping. © Pour hot water into the cup. © Wait 3 minutes, then remove the tea bag. © Add mitk or sugar if desired. Stir. OUTPUT: A cup of tea ng whether to carry an umbrella INPUT: Weather forecast STEPS: @D @ @ Check the forecast before leaving. Take an Leave it @ ssrain forecast? umbrella. at home. 8 If YES, take an umbrella. vl, If NO, leave the umbrella at home. <a DECISION: © Leave for your destination. Different conditions lead to different OUTPUT: A decision about carrying an umbrella actions. INPUT: The title of the book you want vl, STEPS: REPETITION: n Fs (1) Start at the left end of the shelf. Repeat a step until 2 j @© Read the title of the current book. a stopping condition is} | © fit matches, take the book and stop. ESuTe 8 7 © [fit does not match, move to the next book. 6 Repeat until you find it or reach the end. e If the shelf ends, report “Not found”. OUTPUT: The book, or “Not found” 4. Packing your school bag INPUT: Tomorrow's timetable and a checklist STEPS: ste @© Read tomorrow's timetable. CHECKLIST: (2) List the books and materials you need. Helps you. ee Checklist Take the first item on the list. missing a step. um ining it ths book Repeat for each remaining item. &Z Engish book © Putit in your bag and tick it off. & Science book 8 a C6 ) When every item is ticked, close the bag. EZ Notebook & Pencitcase OUTPUT: A bag ready for school THE BUILDING BLOCKS OF ALGORITHMS SEQUENCE: DECISION: REPETITION: (1203) Follow steps <> Choose using a ® Repeat until itis in order. condition. time to stop. Auseful algorithm tells you what to do, when to choose, and when to stop.

CA Maninder Singh's photo - Co-founder, Teachoo

Made by

CA Maninder Singh

CA Maninder Singh is a Chartered Accountant qualified since 2010 and an educator teaching since 2006. At Teachoo, he draws on his accounting and tax experience to explain Accounts, Income Tax and GST through step-by-step lessons and practical examples.

For an uninterrupted learning experience, students can use Teachoo Black to remove ads and focus better.