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
- Indexed/grouped allocation (of disk blocks to a file) is useful because: (A) It supports both sequential and direct access. (B) The entire…
- A moving-head disk has 200 tracks, numbered 0 to 199. The head has just finished a request at track 125 and is currently at track 143 (so i…
- A disk head is currently at cylinder 50. The pending requests, in the order they arrived, are for cylinders: 4, 34, 10, 7, 19, 73, 2, 15, 6…
- What is called journaling in a Linux operating system?
- In a file allocation system, the following allocation schemes are used: (A) Contiguous allocation, (B) Indexed allocation, (C) Linked alloc…
- Suppose a Linux file system has a block size of 2K bytes, a disk address is 32 bits, and an i-node contains the disk addresses of the first…