Sunteți pe pagina 1din 3

INTERNATIONAL ISLAMIC UNIVERSITY MALAYSIA Semester II 2011/2012 INFO 1102 GROUP PROJECT

GENERAL PURPOSE: You have been asked to design a database for Prescriptions-Salam chain of pharmacies operating in several hospitals. This database supports pharmaceutical drugs administration and dispensing transactions. The project is organized into several milestones. The details and guidelines of these milestones are given below. STRUCTURAL REQUIREMENTS: Each pharmacy in Prescriptions-Salam chain sells several pharmaceutical drugs and has a price for each. A drug could be sold at several pharmacies, and the price could vary from one pharmacy to another. Doctors at the hospitals prescribe drugs to patients who came in for check-ups or warded at the hospitals. A doctor could prescribe one or more drugs to several patients, and a patient could obtain prescriptions from several doctors. Each prescription has a date and a quantity associated with it. Each drug is sold by a given pharmaceutical company, and the trade name identifies a drug uniquely from among the products of that company. If a pharmaceutical company is deleted, you need not keep track of its products any longer. Pharmaceutical companies have long-term contracts with pharmacies. A pharmaceutical company can contract with several pharmacies under Prescriptions-Salam chain, and a pharmacy can contract with several pharmaceutical companies. For each contract, you have to store a start date and an end date. Pharmacies appoint a supervisor for each contract. There must always be a supervisor for each contract, but the contract supervisor can change over the lifetime of the contract. GUIDELINES AND RULES: 1. All the students must actively take part in preparing and submitting the project. 2. Maximum number of students in a group should not exceed 5 (five) students. 3. The students in a group should be strictly from the same SECTION.
Kulliyah of Information and Communications Technology (KICT) March 20, 2012
Page 1 of 3

INTERNATIONAL ISLAMIC UNIVERSITY MALAYSIA Semester II 2011/2012 INFO 1102


4. Student must submit a list of their group members (which consists of matric numbers and names) to the lecturer during the class on WEEK 7 (1921 MARCH 2012). 5. All students must have their own contribution for the project and the contribution should be recorded as part of your project document. 6. All students of a single group MAY NOT be guaranteed to get equal marks should there be a demonstration of poor contribution and poor communication skills reflected in the report. 7. COPYING (FULL/PART) FROM ANY OTHER SOURCE OR OUTSOURCING THIS PROJECT IS STRICTLY PROHIBITED AND ANY SUCH ACT SHALL RESULT IN AWARD OF ZERO (0) MARKS FOR THE PROJECT. 8. Last date for submitting the report is on or before WEDNESDAY, 16TH MAY 2012 AT 5 PM. ACTIVITIES: 1. Study the requirements above for the project and list the possible business rules based on the scenario. 2. Identify all the entities and attributes. 3. Draw the E-R diagram and clearly identify all objects, their attributes and relationships on the diagram. 4. Convert the E-R diagram to a relational database schema and show the relationships between the entities and attributes. 5. For each relation schema, specify the functional dependencies. Perform 3NF normalization of schemas that are not in 3NF. 6. Implement your database using SQL statements in Oracle 10 g environment. Populate the database with records in each table (minimum 5 and maximum 10). 7. Formulate reasonable queries and views (minimum 5 and maximum 10) which you would pose to the database. Use appropriate SQL commands and show the return resultsets. 8. Report writing (documentation). DELIVERABLES (15% OF STUDENT OVERALL GRADING): 1. A written report containing the following items: a. Brief Introduction including a short introduction about the company and business rules. b. EntityRelationship Diagram and Relational Database Schema c. Data Dictionary (e.g. entity & referential integrity, domain, user constraints) d. Functional dependencies (every table must be at least in 3rd Normal Form) e. DDL and DML scripts f. Sample data for each table g. Reasonable queries and views, and return resultsets of the queries and views h. Each members contribution to the project
Kulliyah of Information and Communications Technology (KICT) March 20, 2012
Page 2 of 3

INTERNATIONAL ISLAMIC UNIVERSITY MALAYSIA Semester II 2011/2012 INFO 1102


2. Softcopy of the ER diagram, SQL scripts and output. Submit via KICT course repository\INFO1102\Assignments. Submit scripts as .sql file and output as .lst file.

Kulliyah of Information and Communications Technology (KICT) March 20, 2012


Page 3 of 3

S-ar putea să vă placă și