Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Bubble Sort

18,085 views

Published on

A powerpoint we had to

  • Sex in your area is here: ♥♥♥ http://bit.ly/2ZDZFYj ♥♥♥
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Follow the link, new dating source: ♥♥♥ http://bit.ly/2ZDZFYj ♥♥♥
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Bubble Sort

  1. 1. Bubble SortBy: Yoo Lee & Gabrielle Ortiz Block 2A
  2. 2. Basic Introduction:Bubble Sort is a simple yet effective sorting algorithm.Data is placed adjacent to each other.The sort starts from one end (the beginning), compares2 adjacent data, and swaps them if they are in thewrong order.It moves on down the list and continues doing so.When it reaches the end of the data, it starts over untilall the data is in the right order.*As easy as the Bubble Sort is, it is sometimesineffective if there is a lot of data.
  3. 3. When to Use Bubble SortNot much use in the real world, but is a great learning toolbecause it’s easy to understand and fast to implement.Use when a fast algorithm is needed to sort: 1.) an extremely small set of data (Ex. Trying to get the books on a library shelf back in order.) or 2.) a nearly sorted set of data. (Ex. Trying to decide which laptop to buy, because it is easier to compare pairs of laptops one at a time and decide which you prefer, than to look at them all at once and decide which was best.)
  4. 4. When to Not Use Bubble SortWhen dealing with a large set of data.When you are looking for a quick algorithm.Compared to other sorting algorithm, bubble sort isreally slow.
  5. 5. EXAMPLELET’S MIX IT UP!!
  6. 6. EXAMPLE
  7. 7. EXAMPLE
  8. 8. EXAMPLENow this box will go through the list, swappingnumbers if the one previous is greater than theone after, until the numbers are in order.
  9. 9. EXAMPLE
  10. 10. EXAMPLEWRONG ORDER!SWITCH!
  11. 11. EXAMPLEThat’s better.
  12. 12. EXAMPLEMoving on.
  13. 13. EXAMPLEWRONG ORDER!SWITCH!
  14. 14. EXAMPLEWRONG ORDER!SWITCH!
  15. 15. EXAMPLE
  16. 16. EXAMPLEMoving on.
  17. 17. EXAMPLE
  18. 18. EXAMPLE
  19. 19. EXAMPLEWRONG ORDER!SWITCH!
  20. 20. EXAMPLEWRONG ORDER!SWITCH!
  21. 21. EXAMPLE
  22. 22. EXAMPLEMoving on.
  23. 23. EXAMPLE
  24. 24. EXAMPLEWRONG ORDER!SWITCH!
  25. 25. EXAMPLE
  26. 26. EXAMPLEMoving on.
  27. 27. EXAMPLE
  28. 28. EXAMPLEWRONG ORDER!SWITCH!
  29. 29. EXAMPLE
  30. 30. EXAMPLE
  31. 31. EXAMPLEMoving on.
  32. 32. EXAMPLE
  33. 33. EXAMPLENow the box has reached the end of the lineof numbers.It will go back to the beginning and restartthe process
  34. 34. EXAMPLE
  35. 35. EXAMPLEWRONG ORDER!SWITCH!
  36. 36. EXAMPLE
  37. 37. EXAMPLE
  38. 38. EXAMPLEMoving on.
  39. 39. EXAMPLE
  40. 40. EXAMPLEWRONG ORDER!SWITCH!
  41. 41. EXAMPLE
  42. 42. EXAMPLEMoving on.
  43. 43. EXAMPLE
  44. 44. EXAMPLEWRONG ORDER!SWITCH!
  45. 45. EXAMPLE
  46. 46. EXAMPLEMoving on.
  47. 47. EXAMPLE
  48. 48. EXAMPLEWRONG ORDER!SWITCH!
  49. 49. EXAMPLE
  50. 50. EXAMPLEMoving on.
  51. 51. EXAMPLE
  52. 52. EXAMPLEHEY it’s already in the rightorder! No need to change.
  53. 53. EXAMPLE
  54. 54. EXAMPLEHEY it’s already in the rightorder! No need to change.
  55. 55. EXAMPLE
  56. 56. EXAMPLEWRONG ORDER!SWITCH!
  57. 57. EXAMPLE
  58. 58. EXAMPLEMoving on.
  59. 59. EXAMPLE
  60. 60. EXAMPLEHEY it’s already in the rightorder! No need to change.
  61. 61. EXAMPLE
  62. 62. EXAMPLEHEY it’s already in the rightorder! No need to change.
  63. 63. EXAMPLE
  64. 64. EXAMPLEHEY it’s already in the rightorder! No need to change.
  65. 65. EXAMPLE
  66. 66. EXAMPLEWRONG ORDER!SWITCH!
  67. 67. EXAMPLE
  68. 68. EXAMPLEMoving on.
  69. 69. EXAMPLE
  70. 70. EXAMPLEHEY it’s already in the rightorder! No need to change.
  71. 71. EXAMPLE
  72. 72. EXAMPLEHEY it’s already in the rightorder! No need to change.
  73. 73. EXAMPLE
  74. 74. EXAMPLEHEY it’s already in the rightorder! No need to change.
  75. 75. EXAMPLE
  76. 76. EXAMPLEHEY it’s already in the rightorder! No need to change.
  77. 77. EXAMPLEYAY WE’RE DONE!
  78. 78. Links Usedhttp://stackoverflow.com/questions/276113/what-is-a-bubble-sort-good-forhttp://www.stoimen.com/blog/2012/02/20/computer-algorithms-bubble-sort/http://vimeo.com/4315697http://www.algolist.net/Algorithms/Sorting/Bubble_sort

×