Back to the 2020 paper

Module 3: Software Design & Metrics

20202m

In size-oriented metrics, metrics are developed based on the

(i) number of functions
(ii) number of user inputs
(iii) number of lines of code
(iv) amount of memory usage

Worked SolutionAI Assisted

Solution

Correct Answer: (iii) number of lines of code

Explanation

Size-oriented metrics:

  • Developed based on LOC - e.g., Errors/KLOC, Defects/KLOC, Cost/LOC, Docs pages/KLOC
  • Proposed by early SE measurement.

Contrast:

  • Function-oriented metrics = based on Function Points (number of functions, inputs, outputs, inquiries - Albrecht) → (i) & (ii) are function-point related, not size-oriented.
  • Memory usage (iv) is performance metric, not size-oriented.

Answer: (iii) number of lines of code

Similar questions

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.