Question

Each of the following heuristics helps make a good module according to some implement ability or...

Each of the following heuristics helps make a good module according to some implement ability or aesthetic principle. Identify the principle.

(a) Eliminate irrelevant classes from your design.

(b) Do not nest control structures more than seven levels deep.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) Eliminating irrelevant classes from your design comes under Class Heuristic principle .

It is the simplest type of heuristics that acts upon individual classes.They evaluate class properties pertaining to method complexity,size,behavioral content and encapsulation.As we know ,When the number of classes increases it becomes harder to maintain and modify So,Class Heuristics eliminates the extra classes to make the design simple and efficient.

b) Do not nest control structures more than seven levels deep it comes under Relationship Heuristic Principle.

  A relationship heuristic are defined for the inheritance ,aggregation and using class relationships.A relationship heuristic acts upon a group of classes,that participates in a specific class relationships.As we know,increase in inheritance increases complexity of a class. So,Relationships heuristic principle limits the inheritance up to level seven.  

Add a comment
Know the answer?
Add Answer to:
Each of the following heuristics helps make a good module according to some implement ability or...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 8. Each of the following heuristics helps make a good module according to some implementability or...

    8. Each of the following heuristics helps make a good module according to some implementability or aesthetic principle. Identify the principle. (1) Provide get and set methods for all attributes in a class that clients might be interested in, even if they are not all used in the current program. (2) Do not reuse variables to hold different data. (3) Avoid operations with only a single line of code. (4) Keep operation parameters to five or less.

  • It's Philosophy QUESTION 1 What, according to Frey, is the Unequal Value Thesis ? A. Animal...

    It's Philosophy QUESTION 1 What, according to Frey, is the Unequal Value Thesis ? A. Animal life has some value B. Animal life has no value C. Human lives are equal to animal lives D. Human life is more valuable than animal life QUESTION 2 Autonomy in humans, according to Frey, refers to what? A. The reason Utilitarianism is the correct moral theory B. Our powers of choice, reflection, and control over our lives C. The way in which we...

  • I’m with the Band The most common way to arrange a pay structure is by defining...

    I’m with the Band The most common way to arrange a pay structure is by defining pay associated with particular jobs. However, this encourages bureaucracy and can reduce flexibility, a real handicap in today's environment. As a result, some companies are experimenting with "banding," or making wider groups of jobs with similar pay. This reduction in the specificity of the structure increases the adaptability of the organization, but can cause some problems. In this exercise, please read the mini-case and...

  • Is it possible for anyone to help me with this assignment that I need in like...

    Is it possible for anyone to help me with this assignment that I need in like 5 hours? Part I: General HCI Questions 1) The "Start" button in Windows is located by default at the bottom left corner of the screen. How might you make accessing the "Start" button faster? What is the name of the principle you are relying on from the principals identified by Donald Norman and Section 1.6 from the textbook (visibility, feedback, constraints, consistency, affordance). What...

  • Module 04 Written Assignment Nursing Process - Case Study Please read the following case study and complete the question...

    Module 04 Written Assignment Nursing Process - Case Study Please read the following case study and complete the questions below. Daniel is a 16 year old boy who is an identical twin. He and his brother Jeff are very close and do most things together. While Daniel excels at sports he believe his brother is much better at most everything. Daniel, his brother, and their two sisters live with their parents in the Midwest. Recently Daniel has been feeling more...

  • Zara Organizational Structure Structure relates to a skeletal framework of activities and process...

    Zara Organizational Structure Structure relates to a skeletal framework of activities and processes in an organisation and specifies the roles of these in achieving goals and objectives of the organisation. According to (Mullins, 2009), a good structure is highly important due to the fact that decisions on structure are primary strategic decisions which can make or break an organisation. One important aspect of a good structure is the human element. Organisation structure should be designed so as to encourage employees...

  • 0.5 points for each question correctly answered. Which of the following does not belong to the as...

    0.5 points for each question correctly answered. Which of the following does not belong to the assumptions underlying the classical model of decision making? 1. All information on possible alternatives is available to managers Managers have the ability to correctly process all the available information . Managers have very good levels of intuition Managers know which course of action is going to be the best for the organization . Which of the following does not belong to the assumptions underlying...

  • Some restaurants use customer checks with pre-numbered sequence codes. Each food server uses these checks to...

    Some restaurants use customer checks with pre-numbered sequence codes. Each food server uses these checks to write up customer orders. Food servers are told not to destroy any customer checks; if a mistake is made, they are to void that check and write a new one. All voided checks are to be turned in to the manager daily. How does this policy help the restaurant control cash receipts? Do you think there is a more efficient way to control cash...

  • In this exam, you will design and implement a Python class called 'Date according to the...

    In this exam, you will design and implement a Python class called 'Date according to the following API specifications. • Do NOT use any existing classes in your answer such as datetime. . You will design your class so that it operates correctly on another planet, where the total days in a year, total days in a month, and months per year may be different. For our planet Earth, you will assume that a year has 360 days and all...

  • Selecting appropriate assessment techniques l: high quality assessments For an assessment to be h...

    5-7 sentences initial thoughts Selecting appropriate assessment techniques l: high quality assessments For an assessment to be high quality it needs to have good validity and reliability as well as absence from bias. Validity Validity is the evaluation of the “adequacy and appropriateness of the interpretations and uses of assessment results for a given group of individuals (Linn & Miller, 2005, p.68). For example is it appropriate to conclude that the results of a mathematics test on fractions given to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT