generalQuestions - 2009 November 23 General Design Example...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
2009 November 23 General Design Example Test Questions 1. Why is design necessary? What is its purpose? 2. A What makes an expression referentially transparent? B What does it mean for a function to have side effects? How does a side effect of a function affect the referential transparency of an expression? 3. Explain what the Uniform Access Principle is. Using an example illustrate the benefits of following the Uniform Access Principle in Eiffel. 4. Explain what is the direct mapping rule? 5. The Open-Closed Principle states that a good module structure should be both closed and open. This double requirement looks like a dilemma, which is solved in object oriented software construction. Explain the principle and describe how it is solved in OOSC. 6. Explain what is an expanded type and why expanded types are needed. 7. Describe and explain the “Explicit Interfaces Rule”. 8. Explain what the “Explicit Interfaces Rule” is and the context in which it is used. 9. What is the self-documentation principle? How does Eiffel support this principle? 10.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

generalQuestions - 2009 November 23 General Design Example...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online