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

Flashcards

Subroutines

Daniel Smillie English 7 cards

Cards in this deck (7)

  1. 1SubroutineA block of named code designed to carry out a specific task.
  2. 2FunctionA subroutine that returns a value.
  3. 3Built-in Function and LibrariesProgramming language come with many built-in functions which perform common tasks.
    E.g. sqrt, len, asc, chr, round
  4. 4ParameterIdentifies data being passed into a subroutine
  5. 5ArgumentAn item of data being passed into a subroutine
  6. 6Local VariableA variable that is only available in specific subroutines and functions
  7. 7Global VariableA variable that is available anywhere in the program

Information

Description
Be familiar with subroutines and their uses. Know that a subroutine is a named ‘out of line’ block of code that may be executed (called) by simply writing its name in a program statement. Be able to describe the use of parameters to pass data within programs. Be able to use subroutines with interfaces Be able to use subroutines that return values to the calling routine. Know that subroutines may declare their own variables, called local variables.
Created by
Daniel Smillie
Views
13
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?