¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Subroutines

Thomas Barker Computing A level Inglés 8 fichas

Fichas del conjunto (8)

  1. 1What is a Subroutine?a named block in code to carry out a specific task.
  2. 2What is a functionA subroutine which returns a value
  3. 3What are built in functions and libraries?Functions which perform tasks such as print()
    programming languages also come complete with libraries or pre defined subroutines. the module library has to be imported in the program
  4. 4What is a parameterparameter: identifies data being passed into a subroutine
  5. 5What is an argumentargument: an item of data being passed into a subroutine
  6. 6What is a Global Variablea variable that is available anywhere in the program.
  7. 7What is a local variablea variable that is only available in specified subroutines and functions.
  8. 8Name advantages of local variables?-The subroutines will be independent of a
    particular program and can be reused in
    different programs
    -There is no chance of accidentally changing a variable in the main program that is used in a subroutine or vice versa.
    -it keeps your subroutines self-contained.

Información

Descripción
A level (Unit1) Computing Fichas sobre Subroutines, creado por Thomas Barker el 23/01/2018.
Creado por
Thomas Barker
Visitas
0
Valoración

Más sobre Functions and Procedures

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?