What is the intent of the singleton pattern, Basic Computer Science


Consider a University system which has several sub systems:

  • Student Registration
  • Module Registration
  • Time Tabling
  • Library System
  • Human Resource Management
  • Payroll
  • Accounting

(a) The library (dll) in the Payroll sub-system must make use of the library (dll) utilised by the Accounting system. However, the interface of the library used by both systems differs and they cannot be amended. You have been assigned the task of developing a small tool to allow the interaction of both libraries.
Identify and elaborate on an appropriate design pattern that is suited for this need. Give justification for your choice.

(b) Identify 2 other design patterns that can be used in the University system. Your answer should explain the use of the pattern in the context of the University system, its justification and structure or sample code for the implementation.

(c) (i) What is the intent of the singleton pattern?

(ii) Identify and illustrate how the singleton pattern can be applied in the University system.

Posted Date: 10/25/2013 1:29:56 AM | Location : United States

Related Discussions:- What is the intent of the singleton pattern, Assignment Help, Ask Question on What is the intent of the singleton pattern, Get Answer, Expert's Help, What is the intent of the singleton pattern Discussions

Write discussion on What is the intent of the singleton pattern
Your posts are moderated
Related Questions
Basic steps/tasks involved in spreadsheets development

The three main elements of the control unit are: 1. Decoder this is used to decode the instructions that create a program when they are being processed, and to establish in what ac

Suppose there are exactly five packet switches (Figure 4) between a sending host and a receiving host connected by a virtual circuit line (shown as dotted line in figure 4). The tr

types of computer on the basis of shape, size & resources

You have been approached by Company XYZ to design and deploy a new network that will span three cities in Queensland: Brisbane (12 users), Gold Coast (8 users), and Cairns (6 users

• The SRT is the preemptive complement of SJF and helpful in time-sharing environment. • In SRT scheduling, the process with the least estimated run-time to completion is run next,

What is an encoder? Draw the logic circuit of Decimal to BCD encoder and explain its working.?

wap to print padovan string in c