A PowerPoint about Algorithm’s. What is an algorithm? A list Of cammands / instructions to do a tasks.

Slides:



Advertisements
Similar presentations
Chapter 12 Sorting and searching. This chapter discusses n Two fundamental list operations. u Sorting u Searching n Sorted lists. n Selection/bubble sort.
Advertisements

The Hi-Lo Game by Trevor.  Through code and the process, I learned that this code is very basic. The structure of the code is not that long.
H OW TO MAKE A CUP OF T EA ! By Paris Bell. Safety Instructions Equipment Ingredients Instructions Instructions (continued) Tips.
Tutorial #6 PseudoCode (reprise)
First steps  First get out a mug from your cupboard.  Next pour cold water into your kettle.  Then press the button and wait for it to boil.
place a teabag in a mug; boil some water; pour over teabag; wait until strong enough; remove the teabag; add some milk and stir. what is this?
SDP Languages and Environments. Types of Languages and Environments There are 4 main types of language that you must be able to describe at Higher level.
SEARCHING, SORTING, TOPOLOGICAL SORTS Most real world computer applications deal with vast amounts of data. Searching for a particular data item can take.
Wednesday, 11/25/02, Slide #1 CS 106 Intro to CS 1 Wednesday, 11/25/02  QUESTIONS??  Today:  More on sorting. Advanced sorting algorithms.  Complexity:
Searching/Sorting Introduction to Computing Science and Programming I.
CS 240: Data Structures Thursday, July 12 th Sorting – Bubble, Insertion, Quicksort, Mergesort, Analysis, STL.
First Grade Bedrock Word List
Search Lesson CS1313 Spring Search Lesson Outline 1.Searching Lesson Outline 2.How to Find a Value in an Array? 3.Linear Search 4.Linear Search.
Illuminating Computer Science CCIT 4-6Sep
Selection: IF Statement Damian Gordon. adsdfsdsdsfsdfs dsdlkmfsdfmsdl kfsdmkfsldfmsk dddfsdsdfsd.
A PowerPoint about Algorithm’s. What is an algorithm?  a process or set of rules to be followed in calculations or other problem-solving operations,
Searching. RHS – SOC 2 Searching A magic trick: –Let a person secretly choose a random number between 1 and 1000 –Announce that you can guess the number.
Searching and Sorting Topics Linear and Binary Searches Selection Sort Bubble Sort.
‘How to make perfect English tea’ Ewa Pacykowska.
For this unit, you will develop a new swimming / leisure business. 2. You will need to think of a name & concept for the business. 3. Over the.
Simple Iterative Sorting Sorting as a means to study data structures and algorithms Historical notes Swapping records Swapping pointers to records Description,
Does white candles burn faster than color candles Yesenia Roa 018.
人教版(新目标)( 2012 教材)初中八上 Unit8 How do you make a banana mike shake?
Top-Down Design Damian Gordon. Top-Down Design Top-Down Design (also known as stepwise design) is breaking down a problem into steps. In Top-down Design.
How to make a Perfect Cup of Tea Supplies Kettle Ceramic tea-pot Large ceramic mug and spoon Microwave oven.
Intro to Sorting Intro to Computer Science CS1510 Dr. Sarah Diesburg.
A PowerPoint about Algorithm’s. What is an algorithm? A step by step process of instruction.
Slide 1 What makes up an information system? Input Process Output Temperature and rainfall from a variety of places Analyse the information and present.
By Zoe Cornell. Mug Kettle Tea bag Milk Sugar Pour water into the kettle and switch it on.
Learn about the system life cycle Plan the outline of your project
Sequence Damian Gordon. Pseudocode When we write programs, we assume that the computer executes the program starting at the beginning and working its.
Mug Tea bag Kettle Milk Sugar (only if you like it in your tea) A spoon Biscuits A plate for the biscuits.
INGREDIENTS: 1 cup of semoline 1 ½ cup of flour 1 cup of yoghurt 1 cup of water 1 ½ tea spoon of baking powder A suitable amount of corn oil The sweet.
PI “I am the Tea Expert” Management Case Study of My Cup of Tea Organising Business Activities in the Most Effective Way PI & MSC.
Searching Topics Sequential Search Binary Search.
Searching & Sorting. Algorithms Step by step recipe to do a task…
Computer Control Using computers to do tasks. What are Computers used for? ringing your alarm clock. microwaving your breakfast checking for text messages.
Pseudocode Skill Area Materials Prepared by Dhimas Ruswanto, BMm.
Unit 2 Day 11 FOCS – Human Computer Interaction. Tower Building Presentation Explain your solution.
Mise – En - Scene LocationCharacter/sObjects & Props Costume, Hair & Make-up Camera lighting 1) The location is going to be Israa’s house in the kitchen.
WHICH SEARCH OR SORT IS BETTER?. COMPARING ALGORITHMS Time efficiency refers to how long it takes an algorithm to run Space efficiency refers to the amount.
Sequences, Modules and Variables David Millard
Comp1004: Programming in Java II Computational Thinking.
Searching/Sorting. Searching Searching is the problem of Looking up a specific item within a collection of items. Searching is the problem of Looking.
HOW TO MAKE A GOOD CUP OF TEA SKW 3061 ENGLISH WORKPLACE MISS GURMINDERJEET KAUR MOHAMAD SHAZRYL B. MOHD SHUKOR B01SPS13F
Building Good Solutions David Millard
Searching and Sorting Algorithms
FLOWCHARTS Part 1.
Week 13: Searching and Sorting
Revision Units Exam date 16th May 2017 Summer 1.
IGCSE 6 Cambridge Effectiveness of algorithms Computer Science
Sorting by Tammy Bailey
Algorithms & Logic.
Algorithms & Logic Mr Conti.
Intro to Computer Science CS1510 Dr. Sarah Diesburg
Design and Technology Academic Year 2017/2018 Grade 7 First Semester.
Algorithms Today we will look at: what the word algorithm means
Algorithms Y10 Introduction.
8/04/2009 Many thanks to David Sun for some of the included slides!
Algorithms Key Revision Points.
Process/ Instruction Writing
Searching and Sorting Arrays
Intro to Computer Science CS1510 Dr. Sarah Diesburg
CPS120: Introduction to Computer Science
CPS120: Introduction to Computer Science
Unit 2: Computational Thinking, Algorithms & Programming
Speaking Presentation
Flowcharts Activity One
Algorithms TASK Outcomes What is an algorithm?
Presentation transcript:

