Skip to content · ⁨본문 바로가기⁩

Linear search and bubble sort

English

Find one mark, then order the list

  • Syllabus topic 10.2 asks for two algorithms on an array: a linear search and a bubble sort.
  • A linear search looks at every cell. Remember the index when the value matches. If it never matches, the index stays 0.
  • Searching does not move the values. Sorting does.
한국어

한 점 찾기, 목록 정렬하기

  • syllabus 주제 10.2는 배열에 대한 두 가지 알고리즘인 선형 검색과 버블 정렬을 요구합니다.
  • 선형 검색은 모든 셀을 봅니다. 값이 일치할 때 인덱스를 기억하십시오. 절대 일치하지 않으면 인덱스는 0으로 남습니다.
  • 검색은 값을 이동시키지 않습니다. 정렬은 이동시킵니다.

Handout · ⁨교재 자료⁩

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP