First pass Second pass Third pass (no swaps) 1. Compare first two items 2. Correct order? Leave them 3. Not in correct order? Swap them 4. Compare next.

Slides:



Advertisements
Similar presentations
Bubble Sort Example 9, 6, 2, 12, 11, 9, 3, 7 6, 9, 2, 12, 11, 9, 3, 7 Bubblesort compares the numbers in pairs from left to right exchanging.
Advertisements

ONE DIRECTION Harry Zayn Louis Liam Niall.
One direction are a British boy group, that were put together in 2010.They have wrote and recorded many songs throughout the time they have been together.
Decision Maths 1 Sorting Algorithms Bubble Sort A V Ali : 1.Start at the beginning of the data set. 2.Compare the first two elements,
INTEGRANTES. Harry Styles. Niall Horan. Zayn Malik Liam Payne. Louis Tomlinson.
A Quiz. 1. Name the members od One Direction _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _.
Bubble Sort Algorithm It is so named because numbers (or letters) which are in the wrong place “bubble-up” to their correct positions (like fizzy lemonade)
Live While We're Young ONE DIRECTION. Choose the correct word [LIAM PAYNE] Hey girl I'm waitin' on ya, I'm waitin' on ya Come on and let me steak / sneak.

JJustin Beiber was born on a Tuesday the 1 st in March He w as born in Canada HHis favourite colour Purple HHis moms name is Pattie and.
By: Your Name 10 MOST ATTRACTIVE PEOPLE. Criteria Nice Hair Nice Eyes Nice Body Sing/Act.
English musicians Made by Tess & Selah. We are ….  Selah Vandromme  Photograpghy  French fries  Justin Bieber  In a relationship.
Great Britain Mašková Vendula, Běhálková Tereza. Map Character Divided into England, Wales, Scotland and Northern Ireland. Britain washed as the Atlantic.
Exchange Sorting CS-240 Dick Steflik. Exchange Sort Strategy Make n-1 compares of adjacent items, swapping when needed Do this n-1 times with one less.
Selection Sorting CS-240 Dick Steflik. Selection Sort Strategy Find the largest item by making n-1 compares, swap the largest item with the last item.
CS 106 Introduction to Computer Science I 03 / 03 / 2008 Instructor: Michael Eckmann.
CS 106 Introduction to Computer Science I 03 / 08 / 2010 Instructor: Michael Eckmann.
One Direction Made By Chloe Mcdougall. X Factor 5 boys. Started their career on The X Factor. Mentor: Simon Cowell.
MY FAVOURITE POP STARS AND BANDS Read and you will find out.
This presentation is about a band called One Direction. It will teach you about the different members, how they became successful and what they have done.
S0Fg S0Fg.
One Direction Niall Horan Zayn Malik Liam Payne Harry Styles Louis Tomlinson.
Venue Bailey McConnell Ed Sheeran The Vamps One Direction Panic! At The Disco Lucy Spraggan The Henry Allen Trust Stand Up To Cancer.
Introduction Artists About The Artists Prices Charities We Are Supporting Venue Directions What Percentage Goes To Charity.
One Direction.
One Direction. Background Imformation One direction are an English-Irish boy band based in London. There are 4 members, Harry Styles, Louis Tomlinson,
Review for Communication Unit Test Matching Short Answer Essay – 5 paragraph paper assignment.
Decision Maths 1 Sorting Algorithm Shuttle Sort A V Ali : 1.Compare items 1 and 2; swap them if necessary 2.Compare 2 and 3; swap.
To know and use the Bubble Sort and Shuttle Sort Algorithms.
O NE D IRECTION LIAM PAYNE. Personal Information.
The Big Book of One Direction Mary Boone Anna Fajerski pd. 4.
Bubble Sort Example
One Direction English-Irish pop boy band X Factor 2010 Simon Cowell Syco Records contract.
On Tour With One Direction Presented By: Maddy Pesce Project 13 January 9 th 2012 This presentation will introduce you all to One Direction.
One Direction. Background – Harry styles Harry styles is 21 years old, he was born on February 1, He was born in Bromsgrove. He first sung in a.
One Direction The Life Of Fame.
SORTING ALGORITHMS King Saud University College of Applied studies and Community Service CSC 1101 By: Nada Alhirabi 1.
NIALL JAMES HORAN  NIALL’S LIFE .
One Direction By Jls26 Harry Styles Harry Styles was born in Bromsgrove, Worcestershire, England, on February 1, He first sang in a band in a school.
Quizzes! Are you a Directioner?! Take the quiz to find out!...
Sorting Sorting takes an unordered array and makes it an ordered one
ONE DIRECTION<3<3
In the first pass, the first two numbers are compared. The shuttle sort compares the numbers in pairs from left to right exchanging when necessary.
A British boyband. 4 British and one Irish years old.
One Direction Quiz By Lily Noble. SongsThe Band FactsLove Life’s Origin Homes
One Direction. Best Day of My Life On July 17 I went to One Direction’s concert in Vancouver. Trust me it was hot and we walked everywhere! I had to carry.
One Direction Rian Hartness. About the Band One Direction is a band that was created on July on the X- Factor in UK. The band consists of 5 boys.
On tour with This presentation will take you on tour with the greatest band of all time! Presented by: Christiana Galowski Project 13: My Favorite Band.
One Direction. One Direction are an English-Irish pop boy band based in London, consisting of members Niall Horan, Zayn Malik, Liam Payne, Harry Styles,
Niall Horan Zayn Malik Liam Payne Harry Styles Louis Tomlinson.
MY FAVOURITE FOMOUS PERSON Naila Perea Flores Paula Bañón Santillana Institut Jonqueres 2ndA 05/03/2014.
ICT PROJECTS ONE DIRECTION by Sofija Ranković. Lingva ICT projects FAMOUS PEOPLE Important dates: D was formed Zayn Malik was.
Sort Algorithm.
Jeopardy Final Jeopardy Revision Definitions Timeline 1 Timeline 2
MATHS NOVEMBER TEST THURSDAY 16TH NOVEMBER
Frequency Table Pg 35 No.2 Tally Frequency Crisps Flavour
Marketer Academy: Digital Marketing Course in Ghaziabad
Shuttle Sort Example 1st pass Comparisons: 1
Straight Selection Sort
List the differences between these two bar charts
Bubble Sort Example 9, 6, 2, 12, 11, 9, 3, 7 6, 9, 2, 12, 11, 9, 3, 7 Bubblesort compares the numbers in pairs from left to right exchanging.
Searching and Sorting Arrays
Sorting Example Bubble Sort
Sorting Damian Gordon.
Harry Styles: The Modern Day Rock Star
Leveraging Social Media for your Football Program
Decision Maths Unit 7 Sorting Algorithms 3. Shell Sort.
VMG Literacy.
Shuttle Sort Example 1st pass Comparisons: 1
Sequence:01 Lesson:02 Learning Objective: Ask and answer about abilities in the present. lesson: Grammar (PIASP) Teacher: Mrs Wafa Khaled Hadji.
Presentation transcript:

