IN COLLABORATION WITH IVTB Diploma in Information Technology Cohort DIP/04 Full Time DIP/04 Part Time Special Resit Examinations for 2004 2005 / Semester 1 MODULE: LARGE SCALE FUNCTIONAL ORIENTED SOFTWARE ENGINEERING MODULE CODE: BISE061 Duration: 2 Hours Reading Time: 15 Minutes Instructions to Candidates: 1. Answer all questions. 2. Detach the Case Study from questionnaire to facilitate working. 3. State clearly any assumptions made on the Business Rules for the Case Study. 4. Total Marks : 70 Page 1 9
This question paper contains 3 questions and 9 pages. Page 2 9
QUESTION 1: (20 MARKS) (a) Describe the Formal Stware Process Model. (10 marks) (b) What are the main strengths the Formal Stware Process (4 marks) Model? (c) Why is the Stware Process Model nevertheless not used for mainstream stware development? (6 marks) QUESTION 2: (25 MARKS) (a) (b) (c) (d) Draw an Entity Relationship Diagram for the given case study. Show entities and relationships on the diagram (attributes should not be shown). Cardinality and optionality relationships should be shown. Analyse the structure Entities 1a Person Criminal and E1b Person Non-Criminal from a data redundancy perspective (Tip: specify whether there is redundancy, whether it is justified and how it can be corrected, if necessary) There is a requirement to have some statistics on the different types fences committed per Police Station for a given period. Describe how this could be obtained (modify event model and data models if necessary). The current data model assumes that each occurrence reported has got only one victim. Modify the data model to include the possibility having more than one victim for an occurrence reported by a person. (10 marks) (5 marks) (5 marks) (5 marks) Page 3 9
QUESTION 3: (25 MARKS) (a) Draw an Entity Access Matrix for the given case study. (10 marks) (b) Draw an Entity Life History for Entity E1 a Person Criminal. (10 marks) (c) Allocate operations to 2 events on the ELH above. (5 marks) Page 4 9
CASE STUDY: CRIME INFORMATION SYSTEM 1. General Introduction This System is concerned with the management criminal records and convictions these criminals. Records a criminal are created when a case file comes from the Courts with all information on the criminal, crime occurrence in which he/she was involved, the fences for which he/she has been found guilty and the sentences given for each fence. An occurrence may involve many criminals and one criminal may be convicted for several fences in relation to one occurrence. A sentence can involve sending the criminal to jail or payment a fine or both. Criminal fences are linked to a crime occurrence which has mandatorily been reported by one person. For simplification, it has been assumed that a crime occurrence is also always linked to one victim. The person who reports a crime occurrence and a person who is victim in a crime occurrence have been considered to be non-criminals (obviously not always true in reality!) and to be different persons in this case. At any moment in time, updated information on a criminal may be obtained and the criminal records are subsequently updated. It is also assumed that once a criminal dies, no further records convictions are received for him (again a simplification for this case). Most criminal information systems also include extensive information on fingerprints and physical descriptions the criminals but this is considered to be beyond the scope this case. 2. Entity Description Crime Record No. Name Surname Address Alias Date Birth In Jail E1a. Person - Criminal Manual Index Reference Common name by which the criminal is known Set to True when the person is sent to Jail Set to False when the person is released from Jail No. fences Initialised to 0 Incremented for each fence for which the criminal is convicted Status Set to True upon creation record Set to False when criminal dies Page 5 9
E1b. Person Non-Criminal NIC National Identity Card No. Name Surname Address Date Birth Offences reported Initialised to 0 Incremented for each fence reported Victim Offences Initialised to 0 Incremented for each fence for which the person is a victim Offence Name Offence Category E2. Offence Category for classification fences OB No. Police Station (Foreign key) Reported by (Foreign key) Victim (Foreign key) Date Time E3. Crime Occurrence Reference in Occurrence Book (where all crime occurrences are recorded) Police Station Police Station where the occurrence was reported Person-Non Criminal who reported the occurrence Person- Non Criminal who is the victim in this occurrence Date/Time where the occurrence happened Criminal (Foreign key) Crime Occurrence (Foreign key) Offence (Foreign key) E4. Offence Committed Offence in relation to the crime occurrence for which the criminal has been convicted Page 6 9
Offence Committed (Foreign key) Date sent to Jail Date due to be released Actual Date released Jail Court Date sentence E5a. Sentence - Jail Date on which the criminal has been sent to jail Date on which the criminal leaves jail Jail at which the criminal is held Court at which the sentence was given Offence Committed (Foreign key) Fine amount Court Date sentence E5b. Sentence - Fine Court at which the sentence was given Police Station Name Police Class Address No. occurrences E6. Police Station Classification Police Station which relates to the degree complexity the area under its supervision Incremented for each crime occurrence reported Page 7 9
3. Business Event List Event Info. Input Info. Output EV1. New Police Station Police Station Name Police Class Address EV2. New fence Offence Name Offence Category Remarks No. occurrences initialized to 0 is EV3. New Person - Criminal EV4. New Person Non-criminal EV5. New Crime Occurrence EV6. Updated information Personal criminal on Crime Record No. Name Surname Address Alias Date Birth NIC No Name Surname Address Date Birth OB No Police Station Date Time Occurrence Summary Reported by Victim Person Criminal Address Alias No. fences is initialized to 0 In Jail is initialized to False Status is initialized to True. Offences reported is initialized to 0 Victim fences is initialized to 0 No. occurrences reported by Person Non criminal is incremented by 1 No. occurrences in which a Person Non-criminal is a victim is incremented by 1 No. occurrences for Police Station is incremented by 1 Only this information may be modified Page 8 9
EV7. New fence committed Person-Criminal Crime Occurrence Offence No. fences for Person Criminal is incremented by 1 EV8. New Sentence EV9. Death Criminal Offence Committed Court Date Sentence Either { Date sent to Jail, Date due to be released} Or {Fine Amount} To keep the event atomic, either a jail sentence or a fine is entered at a time. If sentence is a Jail sentence, attribute In Jail for Person Criminal is set to True Personal Criminal Status Person Criminal is set to False Disclaimer : There may be missing events, incorrectly defined events, missing entities or wrong attributes in the model described. ***END OF QUESTION PAPER*** Page 9 9