Fichas
Functions and definitions
Fichas del conjunto (28)
- 1StatementA single instruction or step within a program
- 2Subroutinea subroutine is a set of instructions that perform as specific task as part of a larger program
- 3Procedurea procedure is a subroutine that simply executes it's statements and returns control to the main program
- 4Functiona function is a subroutine that executes it's' statements and returns a single value
- 5Parameteran item of data that is given to a procedure or function e.g the 5 in str(5)
- 6sequencea control structure in which a set of instructions is each executed once, in the order they are written
- 7selectionis a control structure in which an opinion of statements is provided and a condition is used to decide which (if any) statements should be executed
- 8Iterationiteration is a control structure in which a group of statements is executed repeatedly
- 9VariableThe name used to refer to a particular memory location used to store data which may change as the program is running
- 10constantthe name used to store a fixed value. This value is set when the code is written and cannot be changed while the program is running
- 11identifierThe name given to a variable, constant or subroutine
- 12Local variableA variable that is declared and used only within a subroutine
- 13Global Variablea variable declared at the start of the whole program, is used throughout
- 14IntegerA whole number value
- 15Real numberstores decimal numbers
- 16BooleanStores two values e.g TRUE or FALSE
- 17Stringstores a group of characters together in a string
- 18Sequenceexecute each statement once in order written
- 19SelectionAn option of statements and a condition is used to determine which, if any, statement is executed
- 20iterationA control structure in which a group of statements is executed repeatedly
- 21CastingConverts data types e.g str()
- 22ConcatenationJoining of multiple strings together
- 23ProcedureIt can be called from the main program or from another procedure
- 24Case statementsUses a variable instead of a condition to determine which instructions should be executed. An alternative to if statements.
- 25ArraySeveral items of data all of the same type stored under one identifier
- 26specified parts of an array1)Identifier
2)it's dimension
3)it's data type
4)the maximum and minimum index values - 27While loopsa loop in which the condition is tested first, every time the condition is true the instructions is executed
- 28Repeat Until loopsThe instructions are executed, after all the instructions are executed the condition is tested. The loop ends when the condition is true.
Información
- Descripción
- Fichas sobre Functions and definitions, creado por 09064 el 03/02/2015.
- Creado por
- 09064
- Visitas
- 9
- Etiquetas
- Valoración