1 / 9

Learning Objective

LO: We’re learning to understand how computers solve problems!. Learning Objective. Let's say that you have a friend arriving at the airport , and your friend needs to get from the airport to your house. Here is an algorithm that you might give your friend for getting to your home:

greta
Download Presentation

Learning Objective

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LO: We’re learning to understand how computers solve problems! Learning Objective

  2. Let's say that you have a friend arriving at the airport, and your friend needs to get from the airport to your house. Here is an algorithm that you might give your friend for getting to your home: The taxi algorithm: Go to the taxi stand. Get in a taxi. Give the driver my address. Algorithms….

  3. Let's say that you have a friend arriving at the airport, and your friend needs to get from the airport to your house. Here is an algorithm that you might give your friend for getting to your home: The taxi algorithm: Go to the taxi stand. Get in a taxi. Give the driver my address. Task 1….

  4. In groups / individual, see if you can come up with other algorithms surrounding the scenario on the previous slide. Maybe it’s a bus from the terminal…. Task 2 ….

  5. Sometimes it is easy to build an algorithm when you know how it works. Have a look at this flow chart below. Can you explain what is happening and why? Task 2 – Flow Chart

  6. Here is some guidance on the symbols.Splitting away from your group, pick oneof your algorithms and see if you canbuild a flow chart which finishes. Task 2 – Flow Chart

  7. You are required to use a video tutorial to create an algorithm to check whether a student is old enough to buy a DVD or game. You will need to set up Table from a previous lesson before you can use an algorithm to test it. Video 8/9 shows students how to set up a table structure and how to search it. Once you have built this Algorithm, see if you can build your own. TIP – Use a FLOW CHARTto plan it out before building it. Your teacher will support any coding. Task 3 - Extension

  8. An algorithm is a technical term for a recipe of instructions which are: Unambiguous – Recipe can be interpreted in one way. Executable – Steps that the computer can actually carry out. Terminating – There needs to be an end to theprogram. Use flow charts to help us plan out theorder in which we test or make decisionsin. Quick Recap ….

More Related