コンテンツへスキップ

Procedures, functions and structured programming

導入済み
プリント
このトピックのビデオレッスン 動画ページを開く
23:18

プログラミング基礎

プログラムはパスワードを求め、正しい値が入力されるまで繰り返し要求する必要があります。単純ですが、どのループを使いますか? プログラムは判断を行い、作業を繰り返しますが、選択を…

英語のナレーション・英語と中国語の字幕を切り替え可能

このレッスンの内容

動画レッスン
語彙
English 意味
library/ˈlaɪbrəri/A collection of reusable routines that programs can call.
subroutines/ˈsʌbruːtiːnz/サブルーチン
punched paper tapeA strip of paper with holes that represent stored data or instructions.
call/kɔːl/To make a named routine run from another part of a program.
return address/rɪˈtɜːn əˈdres/The location where execution should resume after a called routine finishes, saved as part of managing the call.
function callAn instruction to run a function and use the value it returns.
procedure/prəˈsiːdʒə/手続
function/ˈfʌŋkʃn/関数
Structured programming/ˈstrʌktʃəd ˈprəʊɡræmɪŋ/A way of building programs using clear structures and smaller named routines.
expression/ekˈspreʃn/A combination of values, variables and operators representing a quantity or a value to be evaluated.
return value/rɪˈtɜːn ˈvæljuː/The value a function passes back to the part of the program that called it.
decomposition/ˌdiːkɒmpəˈzɪʃn/分解
Parameters/pəˈræmɪtəz/The variables a subroutine declares to receive values; the values the caller supplies are the arguments.
arguments/ˈɑːɡjuːmənts/実引数
interface/ˈɪntəfeɪs/A way for users or programs to communicate with the computer's hardware.
variables/ˈveərɪəblz/A quantity or named value that can change or take different values.
header/ˈhedə/Control information placed before a message's payload, such as addresses, sequence numbers or protocol identifiers.
signature/ˈsɪɡnɪtʃə/シグネチャ
types/taɪps/Categories that describe what kind of data values can be stored or used.
return type/rɪˈtɜːn taɪp/The data type of the value a function passes back.
identifier/aɪˈdentɪfaɪə/A name used to identify a program element such as a variable, function or class.
data type/ˈdeɪtə taɪp/A classification of values that determines their representation and permitted operations.
Pass by value/pæs baɪ ˈvæljuː/The routine receives a copy, so changes inside it do not reach the caller. Use it for inputs the routine only reads.
Pass by reference/pæs baɪ ˈrefrəns/A way of passing a variable that lets a routine change the caller's variable.
reference/ˈrefrəns/A link to a variable that lets a routine access and change it.
global variable/ˈɡləʊbl ˈveərɪəbl/グローバル変数
local variable/ˈləʊkl ˈveərɪəbl/ローカル変数
scope/skəʊp/スコープ
memory/ˈmeməri/The part of a computer that holds data and programs currently in use.
string/strɪŋ/A sequence of characters treated as a single data value.
statement/ˈsteɪtmənt/A line of code that tells a program what to do.
module/ˈmɒdjuːl/A separate part of a program that performs a particular task.
array/əˈreɪ/An indexed collection of elements arranged in one or more dimensions.
declarationsStatements that give variables their names and data types, and arrays their bounds.
counter/ˈkaʊntə/A device or variable that records how many events or items have occurred.
initialisedGiven a starting value before being used in a program.
loop/luːp/A structure that repeats a sequence of instructions.
element/ˈelɪmənt/A substance made of atoms with the same proton number.
condition/kənˈdɪʃn/A requirement or circumstance that affects what happens or whether something is true.
comparison/kəmˈpærɪsn/Examining two or more items to identify similarities, differences or their relative order.
constructsParts of a program with a defined structure that control how instructions run.
pseudocode/ˈsuːdəʊkəʊd/A language-independent description of an algorithm using structured, programming-like statements.
search/sɜːtʃ/To look through data for an item that matches a given value.
次へ →

プリント

ログインまたはアカウント作成

IGCSE, A-Level & AP