You are on page 1of 7

Advanced Diploma in Data and Systems Analysis: Assignment Three

Due date: 26 March 2012
Acceptable file types: doc, txt, html, htm, jpg, jpeg, gif, rtf, ppt, xls, zip Maximum number of files: 10 If there is more than one file, please combine in a single zip file. Full instructions for how to submit your assignment are provided in the document ‘Assignment submission and extension instructions’, which you will find on the unit homepage of your course website. Total marks for this Assignment: 100. Assignment This assignment is based on a scenario which has been constructed to provide assessment of a range of topics covered by the unit. There is therefore a degree of artificiality in the scenario, and in the way in which the information is presented. You are asked to assume that the data model has been agreed and you are given an entity relationship diagram and the names of the attributes of some of the entities. You are not, however, given a detailed data model (for example, including domains, data types and constraints) because we ask you to make decisions about these things in the assignment. In order to limit the amount of routine work involved in the assignment some attributes you might expect to see (for example the address of a person or an organization) have been omitted. We do not expect you to identify additional routine attributes of this type. We do, however ask you identify some of the attributes that are required to implement keys and the required relationships between relations. The scenario (Wallace’s Widgets) on which the assignment is based is provided in the appendix to this document.

using the methodology introduced in topic 3 of the unit. (13 marks) (12 marks) . where necessary. including. Domains. write. attributes and keys Identification and definition of constraints. (300 words) [9 marks] Question 2 [ 25 Marks ] This question is based on the material in topics 2 and 3 Produce a formal schema for the Wallace’s Widgets database.Question 1 [ 25 marks] This question is based on the Wallace’s Widgets scenario and covers the material in topic 1 of the unit 1(a) Identify the users in the database environment. In each case identify the data to which they need to have access. (300 words) [7 marks] 1(b) Identify and explain how these levels of access can be implemented through: (i) the database design (ii) the user interfaces (300 words) [9 marks] 1(c) Identify any risks to the data. the relational algebra introduced in topic 2. despite anything you propose in part (b). and suggest policies or technologies to address them. and the appropriate level of access (for example read. data definition) that they need in order to use the database as intended. or other misuse that might occur.

(a) The creation of the Booking table (b) A new entry in the Vehicle table with: RegNo: W 567 WDD Make: Ford Model: Mondeo MOT: 23/3/2008 contractedServicer: 23 [3 marks] [1 mark] (c) An amendment to the above inserted record to correct the date to 23/2/2008 [1 mark] (d) The number (just the number – not a list) of bookings authorised by [4 marks] team leader Bob Lockhart since 1st January 2006 (e) Show in a single column the full names of all employees who have booked a vehicle for which the contracted servicer is the Garage called Fleet Services Ltd. For each part of the question include in your answer the SQL expression which would produce the required result. Describe the technology you would use to implement this part of the system and explain how it would work. The requirements of the Wallace’s Widgets system include the facility for Service and Sales Engineers to make bookings from any location using a browser. [3 marks] (f) The following list (which shows the number of employees in each category) including the headings as shown [3 marks] Category Number T 1 R 3 O 3 Question 4 [15 marks ] This question requires knowledge of all the topics but is mainly concerned with issues covered in topic 5. You may use code extracts to illustrate your answer. . Your answer to this question should not exceed 500 words (excluding any code or diagrams). It involves producing the SQL expressions that would be used to implement and query the database designed in question 2.Question 3 [15 Marks] This question is based on topic 4. but most of the marks are for the explanations and you would gain very few marks by simply submitting a script or program.

nor even a detailed feasibility study. • make it possible to manage with a lower aggregate stock of vehicles. There is some concern that under the new system users might have to book pool cars through the new company’s system whilst continuing to record bookings in the existing integrated system. [Your answer to this part should not exceed 1000 words] . For some firms. You are not asked to produce a formal design. • an evaluation of the possibility of using a Web Service for the proposed pool car booking system Note that the study group consists of managers from several disciplines and though some will have a broad understanding of their own information systems. There is no easy answer because these firms use different ERP systems involving a variety of platforms. You have been asked to make a preliminary report on this idea. however. in the same way as Wallace’s own employees. Wallace’s Widgets are thinking of floating off their car pool operation as a separate company. but they would like you to provide: • an explanation of the basic concepts of a Web Service. Since introducing the new system (discussed in 4 above) Wallace’s have made their car pool available to other firms in the area. but the practice is growing. Where this happens there is either a mutual ‘swap’ arrangement or ad-hoc agreements about sharing costs. This started off in a small way. the car pool usage and cost figures are an essential part of their integrated ERP (Enterprise Resource Planning) systems. They need to make bookings through these systems in order to allocate costs and control business processes. It would be essentially a vehicle hire business. • enable better deals to be struck for supply and maintenance. however. though it would specialise in providing services to the firms on the trading estate and surrounding area. since they could use the new system directly. In a number of firms.Question 5 [20 marks] This question requires knowledge of all the topics but is mainly concerned with issues covered in topics 5 and 6. The study group has raised this duplication as a serious barrier but has suggested that the problem be addressed by the new company making its booking services available as a Web Service. companies with smaller pools being helped out from time to time. The success of the enterprise is dependent on sufficient firms using the service and so a study group has been set up of interested parties to report on the broad requirements of the proposed system. You should. you should assume none of them will be familiar with Web Services technology. draw also on your own experience and/or research. There seems on the face of it to be a good business case because the replacement of the existing individual car pools would: • produce savings in the costs of management and administration. there would be little change.

You are also provided with an entity relationship diagram of the proposed system. We do not expect you to identify additional routine attributes of this type. Employees of Wallace’s Widgets are able to use a pool car (subject to availability) whenever they have a business need for one. Each vehicle is allocated to a particular garage and the car pool staff ensure they are serviced by the contracted garage at the right time. There have been instances where an employee has booked two vehicles for the same day. A number of garages are retained to service the vehicles. (You can assume any necessary training will be given). being designed to test a range of topics whilst keeping to a minimum the routine work involved. . but all staff will now be able to access a list of their own bookings from their workstation. (For the purposes of this exercise you should implement the system on the basis that a vehicle must always be serviced by the contracted garage). and that MOT certificates are renewed as required. The car pool manager wishes to be able to carry out research into patterns of usage and respond to ad hoc requests for management support information from senior management. Under the proposed system local staff will continue to telephone the booking staff who will make bookings. Each booking is for one working day.Appendix 1 Wallace’s Widgets – Scenario for Unit 3 assignment This scenario is rather artificial. It is a requirement of the new system that this cannot happen. The booking forms frequently get out of order or lost and the spreadsheet is often not up to date. The existing booking system involves the car pool staff taking telephone or in-person bookings. There are two versions: one is in the Information Engineering style and the other is in the style used in unit 2 of this course. There have been mistakes in booking services in the past and on one occasion a car was used after the Vehicle Inspection certificate had expired. As part of the negotiated statement of requirements a data model has been agreed as shown in the following entity relationship diagram and the associated textual commentary. You do not need to consider both of them. Some of these instances may have been accidents but there is a suspicion a vehicle is sometimes booked for a family member. They represent the same model and we advise you to use whichever of them you are most comfortable with. The data model is indicated in the entity relationship diagram below. Sales and Service Engineers need to be able to make bookings from home or from clients’ premises. You should assume the system has been analysed and documented and a statement of requirements already negotiated. The records consist of booking forms that are filed in date order and a spreadsheet which records for each day which vehicles have been booked. Some attributes you might expect to see (for example the address of a person or an organization) have been omitted. and it is proposed that they should be able to do this themselves using a browser.

The data to be kept in tables based on these entities should include Employee employee number . subject to occasional cross checks by the car pool staff. contractedServicer Garage Garage Number Name Phone number Under the new system bookings will need authorisation by a team leader. and needs the authorisation of another team leader. (The authorising team leader need not be involved in the actual booking process because the information given by the employee is taken on trust. It should not be possible to book a service with a garage other than the one contracted for that vehicle.) It should not be possible for an employee to book two vehicles for the same day.T R or O (team leader.integers in the range 1000 -5000 name telephone number category .the employee number of the employee’s team leader Vehicle registration number make model MOT date .( the date the Inspection certificate expires or first becomes due). . regular user or occasional user) team leader . A team leader cannot certify his own booking. (There may be times when employees are not attached to a particular team so the system must allow any team leader to authorise any booking. It should not be possible to book a vehicle if the MOT expires before or on the booking date.

Appendix 2 .Entity Relationship Model .