Lompat ke konten

Algoritma dan pseudokode

Diperkenalkan
Lembar Kerja
Pelajaran video untuk topik ini Buka halaman video
14:30

Pemikiran Komputasional

Berikut sebuah tugas: bangun sistem untuk mengelola stok seluruh toko — setiap produk, setiap penjualan, setiap pengiriman, setiap laporan. Sebagai satu masalah raksasa, itu terlalu besar untuk…

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

Dalam pelajaran ini

Pelajaran video
Kosa kata
English Makna
algorithm/ˈælɡərɪθəm/algoritma
sequence/ˈsiːkwəns/urutan
deterministic/dɪˌtɜːmɪˈnɪstɪk/deterministik
randomised algorithmAn algorithm that uses random choices and can behave differently with the same input.
programming language/ˈprəʊɡræmɪŋ ˈlæŋɡwɪdʒ/A language used to write instructions that a computer can run.
process/ˈprəʊses/The actions that change input data to produce a result.
identifier table/aɪˈdentɪfaɪə ˈteɪbl/tabel pengenal
code/kəʊd/Instructions written in a programming language for a computer to follow.
variable/ˈveərɪəbl/variabel
data type/ˈdeɪtə taɪp/tipe data
pseudocode/ˈsuːdəʊkəʊd/pseudokode
constructsBasic ways to organise steps in an algorithm, including order, choice and repetition.
Assignment/əˈsaɪnmənt/The action of storing a value in a variable.
comparison/kəmˈpærɪsn/Examining two or more items to identify similarities, differences or their relative order.
whole-number divisionDivision that gives the whole-number part of the result without the remainder.
remainder/rɪˈmeɪndə/The amount left after division into equal whole groups, or the residual expression after algebraic division.
loop/luːp/perulangan
count-controlled loop/kaʊnt kənˈtrəʊld luːp/perulangan terkontrol jumlah
condition/kənˈdɪʃn/A requirement or circumstance that affects what happens or whether something is true.
body/ˈbɒdi/The statements inside a loop that run each time the loop repeats.
pre-condition loop/priː kənˈdɪʃn luːp/perulangan pra-kondisi
post-condition loop/pəʊst kənˈdɪʃn luːp/perulangan pasca-kondisi
iteration/ˌɪtəˈreɪʃn/iterasi
selection/sɪˈlekʃn/pemilihan
statementsInstructions in a program or pseudocode that tell the computer what to do.
flowchart/ˈfləʊtʃɑːt/diagram alir
decision/dɪˈsɪʒn/A test in a flowchart that chooses a path based on a condition.
flow lineA line with an arrow showing the direction between steps in a flowchart.
structured English/ˈstrʌktʃəd ˈɪŋɡlɪʃ/A restricted form of ordinary English that uses clear sequence, selection and repetition statements to describe an algorithm.
Stepwise refinement/ˈstepwaɪz rɪˈfaɪnmənt/The process of expanding an outline into detailed steps until each can be coded.
logic statementsConditions made from comparisons that may be joined using AND, OR or NOT.
comparisonsOperations that check the relationship between two values.
initialise/ɪˈnɪʃəlaɪz/Give a variable or data structure its starting value before it is used.
running total/ˈrʌnɪŋ ˈtəʊtl/A value that is updated as new amounts are added.
Selanjutnya →

Lembar Kerja

Masuk atau buat akun

IGCSE, A-Level & AP