Maintainability: Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

5What is the first way of making a programme more maintainable?

A
  • Use comments.
  • Explain purpose.
  • Explain sections of code, (selections, iterations and procedures).
  • Explain unusual necessary approaches.
  • Visiually divide sections.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the second way to make a programme more maintainable?

A
  • White spaces to make sections of code easier to see.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the third way to make a programme more maintainable?

A
  • Identation.

- Every selection + Iteration branch.

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

What is the forth way to make a programme more maintainable?

A
  • Descriptive variable names.

- Use comments to explain purpose.

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

What is the fith way to make a programme more maintainable?

A
  • Use procedures or functions to.
  • Structure code.
  • Eliminate duplicating code.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the six way to make a programme more maintainable?

A
  • Use constants declared at the top of the programme.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly