All mock tests are FREE till 31 December — register to save your progress

Which design metric is used to measure the compactness of the program in terms of lines of code?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. Conciseness

Explanation

In the standard list of software quality/design attributes used with McCall-style metrics, conciseness is defined as the compactness of the program in terms of lines of code — a concise design achieves the required function with less code. Consistency measures the uniform use of notation, naming and design conventions across the product. Efficiency concerns the processing time and storage the program consumes at run time, not its source size. Accuracy measures the precision of computations and outputs. Hence the compactness attribute is conciseness.

More Database Management Systems questions