ADVANCE DATA HANDLING CONCEPTS

It is a topic on Chapter 8 in the book Programming logic and Design, Comprehensive, 8th edition by Joyce Farrel.
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Refining the Bubble Sort

Go down 
Go to page : Previous  1, 2
AuthorMessage
Shiela
Guru


Posts : 10
Join date : 2018-08-28

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 3:58 pm

rachellgrace wrote:
Bubble sort is a simple sorting algorithm. This sorting algorithm is comparison-based algorithm in which each pair of adjacent elements is compared and the elements are swapped if they are not in order.
Bubble Sort is a simple algorithm which is used to sort a given set of n elements provided in form of an array with n number of elements. Bubble Sort compares all the element one by one and sort them based on their values
Back to top Go down
View user profile
rach
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 4:18 pm

ahnmaria wrote:
What is bubble sort algorithm?
Bubble sort algorithm starts by comparing the first two elements of an array and swapping if necessary, i.e., if you want to sort the elements of array in ascending order and if the first element is greater than second then, you need to swap the elements but, if the first element is smaller than second, you mustn't swap the element. Then, again second and third elements are compared and swapped if it is necessary and this process go on until last and second last element is compared and swapped. This completes the first step of bubble sort.
Back to top Go down
View user profile
rach
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 4:19 pm

ahnmaria wrote:
What is the importance of sorting data?
sorting data will help the programmers to easily find the data they needed.
Back to top Go down
View user profile
rach
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 4:21 pm

VOVOFRIEND wrote:
why bubble sort algorithm is called "BUBBLE"??
imagining many bubble that passing in each other that what happens to your data haha
Back to top Go down
View user profile
rach
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 4:23 pm

rach wrote:
ahnmaria wrote:
What is the importance of sorting data?
sorting data will help the programmers to easily find the data they needed.
and another is to synchronize everything to the program will look clean.
Back to top Go down
View user profile
rach
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 4:24 pm

Anna wrote:








































A complete presentation about the first topic of bubble sort algorithm
a big help to understand the sorting of data
Back to top Go down
View user profile
jennyy
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 4:45 pm

trying to understand those flowchart guys can anyone explain or elaborate it?
Back to top Go down
View user profile
jennyy
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 4:45 pm

rach wrote:
VOVOFRIEND wrote:
why bubble sort algorithm is called "BUBBLE"??
imagining many bubble that passing in each other that what happens to your data haha
It makes the element sink one after the other base on my own understanding
Back to top Go down
View user profile
jennyy
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 4:47 pm

ahnmaria wrote:
What is the importance of sorting data?
well sorting data makes it more organize and easily finding a data you needed
Back to top Go down
View user profile
jennyy
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 4:48 pm

VOVOFRIEND wrote:
why bubble sort algorithm is called "BUBBLE"??
Bubble because it has a characteristics of sinking in each other like what bubbles do.
Back to top Go down
View user profile
jennyy
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: Refining the Bubble Sort   Mon Oct 15, 2018 4:53 pm

ahnmaria wrote:
What is the importance of sorting data?
its like keeping your clothes together in a cabinet to easily get it when you needed to
Back to top Go down
View user profile
johnrobert
Guru


Posts : 10
Join date : 2018-10-16

PostSubject: Re: Refining the Bubble Sort   Tue Oct 16, 2018 9:41 am

ahnmaria wrote:
What is the importance of sorting data?
how difficult it is to find a thing if its too messy?
Back to top Go down
View user profile
johnrobert
Guru


Posts : 10
Join date : 2018-10-16

PostSubject: Re: Refining the Bubble Sort   Tue Oct 16, 2018 9:42 am

jennyy wrote:
trying to understand those flowchart guys can anyone explain or elaborate it?
just read it from top to bottom it really difficult to analyze haha
Back to top Go down
View user profile
sofiaa
Guru


Posts : 10
Join date : 2018-10-16

PostSubject: Re: Refining the Bubble Sort   Tue Oct 16, 2018 9:49 am

all are asking about ASCII code but how about the UNICODE?
Back to top Go down
View user profile
sofiaa
Guru


Posts : 10
Join date : 2018-10-16

PostSubject: Re: Refining the Bubble Sort   Tue Oct 16, 2018 9:50 am

jennyy wrote:
rach wrote:
VOVOFRIEND wrote:
why bubble sort algorithm is called "BUBBLE"??
imagining many bubble that passing in each other that what happens to your data haha
It makes the element sink one after the other base on my own understanding
bubbles easily sink thats why it is comparable to what the data may look like
Back to top Go down
View user profile
sofiaa
Guru


Posts : 10
Join date : 2018-10-16

PostSubject: Re: Refining the Bubble Sort   Tue Oct 16, 2018 9:59 am

VOVOFRIEND wrote:
why bubble sort algorithm is called "BUBBLE"??
simply because it sinks one after the other. just widen your imagination
Back to top Go down
View user profile
sofiaa
Guru


Posts : 10
Join date : 2018-10-16

PostSubject: Re: Refining the Bubble Sort   Tue Oct 16, 2018 10:00 am

a little bit familiar about this book by joyce farrel
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Refining the Bubble Sort   

Back to top Go down
 
Refining the Bubble Sort
Back to top 
Page 2 of 2Go to page : Previous  1, 2
 Similar topics
-
» Bubble gum item
» *SPOILERS* 2012 Sub Exclusive and More named!!
» the mystery of bubbles quest
» The Bubble Trap
» Bubble 1.5 - ches engin (author Felipe Otaviano)

Permissions in this forum:You cannot reply to topics in this forum
ADVANCE DATA HANDLING CONCEPTS :: Algorithm-
Jump to: