Question No. 1 [Marks 10]: Given Below is the supposed rough Object Model of a mathematics library, which can be used by any (client) software, to perform mathematical calculations. The client software can call the functionality through class objects. You need to re-arrange (re-design) this object model by implementing the Façade Pattern (i.e. you need to implement façade pattern on this model).View more random threads:
- cs601 assignment no 4 idea solution spring June 2011
- CS410 Visual Programming Assignment No.1 Spring Semester...
- CS402 Quiz # 2
- Assignment No. 02 SEMESTER FALL 2011 CS614- Data...
- CS501 Advance Computer Architecture Assignment No.2 Fall...
- Operating System- CS604 Assignment 1Spring 2011 idea...
- Assignment No. 3 Semester: Fall 2010 CS201: Introduction to...
- CS601 data communication assignment no 1 spring 2011 idea...
- CS502 Fundamentals of Algorithms Spring 2011 ASSIGNMENT4...
- CS501 Advance Computer Architecture Assignment No 4 Spring...
Question No 2 [Marks 10]:
In an auction house, there is a client/server system deployed. The bidders login from client panel and the auctioneer (the person who controls the entire process) logs in as administrator for the entire process on server panel. The bidding process is as follows:
ð The bidding starts with an initial amount specified by administrator, shown to all the bidders on screen
ð Now all the other bidders start bidding with their own amounts (normally more than previous bid) at their turn.
ð Each time a new bid is posted by bidder, it is automatically (immediately) shown to all the bidders with updated amount (on their screen.)
ð The process continues until a certain bidder with maximum bid amount wins (when there are no more bids)
Now two students “Student-A” and “Student-B” both analyzing the above system, make following arguments:
Student-A: “I think this system represents the phenomenon, very much represented by observer pattern, in fact this is an example of observer pattern”
Student-B: “No, this is not observer pattern, according to my experience this is an analogy of Singleton pattern”
Analyze the arguments of both students, and suggest with solid reasons that which argument seems to be more realistic and why?
Sponsored Links