GoConqr has a new look! Let us know what you think.

Flashcards

Subroutines

Thomas Barker Computing A level English 8 cards

Cards in this deck (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.

Information

Description
A level Computing (Unit1) Flashcards on Subroutines, created by Thomas Barker on 23/01/2018.
Created by
Thomas Barker
Views
0
Rating

More on Functions and Procedures

Feedback

What is it about?

What do you think of the new look?

How do you like it?