Lompat ke konten

Operators, strings and subroutines

Diperkenalkan
Lembar Kerja
Pelajaran video untuk topik ini Buka halaman video
13:08

Pemrograman

Berikut program pendek. Program ini membaca lima nilai ujian tes dan mencetak totalnya. Lima nilai tersebut adalah delapan, sembilan, tujuh, enam, dan sepuluh, sehingga total seharusnya empat puluh. Perhatikan…

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

Dalam pelajaran ini

Pelajaran video
Kosa kata
English Makna
program/ˈprəʊɡræm/A set of instructions specifying operations for a computer to carry out.
values/ˈvæljuːz/
operators/ˈɒpəreɪtəz/operator
strings/strɪŋz/LENGTH, SUBSTRING , UCASE, LCASE.
code/kəʊd/
comments/ˈkɒments/Explanatory text in source code or markup that does not execute as a program instruction.
Arithmetic/əˈrɪθmətɪk/
power/ˈpaʊə/
library routines/ˈlaɪbrəri ruːˈtiːnz/Reusable functions or procedures supplied in a collection for programs to call.
remainder/rɪˈmeɪndə/For integer division here, the amount left after taking whole groups of the divisor.
Relational/rɪˈleɪʃənl/
Boolean/ˈbuːlɪən/A logical value that is either true or false.
Logical/ˈlɒdʒɪkl/
characters/ˈkærɪktəz/A text unit such as a letter, digit, punctuation mark or other symbol.
LENGTH/leŋθ/
SUBSTRING/ˈsʌbstrɪŋ/
UCASE
LCASE
procedure/prəˈsiːdʒə/
function/ˈfʌŋkʃn/
RETURN/rɪˈtɜːn/
parameter/pəˈræmɪtə/
local variable/ˈləʊkl ˈveərɪəbl/
subroutine/ˈsʌbruːtiːn/
global/ˈɡləʊbl/
CALL/kɔːl/
Selanjutnya →

Lembar Kerja

IGCSE, A-Level & AP