Which one is measure of software complexity?

2022

Which one is measure of software complexity?

  1. A.

    Number of lines of code (LOC)

  2. B.

    Number of man years

  3. C.

    Number of function points (FP)

  4. D.

    All of the above

Attempted by 184 students.

Show answer & explanation

Correct answer: D

The correct answer is option 4.

Concept:

Option 1 (Number of lines of code) and Option 3 (Number of function points) are measures of software complexity, while Option 2 (Number of man years) is not typically considered a measure of complexity but rather a measure of development effort. Therefore, the correct answer is option 4: all of the above.

  • The Number of Lines of Code (LOC) measures the size of the program, and a larger codebase can be more complex to maintain and understand. However, LOC does not take into account the quality or efficiency of the code.

  • Function Points (FP) is another metric used to measure the size and complexity of a software system, which focuses on the functionality provided by the system. FP considers the number of inputs, outputs, inquiries, files, and interfaces involved in the system.

  • While man-years can be used as a measure of development effort, it does not necessarily indicate the complexity of the software. A small software project can still require many man-years of effort if the development team is small, inexperienced, or working with difficult technologies.

Explore the full course: Up Lt Grade Assistant Teacher 2025