proggraming constructs Flashcards
1
Q
whats branching
A
determines the path a program takes , IF statements
2
Q
whats sequence
A
Code is executed line-by-line, from top to bottom.
3
Q
whats itteration
A
repeated execution of code
4
Q
whats pipelining and give an example
A
when The result from one process feeds into the next
E.g. the result of detecting a character touching an enemy feeds
into reducing the number of lives
5
Q
What is passing by reference
A
Address of parameter is given to the subroutine
6
Q
What is passing by value
A
A copy of the value is passed to the sub routine and discarded at the end