proggraming constructs Flashcards

1
Q

whats branching

A

determines the path a program takes , IF statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

whats sequence

A

Code is executed line-by-line, from top to bottom.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

whats itteration

A

repeated execution of code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is passing by reference

A

Address of parameter​ is given to the subroutine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is passing by value

A

A copy of the value is passed to the sub routine and discarded at the end

How well did you know this?
1
Not at all
2
3
4
5
Perfectly