programming techniques p2 Flashcards

1
Q

what are functions and procedures

A

Named blocks of code designed to perform a specific task.

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

difference between functions and procedures

A

functions return a value , procedures dont

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

what is passing parameter by reference

A

the address of the parameter is given to the subroutine, so the value of the
parameter will be updated at the given address.

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

what is passing a parameter by value

A

copy of the value is passed to the subroutine and discarded at the end
therefore its value outside of the subroutine will not be affected

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

whats an ide

A

a program which provides a set of
tools to make it easier for programmers to write, develop and debug code.

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