From 1dfbc629f7e9662c85c8131388f3a63832c873e3 Mon Sep 17 00:00:00 2001 From: gauthiier Date: Mon, 2 Mar 2015 14:26:49 +0100 Subject: [PATCH] quattre --- objects.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/objects.md b/objects.md index 54b8475..bb12fe3 100644 --- a/objects.md +++ b/objects.md @@ -34,5 +34,28 @@ Following your OO obervations, formalise your (paper) descriptions using the **U - [online UML editor](http://www.gliffy.com/uses/uml-software/) (note: please take screen shots of your UML design) +Questions: + +1. Do you think the UML translates well your observation? +2. Do you understand the difference between UML's attribute and method? +3. Is your UML diagram readable? + + +#### C. OO Programming + +Now that you have created a simple UML diagram of your objects, translate this diagram into code using a _class_. + + class Name { + ... + }; + +Questions: + +1. How does your class relate to your UML diagram? +2. How does your class relate to your paper observation? +3. Was it easy to translate your UML diagram into code? What was ambiguous? What was not? +3. Is your class readable? + +### Object Oriented Programming II: Polymorphism and Inheritance