Software Design Principles
- 24Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
According to the session, what most objectively indicates that a software design is good?
According to the session, what most objectively indicates that a software design is good?
24 questions
- 1
According to the session, what most objectively indicates that a software design is good?
- A
The design was created by an experienced programmer
- B
The design can be changed with minimal cost and effort
- C
The design contains the largest number of features
- D
The design remains unchanged after its initial release
Correct answer
BThe design can be changed with minimal cost and effort
Explanation
A good design is described as one for which the cost of making changes is minimal.
- A
- 2
Why is evaluating a design only when a major change is required considered inadequate?
- A
The requirements will always remain identical after deployment
- B
The original developers may no longer remember the programming language
- C
The design may already be difficult and expensive to change by then
- D
The design can no longer be tested after it has been deployed
Correct answer
CThe design may already be difficult and expensive to change by then
Explanation
Waiting until change is necessary may reveal that the design is already horrible and too costly to modify. Design quality should be assessed proactively.
- A
- 3
What practice is suggested for proactively evaluating whether a design is effective?
- A
Subject the design to changes during development and observe how it holds up
- B
Avoid changing the design until every feature has been implemented
- C
Ask the original designer whether the design seems correct
- D
Judge the design primarily by how quickly the first version was written
Correct answer
ASubject the design to changes during development and observe how it holds up
Explanation
The session recommends applying changes along the way to see whether the design remains easy to modify, then evolving it when necessary.
- A
- 4
What characteristic is presented as central to a good software design?
- A
It is easy to change as new needs arise
- B
It uses the most advanced available technology
- C
It is completed perfectly in a single attempt
- D
It prevents developers from revisiting earlier decisions
Correct answer
AIt is easy to change as new needs arise
Explanation
The central definition of good design in the session is that it is easier to change.
- A
- 5
Why is the claim that a design is good because its creator made it considered insufficient?
- A
It relies on personal authorship rather than an objective quality criterion
- B
It focuses too heavily on the number of developers involved
- C
It assumes that software designs cannot be evaluated by anyone else
- D
It proves that the design has already been changed too many times
Correct answer
AIt relies on personal authorship rather than an objective quality criterion
Explanation
The speaker rejects this definition because it is subjective and does not objectively establish whether the design is effective.
- A
- 6
Why should developers expect to revise a software design rather than complete it perfectly on the first attempt?
- A
Repeated rewriting eliminates the need for design decisions
- B
Creating high-quality designs generally requires iteration and improvement
- C
The first implementation is usually discarded for performance reasons
- D
Software requirements are always fully known before coding begins
Correct answer
BCreating high-quality designs generally requires iteration and improvement
Explanation
The session emphasizes that getting a good design right the first time is almost impossible, so developers must allow time for improvement.
- A
- 7
What analogy does the session use to support the value of iteration?
- A
Great artists avoid preliminary work to preserve their original vision
- B
Great artists often create prototypes before producing their masterpieces
- C
Great artists improve their work mainly by using newer tools
- D
Great artists complete masterpieces faster than software developers
Correct answer
BGreat artists often create prototypes before producing their masterpieces
Explanation
The speaker notes that famous painters and sculptors often created several prototypes before arriving at a masterpiece.
- A
- 8
What mistaken expectation about software development is criticized?
- A
That programmers should improve software over time
- B
That programmers can write the code once and be finished
- C
That programmers should test code before releasing it
- D
That programmers need to understand changing requirements
Correct answer
BThat programmers can write the code once and be finished
Explanation
The session criticizes the desire to sit down, write the code once, and declare the work complete.
- A
- 9
What does the statement that software is 'always rewritten' emphasize?
- A
Software should be rewritten by a different team after every release
- B
Software can be maintained without understanding its original purpose
- C
Software should be discarded whenever a minor defect is found
- D
Software development should include repeated revision and improvement
Correct answer
DSoftware development should include repeated revision and improvement
Explanation
The statement emphasizes that software should be given opportunities for rewriting and continuous improvement rather than treated as finished after one implementation.
- A
- 10
What can be inferred if someone claims that relevant software was written once and never needed to change?
- A
The project was probably canceled or the software was no longer relevant
- B
The software requirements were guaranteed to remain permanently stable
- C
The software had reached a state where maintenance was impossible
- D
The software was necessarily designed better than all evolving systems
Correct answer
AThe project was probably canceled or the software was no longer relevant
Explanation
The session argues that relevant software must change; software that never changes likely belongs to a canceled or no-longer-relevant project.
- A
- 11
Why must software continually evolve according to the session?
- A
Programming languages require every application to be rewritten annually
- B
Relevant software must adapt to changing needs and circumstances
- C
Software becomes unusable whenever developers add automated tests
- D
Users generally prefer systems that change regardless of the reason
Correct answer
BRelevant software must adapt to changing needs and circumstances
Explanation
The speaker states that any software that remains relevant has to change and evolve.
- A
- 12
What does it mean to 'afford for change' in software design?
- A
To create conditions that make future modifications practical
- B
To postpone all design decisions until after deployment
- C
To preserve the original implementation without modification
- D
To increase the number of features before testing begins
Correct answer
ATo create conditions that make future modifications practical
Explanation
Affording for change means designing and developing software so that it can be modified as it evolves.
- A
- 13
What is identified as the first and hardest step toward creating a better design?
- A
Choosing a more complex architecture
- B
Finishing the initial version quickly
- C
Adding more implementation details
- D
Letting go of personal ego
Correct answer
DLetting go of personal ego
Explanation
The session explicitly identifies letting go of ego as the first and hardest step in creating a better design.
- A
- 14
Why should developers let go of ego when evaluating their designs?
- A
They must recognize that human-created designs cannot be perfect
- B
They must treat every existing design as objectively worthless
- C
They need to ensure that only managers make design decisions
- D
They should avoid taking pride in any technical accomplishment
Correct answer
AThey must recognize that human-created designs cannot be perfect
Explanation
Letting go of ego helps developers accept that they are human and cannot be perfect, making it easier to improve their designs.
- A
- 15
What position does the session take on ego in software development?
- A
A balanced amount can motivate work, but excessive ego can obstruct progress
- B
All ego is harmful because pride prevents every form of collaboration
- C
More ego is always beneficial because it increases technical confidence
- D
Ego has no relationship to motivation or progress in development
Correct answer
AA balanced amount can motivate work, but excessive ego can obstruct progress
Explanation
Ego is compared to cholesterol: some of it can provide pride and passion, but too much can interfere with progress.
- A
- 16
What does being unemotional about a design solution primarily involve?
- A
Remaining unattached to a particular solution while focusing on the problem
- B
Treating the problem as unimportant compared with the implementation
- C
Avoiding discussion whenever another developer disagrees
- D
Suppressing all enthusiasm for software development
Correct answer
ARemaining unattached to a particular solution while focusing on the problem
Explanation
Being unemotional means not becoming attached to one solution and instead remaining committed to solving the underlying problem.
- A
- 17
A developer proposes an approach and welcomes a colleague's better alternative. What principle does this demonstrate?
- A
Commitment to solving the problem rather than defending personal ownership
- B
Belief that the first idea is usually technically inadequate
- C
Refusal to take responsibility for the proposed design
- D
Preference for replacing collaboration with individual experimentation
Correct answer
ACommitment to solving the problem rather than defending personal ownership
Explanation
Inviting others either to use an idea or improve it reflects an unemotional focus on finding the best solution rather than protecting personal ownership.
- A
- 18
Why is it valuable for team members to challenge one another's ideas?
- A
Challenge ensures that the most senior person always wins
- B
Challenge can expose better ways to solve the problem
- C
Challenge allows teams to avoid implementing proposed solutions
- D
Challenge prevents developers from making any independent decisions
Correct answer
BChallenge can expose better ways to solve the problem
Explanation
The session emphasizes that people should be able to challenge each other and suggest something better.
- A
- 19
Which two types of people are described as dangerous to work with?
- A
People who make prototypes and people who revise their designs
- B
People who work independently and people who request feedback
- C
People who cannot follow instructions and people who only follow instructions
- D
People who ask questions and people who propose alternative solutions
Correct answer
CPeople who cannot follow instructions and people who only follow instructions
Explanation
The speaker identifies both people who cannot follow instructions and people who can only follow instructions as dangerous to work with.
- A
- 20
Why can someone who cannot follow instructions be dangerous to a software team?
- A
They may improve the assigned approach without permission
- B
They may identify a more efficient solution than expected
- C
They may fail to act even after receiving clear direction
- D
They may ask for clarification before beginning the task
Correct answer
CThey may fail to act even after receiving clear direction
Explanation
The example describes a person who is given clear instructions but has still done nothing when the manager returns.
- A
- 21
Why can someone who only follows instructions be even more dangerous?
- A
They may refuse to work unless every task is completely unspecified
- B
They may challenge a weak design before it reaches production
- C
They may independently solve a problem without seeking permission
- D
They may execute the literal plan while ignoring an obviously better approach
Correct answer
DThey may execute the literal plan while ignoring an obviously better approach
Explanation
Strictly following instructions can be dangerous when the person notices or encounters a better solution but refuses to pursue it because it was not explicitly requested.
- A
- 22
What kind of behavior should leaders encourage when team members discover a better approach than the original plan?
- A
They should replace the original plan without informing anyone
- B
They should follow the original plan until a manager formally changes it
- C
They should avoid mentioning the alternative to prevent disagreement
- D
They should have the confidence to deviate from the plan and explain the alternative
Correct answer
DThey should have the confidence to deviate from the plan and explain the alternative
Explanation
The session argues that people should be empowered to deviate from a plan and return to challenge it with a better idea.
- A
- 23
What is the purpose of giving a team member direction without simply providing the complete answer?
- A
To delay implementation until the manager has completed the task personally
- B
To encourage the person to discover, implement, and explain a solution independently
- C
To test whether the person can follow instructions without making decisions
- D
To ensure that the manager remains the only person who understands the solution
Correct answer
BTo encourage the person to discover, implement, and explain a solution independently
Explanation
The example shows the leader offering ideas and direction, then allowing the team member to find and implement the answer.
- A
- 24
A team member uses a leader's hints, finds an answer, and implements it independently. What capability does this example illustrate?
- A
The ability to wait for a complete solution from a supervisor
- B
The ability to follow instructions without interpreting them
- C
The ability to use guidance while taking ownership of problem solving
- D
The ability to avoid making changes to an assigned approach
Correct answer
CThe ability to use guidance while taking ownership of problem solving
Explanation
The team member receives direction but independently figures out and implements the solution, demonstrating ownership and initiative.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.