Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

5. What kind of sorting is this:
SORT (k,n)
1.[Loop on I Index]
repeat thru step2 for i=1,2,........n-1
2.[For each pass,get small value]
min=i;
repeat for j=i+1 to N do
{
if K[j]<k[min]
min=j;
}
temp=K[i];K[i]=K[min];K[min]=temp;
3.[Sorted Values will be returned]
A)Bubble Sort
B)Quick Sort
C)Selection Sort
D)Merge Sort

Answer Posted / murali

Bubble sort

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

2025


What does typeof return in c?

1038


Does * p ++ increment p or what it points to?

1079


How can you increase the size of a dynamically allocated array?

1155


What is use of pointer?

1034


Tell me is null always defined as 0(zero)?

1052


Why isn't any of this standardized in c? Any real program has to do some of these things.

1176


Are negative numbers true in c?

1019


What is the meaning of 2d in c?

1079


In c programming language, how many parameters can be passed to a function ?

1074


write a program to find out prime number using sieve case?

2055


Explain how can I right-justify a string?

1018


Describe the steps to insert data into a singly linked list.

1040


What is the difference between union and anonymous union?

1268


provide an example of the Group by clause, when would you use this clause

2155