Talk:2007 Exam answers
Line 6: | Line 6: | ||
The controller I believe. If you implement the controller with a strategy you can change the way the program works without changing the model or view. If you don't need to have different sorts of controllers you don't need the strategy bit. --[[User:David Thomson|David Thomson]] 04:54, 6 October 2008 (UTC) | The controller I believe. If you implement the controller with a strategy you can change the way the program works without changing the model or view. If you don't need to have different sorts of controllers you don't need the strategy bit. --[[User:David Thomson|David Thomson]] 04:54, 6 October 2008 (UTC) | ||
+ | |||
+ | Q2: Then that means...model is observable by the view (the observer)? --[[User:Johannes Pagwiwoko|Jojo]] 05:28, 6 October 2008 (UTC) |
Revision as of 05:28, 6 October 2008
I've put up some of our version of the answers to the exam questions. Not sure if they are right or not. Please feel free to disagree and argue your point. --Yugan 02:54, 6 October 2008 (UTC)
Nice work Yugan. We are also going over the exam right now, haven't looked at any of your other answers but we have a question about 1i) "A pattern that based on Model the Real World." We think Singleton is a good answer, and were also wondering if Strategy or State might also be acceptable. What do others think? Also about Model View Controller, I don't think that is actually modeling the real world, it seems to be more of an abstract solution to decouple a GUI from the model. --Elliot Fisher 03:19, 6 October 2008 (UTC)
Question 1l): What is the Strategy part of MVC? --Elliot Fisher 03:26, 6 October 2008 (UTC)
The controller I believe. If you implement the controller with a strategy you can change the way the program works without changing the model or view. If you don't need to have different sorts of controllers you don't need the strategy bit. --David Thomson 04:54, 6 October 2008 (UTC)
Q2: Then that means...model is observable by the view (the observer)? --Jojo 05:28, 6 October 2008 (UTC)