First pass Second pass Third pass (no swaps) 1. Compare first two items 2. Correct order? Leave them 3. Not in correct order? Swap them 4. Compare next pair of items 5. Correct order? Leave them 6. Not in correct order? Swap them 7. Continue until end. If you have passed through the whole list without a swap, the list is sorted. Otherwise, go back to step 1 and start again! Task 1 Sort these scrabble tiles into alphabetical order

First pass Second pass Third pass 1. Compare first two items 2. Correct order? Leave them 3. Not in correct order? Swap them 4. Compare next pair of items 5. Correct order? Leave them 6. Not in correct order? Swap them 7. Continue until end. If you have passed through the whole list without a swap, the list is sorted. Otherwise, go back to step 1 and start again! Task 2 Sort these apps into alphabetical order Snapchat WhatsApp Twitter Instagram Fourth pass (no swaps) Snapchat WhatsApp Twitter Instagram Snapchat Instagram Twitter WhatsApp

First pass Second pass Fourth pass (no swaps) Third pass 1. Compare first two items 2. Correct order? Leave them 3. Not in correct order? Swap them 4. Compare next pair of items 5. Correct order? Leave them 6. Not in correct order? Swap them 7. Continue until end. If you have passed through the whole list without a swap, the list is sorted. Otherwise, go back to step 1 and start again! Niall Horan Zayn Malik Liam Payne Harry Styles Louis Tomlinson Task 3 Sort the members of One Direction by their first name Niall Horan Zayn Malik Liam Payne Harry Styles Louis Tomlinson

First pass Second pass Fourth pass (no swaps) Third pass 1. Compare first two items 2. Correct order? Leave them 3. Not in correct order? Swap them 4. Compare next pair of items 5. Correct order? Leave them 6. Not in correct order? Swap them 7. Continue until end. If you have passed through the whole list without a swap, the list is sorted. Otherwise, go back to step 1 and start again! Extension Task Create your own sorting task! You could use your favourite band, footballers, TV characters, horse breeds… Whatever you can think of!