Passer au contenu

Operators, strings and subroutines

Introduit
Fiche de cours
Leçon vidéo pour ce sujet Ouvrir la page vidéo
13:08

Programmation

Voici un court programme. Il lit cinq notes de test et affiche le total. Les cinq notes sont huit, neuf, sept, six et dix, donc le total devrait être quarante. Regardez…

Narration en anglais · sous-titres en anglais et en 中文 au choix

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
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/opérateurs
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ʒə/procédure
function/ˈfʌŋkʃn/fonction
RETURN/rɪˈtɜːn/
parameter/pəˈræmɪtə/paramètre
local variable/ˈləʊkl ˈveərɪəbl/variable locale
subroutine/ˈsʌbruːtiːn/
global/ˈɡləʊbl/
CALL/kɔːl/
Suivant →

Fiche de cours

IGCSE, A-Level & AP