Keyword

Definition

Boolean

A data type that can hold one of two values, either true or false.

Character

A single letter, number, or other symbol.

String

A sequence of characters.

Integer

A data type that can hold whole numbers.

Real

A data type that can hold numbers with fractional parts such as decimal points.

Records

A collection of related data.

Array

An array is a data structure used to store a collection of related data items

Simple arrays

An array with one dimension.

Complex arrays

An array of two or more dimensions.

Constants

Values that remain the same throughout the execution of a program.

Variable

A variable is a named storage location in a program's memory. Variables in programming serve as containers for storing data, and they allow you to work with and manipulate that data as the program runs. In the context of a game, the "speed" variable can change to control how fast a player or game character moves, making the game more interactive and engaging. For example, a variable could be speed.

Assignment

The process of assigning a value to a variable. For example, speed =8

Declaration

The process of assigning a type to a variable. For example, speed =8 sets the declaration to a integer number.

Global variables

Variables that are accessible from any part of a program.

Local variables

Variables that are only accessible in the scope in which they are declared.

Scope of variables

The area of a program within which a variable is accessible.

Input

Data that is sent to a computer for processing.

Output

The result of a computation or data that has been processed by a computer.

Sub-routines

A piece of code that performs a specific task and can be called upon whenever needed.

最後修改: 2023年 10月 23日(週一) 18:12