A PowerPoint about Algorithm’s

What is an algorithm? A list Of cammands / instructions to do a tasks

START GET CUP PUT TEA BAG IN PUT MILK IN PUT SUGAR IN? STIR IT END NO YES START Put water in kettle Boil kettle Get a cup and put a tea bag in Pour water in kettle Remove tea bag Put milk in? Put sugar in? END NO YES NO They forgot the water & they don’t say how much. Also it’was missing steps They still don’t give you an opshon to say how much of what & what if you don’t know how to turn on kettle? Also this is not the set of cammands to make tea – because its missing steps Also it has a logic error! Also if it’s too long it wont be as a efficient as it could be. Because there could be too many steps witch takes too long to right out.

Searching for data…. Using Algorithms. What is a linear search algorithm? It’s when it searching for it one by one (long way) What is a binary search algorithm? It’s when it searching by halfing & halfing again untill it finds it (a lot of the time faster)

Which is best when searching for data? Why? Use an example and give the good and bad points of each search method I would say binary search most of the times because if there’s a lot of thing to search though it’s eayer to half & half again to find it a lot faster! For example with the game guess who it would have been better to use binary search to because it would of taken a lot more turns to find out with linear search. And that’s because in guess who many people ask if it is a boy or girl witch will half the amount of guesses. Also if using binary it could take up to 5 to 8 goes to win but with linear search it could take up to 24 goes to win

Sorting out date! Selection is were you look though it until you find the 1 st one then look though it again until you got all of them into the right order. (It’s not the fasts way of sorting) Bubble is were you look at one then put it into a place then the next one you see if it goes lower or higher than the 1 st one. Merge is were you put them into groups of half then you sort them in there groups then put them back together. (But putting them into groups could west time) Selection is were you look though it until you find the 1 st one then look though it again until you got all of them into the right order. (It’s not the fasts way of sorting) Bubble is were you look at one then put it into a place then the next one you see if it goes lower or higher than the 1 st one. Merge is were you put them into groups of half then you sort them in there groups then put them back together. (But putting them into groups could west time)