procedures and functions

?
  • Created by: 15j.price
  • Created on: 23-09-18 19:12
what is a set of instructions which is stored under one name - when you want your program to do the whole set of instructions you only need to call the name of this?
procedure
1 of 10
what is a set of instructions that is stored under one name that can be called by the main program and returns a value?
function
2 of 10
what type of functions are built in to high level programming languages?
common
3 of 10
what is a special type of variable which is used to pass values into a sub program?
parameters
4 of 10
what is an actual value that the parameters take when the sub program is called?
arguments
5 of 10
what do procedures don't have to take but sometimes will?
parameters
6 of 10
what are called by typing their name (and giving an argument if necessary)?
procedures
7 of 10
what will take at least one parameter and must always return a value?
function
8 of 10
the *what* of a variable, constant, procedure or function defines the parts of the program in which it is recognised and can be used?
scope
9 of 10
what type of variable only exist while the subroutine is executing and is only accessible within the subroutine?
local
10 of 10

Other cards in this set

Card 2

Front

what is a set of instructions that is stored under one name that can be called by the main program and returns a value?

Back

function

Card 3

Front

what type of functions are built in to high level programming languages?

Back

Preview of the front of card 3

Card 4

Front

what is a special type of variable which is used to pass values into a sub program?

Back

Preview of the front of card 4

Card 5

Front

what is an actual value that the parameters take when the sub program is called?

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Programming resources »