O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Functions and definitions

09064 Inglês 28 flashcards

Flashcards do conjunto (28)

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

Informações

Descrição
FlashCards sobre Functions and definitions, criado por 09064 em 03-02-2015.
Criado por
09064
Visualizações
9
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?