Quizzes

  (Object-Oriented Software Engineering) (Fall 2004)
- Section 3 -

 

Home
Outline
Textbook
Resources
Homeworks
Project Works
Project Groups
Policies
Quizzes
Exams
Homework Groups
Grades

Quiz Policy:

A 15-20 minute quiz will be given in almost every week.  Quiz questions will generally be selected from the exercises in the book related to the current lecture. Please come prepared. 

 

  Quiz - 5  (Dec 20th, 2004)

Do the following exercises in the textbook:

Exercise E6.5 Find the design patterns that would be most appropriate for the following problems:

a) You are building an inheritance hierarchy of products that your company sells; however, you want to reuse several classes from one of your suppliers. You cannot modify your suppliers’ classes. How do you ensure that the facilities of the suppliers’ classes can still be used polymorphically? 

b) You want to allow operations on instances of RegularPolygon that will distort them such that they are no longer regular polygons. How do you allow the operations w/o raising exceptions?

c) Your program manipulates images that take a lot of space in memory. How can you design your program so that images are only in memory when needed, and otherwise can only be found in files?

d) You have created a subsystem with 25 classes. You know that most other subsystems will only access about 5 methods in this subsystem; how can you simplify the view that the other subsystems have of your subsystem?

Answers: a) Adapter  b) Immutable c) Proxy  d) Façade. 

  Quiz - 4  (Oct 25th, 2004)

Do the following exercises in the textbook:

Exercise E4.2: Write a short domain analysis document for a household alarm system using the format proposed in Section 4.1 of the textbook. Record only the most important info a sw engineer would need to know in order to develop your system. Gather whatever info you can from several resources.

Exercise E4.3d: Define a possible scope for a computer system for a taxi company. First, list a wide range of things that the system should do. Then narrow down the scope. To to this, select a minimal set of the most important features that you would implement in the first release of the system.

  Quiz - 3  (Oct 18th, 2004)

Do the following exercises in the textbook:

Example 4.1: Outline in one paragraph the information you would need to gather in order to perform domain analysis for the airline reservation system.

Figure 3.3: The main activities performed by a typical server is illustrated  using a UML State Diagram. Represent the same information using a UML Activity Diagram.

  Quiz - 2  (Oct 11th, 2004)

Do the following exercises in the textbook:

Exercise E3.3a: Imagine you are designing a Reservation Framework. Describe what services you might put in the framework. Answer this question using a simple list of things the system should be capable of doing.

The reservation framework could be expanded into an application to reserve anything that needs reserving, e.g., dental appointments, meetings, tickets at the theatre, etc.

Exercise 3.10e: For the e-mail system that you use, list:
i) the work normally performed on the server side,
ii) the work normally performed on the client side,
iii) the types of info transmitted in both directions over the network,
iv) whether the system is thin-client, fat-client, or intermediate,
v) what could be done to increase or decrease the proportion of work done on the client side,
vi) what effects such changes would have on the network.

Quiz - 1  (Oct 4th, 2004)

Do the following exercises in the textbook:

Exercise E1.1: Classify the following software according to whether it likely to be custom, generic or embedded; and whether it is data processing or real time:

- A program used to generate annual summaries of the radiation exposure experienced by workers

Exercise E1.3: For the following system, which attributes of quality do you think would be the most important and the least important?

A program that is being uploaded into a spacecraft that was launched 20 years ago, and has been flying towards Ploto since then. The program will enable the spacecraft to move into an orbit of Pluto

Exercise E2.10: Organize the following set of items into inheritance hierarchies of classes.

Edition of book, Copy of book, Volume, Issue of newspaper, Magazine, Newspaper, Work of literature, Issue of Magazine, Publication, Chapter, Author, Publisher, Copy of issue of magazine.

Exercise E2.13: Explain how you would incorporate the 'IsoscelesTriangle' class into the hierarchy of Figure 2.8. Describe the attributes and operations that would be present in this class.

 

Final Exam grades posted.

Final  project  phase's grades posted.

Final Exam Solutions posted.

Letter grades will be determined after they are normalized with other CS-319 sections' grades.

Final note: You have only seen part of the OO world. You should really work hard to reach the required expertise level in the commercial world.

Last updated: 21/12/2004 16:41