adplus-dvertising
frame-decoration

Question

What is the ideal size of a module according to (Weinberg, 1971)?

a.

7 elements

b.

30 lines of code

c.

More than 7 elements

d.

Unlimited capacity

Posted under Software Engineering

Answer: (b).30 lines of code Explanation:In (Weinberg, 1971), for instance, the ideal size of a module is said to be 30 lines of code.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the ideal size of a module according to (Weinberg, 1971)?

Similar Questions

Discover Related MCQs

Q. Why is a module suggested to contain at most 7 elements?

Q. What is the main problem associated with using the number of lines of code as a complexity metric?

Q. What does Halstead's method, also known as 'software science', use to overcome the problems associated with metrics based on a direct count of lines of code?

Q. Why is the number seven used as a limit for the number of elements per module?

Q. What is the main drawback of using the number of lines of code as a complexity metric?

Q. What is Halstead's work known for?

Q. What is the second class of intra-modular complexity metrics based on?

Q. What is the complexity metric based on the use of data structures concerned with?

Q. What is the best-known complexity metric from the class of structure-based complexity metrics?

Q. What does McCabe base his complexity metric on?

Q. What is the formula for McCabe's cyclomatic complexity?

Q. What does the cyclomatic complexity of a program depict?

Q. What is the suggested limit of cyclomatic complexity by McCabe?

Q. What is the purpose of McCabe's cyclomatic complexity metric during testing?

Q. What do complexity metrics like those of Halstead and McCabe measure?

Q. What is the purpose of complexity metrics like McCabe's, Halstead's and others?

Q. What is the problem with the known complexity metrics?

Q. What is the 'representation condition' In terms of measurement theory?

Q. Can a higher value of complexity metric necessarily mean that a program is more complex?

Q. What is the recommendation for the use of complexity metrics?