GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Data structures in procedural programming

Joseph Stevens Computing A level Englisch 20 Karten

Karten in diesem Stapel (20)

  1. 1StatementSingle executable line of code.
  2. 2SubroutineBlock of code that performs a specific task; called from within the main code.
  3. 3ProcedureSubroutine that a has parameter values passed through it; may return one or many values.
  4. 4FunctionA procedure that will return one value.
  5. 5Parameter (or argument)A variable that is given a value or an address, then passed through a subroutine where it may be given a different identifier. Can be passed on to a stack.
  6. 6How parameters are passed through a procedurePassed by reference or by value. Can be used as a local variable.
  7. 7Local variableDeclared within a subroutine, this variable can only function within that subroutine.
  8. 8Global variableDeclared either at start of the code or in a separate class, this variable can be used for the whole code.
  9. 9VariablePiece of code given an identifier. It represents a value held in a memory location for the program. This value can be changed in the code.
  10. 10ConstantA variable with a fixed value.
  11. 11SequenceStatements that are executed in order in which they appear.
  12. 12SelectionThe execution of a statements or block of statements depending on a particular condition.
  13. 132 types of selectionIF-ELSE statements
    SELECT-CASE statements
  14. 14SELECT-CASE statementsValue of variable/ expression used to decide which of a number of statement blocks are executed. Default option is used with a sensible response.
  15. 15Iteration (or loop)Repeated execution of a statement block for a set number of times
  16. 16Types of iterationFOR loop
    WHILE loop
    DO UNTIL loop
  17. 17FOR loopFixed number of iterations according to start and end values of variable set at beginning.
  18. 18WHILE loopCondition tested before each iteration. Statements in loop will be executed if true.
  19. 19NestingConstruct written within another, each construct must be completely contained in preceding construct. They are not allowed to overlap.
  20. 20RecursionWhen a function calls itself, original call halted until subsequent calls return, eventually reaching a stopping condition.

Informationen

Beschreibung
A level Computing Karteikarten am Data structures in procedural programming, erstellt von Joseph Stevens am 05/05/2015.
Erstellt von
Joseph Stevens
Aufrufe
9
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck