Lompat ke konten

Algoritma pencarian

Diperkenalkan
Lembar Kerja
Pelajaran video untuk topik ini Buka halaman video
15:34

Pencarian & Pengurutan

Buku telepon dengan satu juta nama. Jika Anda memeriksanya satu per satu, Anda mungkin melakukan satu juta perbandingan. Namun Anda sudah tahu triknya: buka di tengah…

Narasi bahasa Inggris · takarir bahasa Inggris dan 中文 yang dapat dipilih

Dalam pelajaran ini

Pelajaran video
Kosa kata
English Makna
comparisonsChecks that examine the relationship between values and give a true or false result.
list/lɪst/A collection of items arranged in a particular order.
linear search/ˈlɪnɪə sɜːtʃ/pencarian linear
binary search/ˈbaɪnəri sɜːtʃ/pencarian biner
element/ˈelɪmənt/A substance made of atoms with the same proton number.
target/ˈtɑːɡɪt/The value that a search is trying to find.
Worst caseThe situation where a search needs the most comparisons.
trace/treɪs/To follow an algorithm step by step and record its values.
linked listsData structures where each item stores a link to the next item.
arraysData structures that store items in positions accessed directly by their index.
Sorting/ˈsɔːtɪŋ/The process of putting items into a chosen order.
direct access/daɪˈrekt ˈækses/The ability to reach an item without going through earlier items.
recordsGroups of related data stored together as a single item.
algorithm/ˈælɡərɪθəm/A finite sequence of precise steps for solving a problem or carrying out a task.
lookup tableA collection of stored values used to find information quickly.
insertion/ɪnˈsɜːʃn/The process of adding a new item to a collection.
loop conditionA test that decides whether a loop should continue running.
Selanjutnya →

Lembar Kerja

Masuk atau buat akun

IGCSE, A-Level & AP