Design Principle 3 is "Reduce coupling where possible". What is Coupling and
why is it generally a bad thing?
Coupling occurs when there are interdependencies between one module and
another. When interdependencies exist, changes in one place will require
changes somewhere else.
How does the Multi-Layer architectural pattern work?
Each layer communicates only with the layer immediately below it.
Each layer has a well-defined interface used by the layer immediately above.
The higher layer sees the lower layer as a set of services.
Why does increasing Security affect Performance?
Because the measures taken for increased Security often slow down a software system.
How does the Object-Oriented concept "Encapsulation" help us in Software Engineering?
In Encapsulation details can be hidden in classes. I do not need to know any of the details of what you are doing to develop my part of the project.
In a Framework explain the difference between a "slot method" and a "hook method".
A "slot method" is missing (abstract) and must be provided by you. A "hook method" is optional and can be provided if you like or if you want to override the default method.
In our design so far, we have a class FileServers with attributes serverName1, serverAddress1, serverName2, serverAddress2, serverName3, and serverAddress3. But, we may add more servers. What is a better design?
Create a new class SpecificServer that contains the serverName and serverAddress. Then, create a 1-to-many relationship between FileServers and SpecificServer.
What problem does the Delegation Pattern solve?
How can you most effectively make use of a method that already exists in another class?
What is the most important benefit of having several stakeholders review a Design Document?
Changes may be suggested and the design may be improved.
Why is the defect deadlock hard to detect just by testing?
Deadlock usually occurs due to an unusual combination of conditions that are hard to anticipate in a test case.
Why is the Delphi technique a better cost estimation technique than just averaging individual estimates?
People explain why they made the estimate they did. Other people can adjust their estimate based on those explanations.
Want to see the other 42 Flashcards in Midterm Practice Exam?JOIN TODAY FOR FREE!