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 / jitendra kumar arya
c)seletoin sort
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a ternary operator in c?
In a switch statement, what will happen if a break statement is omitted?
How do you list a file’s date and time?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
Define C in your own Language.
What is the mean of function?
What is multidimensional arrays
What is the use of parallelize in spark?
Without Computer networks, Computers will be half the use. Comment.
Why c is known as a mother language?
What language is c written?
Is c easy to learn?
What is static memory allocation? Explain
How do I get an accurate error status return from system on ms-dos?
What is static memory allocation?