adplus-dvertising
frame-decoration

Question

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

a.

It is easier to understand

b.

There is a more permanent memory of almost unlimited capacity

c.

To counteract the effects of verbose programming

d.

Based on research in psychology that suggests human memory has a short-term memory of about seven slots

Posted under Software Engineering

Answer: (d).Based on research in psychology that suggests human memory has a short-term memory of about seven slots Explanation:This number seven can be traced back to research in psychology, which suggests that human memory is hierarchically organized with a short-term memory of about seven slots, while there is a more permanent memory of almost unlimited capacity.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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?

Q. What do validations of software science and cyclomatic complexity indicate?