function stubs and passing parameters Flashcards

(6 cards)

1
Q

what is a function stub

A

like a skeleton or template for a function

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

what do function stubs contain

A
  • static keyword if in class program
  • return type
  • identifier of function
  • parameter list
  • basic return value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

when are stubs used during development

A

when some functions need to be created and completed at a later time

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

what does a function stub not contain

A

the final implementation of the function in the code body

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

what does the correct interface with the rest of the code allow (FS)

A

allows the program to work before the implementation has been completed

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