Quiz
Untitled
This quiz has question types that open in the usual player.
Questions in this quiz (2)
1It is something [blank_start]like insertion sort.[blank_end] So we take one [blank_start]element from an array and compare it wit[blank_end]h all of the previous ones.
There are several problems. - First one is the value of variable „i“, 3 is wrong value, we have to set it to 1, because we want to start sorting from - the beggining of an array. 2nd problem is the condition in the while loop which breaks the loop if the value of variable „j“ becomes less than 0. And the last, 3rd mistake can by corrected by keeping "arr[j+1] = key;" inside the while loop.- Alike insertion sort.
- Belement from an array and compare it wit
2It is something [blank_start]like insertion sort[blank_end]. So we take one element from an array and compare it with all of the previous ones.
There are several problems. First one is the value of variable „i“, 3 is wrong value, we have to set it to 1, because we want to start sorting from the beggining of an array. 2nd problem is the condition in the while loop which breaks the loop if the value of variable „j“ becomes less than 0. And the last, 3rd mistake can by corrected by keeping "arr[j+1] = key;" inside the while loop.- Alike insertion sort
- Basdadasda
- Casfafsafsaqs
Information
- Description
- Quiz on Untitled, created by Be3 Academy on 27/03/2018.
- Author
- Be3 Academy
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz