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

QUESTION

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
Explain how the internet works

Question 1 Explain the various tools used for open source software development Question 2 Discuss the OSS licensing strategies Question 3 Explain the software developmen

In this program, you are going to write a program for playing the game of Hangman. In this game, the computer will pick a word and display a sequence of blanks to be filled in; one

1.Add a Validation Rule for Date of Birth so no one under the age of 18 can be added to the table. Hint: subtract the DOB from today''s date and divide by 365.25 (watch the parenth

File Management:   The concept of a file is central to the effective use of a computer system. A file is generally loosely defined as a collection of related information such

Algorithm : 1. Read the values of principal amount, time and rate of simple interest into the locations labelled as P, T, R. 2. Set the count T to 1 implying the end of a year. 3.

true or false-- most designs of a desktop publishing document needs to follow clear, specific rules pertaining to design

advantage and disadvantage of operating system

Research and Development  All intellectual activities consciously pursued and systematically completed generate useful information. Research (also Research and Development) is