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 / subbu

answer is a

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of sprintf?

611


Explain the difference between getch() and getche() in c?

560


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

1701


What does node * mean?

703


Can a function argument have default value?

664






How many levels of pointers have?

585


while initialization of array why we use a[][2] why not a[2][]...?

1857


Is using exit() the same as using return?

667


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1836


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

1631


When c language was developed?

630


What are static variables in c?

620


How do you use a pointer to a function?

625


What is malloc return c?

593


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

725