Preview

04 - Importance of Maintainability

 1. What are factors that contribute to making a proram maintainable and easily readable?

  all of the above

  use of comments

  indentation of code

  Use of meaningful identifiers

 2. Having evaluated the visual design of the software, the team must also focus on code structure. Ensuring m___________ and readability is important.

  marginality

  mixability

  minimalism

  maintainability

 3. There are generally three times of maintainance:
Corrective, Adaptive and Perfective

  FALSE

  TRUE

 4. This type of maintenance is necessary when the client needs the software to run on an environment other than the one that it was originally designed for

  none of the above

  adaptive

  corrective

  perfective

 5. This type of maintenance is concerned with altering the software to add new features or enhancements not originally requested in the software specification

  corrective

  perfective

  none of the above

  adaptive

 6. If the software is found to contain any errors that it should not have contained, it is necessary to perform _______________ maintenance.

  none of the above

  perfective

  adaptive

  corrective

 7. Maintainable software is incredibly difficult to extend or fix

  FALSE

  TRUE

 8. What is meant by using 'comments' in code?

  Speaking out loud as you code

  Writing down additional bits of code that do the same thing

  Providing alternative code (comments) that produce a different output

  Explaining the actions of a certain block or line of code

 9. ___________ helps with code being read easily by other programmers. It is also easier to test when this is used as you can see where code blocks begin and end

  Indentation

  Building statements

  Comments

  If statements

 10. What is the following excerpt describing?
Other programmers can understand what the creator is trying to achieve. Prevent a block of code from being translated so it can be used later on/to help with spotting errors.

  the advantages of commenting

  the disadvantages of indenting

  the advantages of indenting

  the disadvantages of commenting