Functions and Procedures Flashcards
1
Q
Do Procedures or Functions return values?
A
Functions, procedures do not.
2
Q
What might you need to do as your programs become larger and more complex?
A
Break down into smaller self contained sections.
3
Q
What do subroutines do?
A
Allow code that you intend to use a number of times to be grouped together under one name.
4
Q
Are functions or procedures subroutines?
A
both are subroutines.
5
Q
Can values be passed to both procedures and functions?
A
Yes.
6
Q
What will Functions do after processing has taken place?
A
Return a value.
7
Q
Can functions and procedures have arguments?
A
yes, both can.
8
Q
Can subroutines be used in other programs?
A
Yes.