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

Karteikarten

Subroutines

Thomas Barker Computing A level Englisch 8 Karten

Karten in diesem Stapel (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.

Informationen

Beschreibung
A level Computing (Unit1) Karteikarten am Subroutines, erstellt von Thomas Barker am 23/01/2018.
Erstellt von
Thomas Barker
Aufrufe
0
Bewertung

Mehr zu Functions and Procedures

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck