Quiz
Sem título
Este quiz tem tipos de pergunta que abrem no player de sempre.
Perguntas do 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
Informações
- Descrição
- Quiz sobre Sem título, criado por Be3 Academy em 27-03-2018.
- Autor
- Be3 Academy
- Idioma
- English
- Visualizações
- 0
- Avaliação
- Ainda sem avaliações Avalie este quiz