IGCSE 0478 / O-Level 2210 Exam: Linear Search & Bubble Sort - Feb/Mar 2024 Paper 22 - Question 3

preview_player
Показать описание
Performing linear search and bubble sort on a given array

Note: syntax used in the videos and the following websites follows the Cambridge IGCSE (0478) and A-Level (9618) qualifications

Рекомендации по теме
Комментарии
Автор

i have a question, if you enter 63 for the linear search, won't it add 1 to the index which is already 1 so the index will be 2 because the program has to run the whole code before it checks the condition again?

EzzatFarid