You are on page 1of 9

SCENARIO 1 Assume that a planet called Zion exists.

In Zion, NEXUS is an inter-galactic enterprise that leases spacecraft to aliens for a fee. All spacecraft owned by NEXUS can be used for daily rental or contract based rental. Aliens can be classified as Warlord or Explorer. The data for all aliens are stored for recording purposes. Each spacecraft is fully equipped at the time it is rented out. However, an alien can request for additional equipment to be installed. Such equipment includes zap-gun, protective shield, time warp etc. NEXUS also provides pilot service upon request. Each pilot is employed on a part-time basis. Each spacecraft has a contract with the maintenance space dock. Every maintenance activity is recorded. Activities include changing of plutonium energy pack, change of radar guidance system, and any replacement of parts. All history of maintenances is kept as accurate maintenance records. Propose a database system for NEXUS based on the scenario given.

SCENARIO 2 Propose a database system for a travel agency. In this travel agency, there are three types of employees: Counter staff, Executive and Managers. An executive and a Counter Staff may report to many managers, and at the same time some managers are not assigned to oversee any executive or counter staff. The workflow in this company is simple. A customer will place a booking with an executive. Each Executive deals with more than one customer. Payment is made by the customer to the counter. Each counter has one staff stationed there. Each counter can serve one customer at a time.

SCENARIO 3 The Gaya Motor Vehicle Company manufactures a high volume of prestige passenger motor vehicles. GMVC relies on a number of suppliers to supply many components, which are assembled into vehicles. A supplier may supply at most 10 different components. It is important to maintain information about the supplier such as name, address, and contact person. Each vehicle has its own model name and colour. Many components are used to build up a vehicle. Each component has its details description and price. The same component may be assembled into different vehicle. The company uses a computer-based inventory of the components used, which is automatically replenished. The reordering system operates with a reorder quantity for each component in inventory. When the component has reached the reorder quantity, it will automatically generate purchase order to be electronically transmitted to the supplier. When the purchase order goods are received at GMVC, it comes together with an invoice. The invoice specifies date when the payment should be made, normally two weeks from the date the invoice is received. Propose a database system for GMVC.

SCENARIO 4 Although you always wanted to be an artist, you ended up being an expert on databases because you love to cook data and you somehow confused database with data baste. Your old love is still there, however. So you set up a database company, ArtBase that builds a product for art galleries. The core of this product is a database with a schema that captures all the information that galleries need to maintain. Galleries keep information about artists, their names (which are unique), birthplaces, age, and sale of art. For each piece of artwork, the artist, the year it was made, its unique title, its type of

art (e.g., painting, lithograph, sculpture, photograph), and its price must be stored. Prices of artwork are also classified into groups of various kinds, for example, portraits, still lives, works by Picasso, or works of the last century; a given piece may belong to more than one group. Each group is identified by a name (like those just given) that describes the group. Finally, galleries keep information about customers. Different customers have different artists they like. For each customers, galleries keep that persons unique name, address, total amount of dollars spent in the gallery (very important!), and the artists and groups of the art that the customer tends to like.

SCENARIO 5 PMC is an amateur basketball association. The President of PMC has requested you to propose a database system for PMC to manage their activities, games, coaches and players based on the following business rules: Each city in the country may or may not have more than one team as its representative. Each team may or may not represent one city at a time. One city may or may not have more than one location for the game to take place. Each location may or may not house any game but one location may house more than one game in one season. Each team may claim up to 12 players only. Each team may or may not have three coaches(offensive, defensive, physical training coaches) All players must be registered to only one team. During the season, each team plays many games and all the points, number of fouls and number of timeouts are recorded. The points, fouls, number of free throws taken and number of free throws made by each player is recorded for all games.

SCENARIO 6 Sunrise Hall is a company specializing in renting venues (hall or rooms) to its clients for holding events, such as meetings, seminar sand conference. Below are the business rules describing the data requirements for Sunrise Halls database system: Every client has to register in order to rent the venues Each client may make more than one rental as and when needed, each rental involves different amount of deposit, depending on the venues and equipment required. Every rental is given a unique number and must include at least one venue and there is no limit in number of venues to engage. Sunrise Hall offers different types of venues, such as hall and room. Every venue is given a unique number and its type and capacity are recorded. Sunrise Hall also provides rental services on certain equipment, such as audio system, LCD projector, screen and computers. Client may choose to include any available equipment in his rental. Besides venues and equipments, clients may choose to engage the transportation services provided by Sunrise Hall to commute the participants of the event. Ever client is handled by an employee in Sunrise Hall. To ensure the quality of service provided, each employee is allowed to handle at most five clients, but some employees are responsible for some other tasks and not assigned handle clients.

SCENARIO 7 Westchester Holdings offers house renting services to their employees. Every house consists of three rooms with broadband internet access, complete set of furniture, while each room belongs to only one house. Employees do not need to pay utility bills. Each room can fit in at most two employees, and each employee can rent only one room. A room may be left empty if no employee wishes to rent that particular room. Each employee works under a single division only, and one division is only managed by one employee. A worker in charge of cleaning more than one room and each room can be cleaned by one or more than one worker.

SCENARIO 8 Flyzone, a company licensed under Malaysia Flying Academy provide personal jets for customers. The following describe Flyzone: Ever customer has to register in order to book jet trips from Flyzone. Each customer may make one or more trip, each trip involves different amount of charges, depending on customers/ destinations and on-board requests. Each trip is given a unique number and flown by a pilot. The main pilot is normally accompanied by another pilot for assistance. Each trip is served by several crew for any duffer trips. New pilot who has just been hired may not be assigned to any trips. Each trip is served by several and each crew may serve different trips. Similarly, new crew may be assigned to any trips. Each trip is served by several crews and each crew may make many different trips. To ensure the quality of services, each new jet does not set off for trips until inspection is thoroughly done. Every jet is given a unique number, and its type and capacity are recorded.

SCENARIO 9 ITMax is a company specializes in IT training. You are to propose a database system for the company based on the following business rules: The company has 30 instructors and can handle up to 100 trainees per training session. ITMax offers five advanced technology courses, each of which is taught by a teaching team of two or more instructors. Each teaching team teaches only one advanced technology course. Each instructor is assigned to at least one and maximum two teaching teams. Each instructor also may be assigned to handle a research project. Each project must be handled by at least one and at most five instructors Each trainee enrols for one training session per advance technology course Every trainee can enrol up to six advanced technology course at any one time. Some trainees may not enrol for advanced technology course if he or she is on study leave. Each advanced technology course has at least one training session, but a minimum of ten students are required to open a training session. There may be more than one training session opened for an advanced technology course, depending on the demand from the trainees.

SCENARIO 10 Curricular activities are part of a students life whilst studying in a university. In MMU, there are many clubs and societies that students can join. Based on the following business rules, propose a database system to manage the clubs and societies. There are many clubs (and societies) available in MMU. Students can join any number of clubs or not join at all. There is no limit to the number of students that joins any club. Each club organizes at least one major event for the academic year. Each event has its own organizing committee The committee is formed of students and students can participate in one or more organizing committees for different event. Each event has one external company ass main sponsor. A company can sponsor one or more events in an academic year.

SCENARIO 11 The FrutaPharm chain of pharmacies asked you to propose a database system for its business operations based on the following information: Patients are identified by SSN, and their names, addresses and also ages. Doctors are identified by an SSN. For each doctor, the name, specialty and years of experience must be recorded as well. Each pharmaceutical company is identified by name and has a phone number. For each drug, the drug name and formula must be recorded. Each drug is produced by a given pharmaceutical company, and the drug name identifies a drug uniquely from other products of the company. If a pharmaceutical company is deleted, you need not keep track of its products any longer. Each pharmacy has a name, address, and a phone number. Every patient has a primary physician. Every doctor has at least one patient. Each pharmacy sells several 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. Doctor prescribes drugs for patients. A doctor could prescribe one or more drugs for several patients, and a patient could obtain prescriptions from several doctors. Each prescription has a date and a quantity associated with it. You can assume that if ad doctor prescribes the same drug for the same patient more than once, only the last prescription need to be stored. Pharmaceutical companies have long-term contracts with pharmacies. A pharmacy can have contacts with several pharmaceutical companies. For each contract, you have to store a start date, and end date, and the text of the contract. Pharmacies appoint a supervisor for each contract. There must always be a supervisor for each contract.

SCENARIO 12 Propose a database system for a supermarket chain to keep track of inventory products and customers who frequently shops in its supermarkets. The inventory records will pertain to various products that they keep on hand to replenish items on the supermarket shelves. The products are ordered from various manufacturers. A manufacturer supplies many products but a particular product can only be obtained from the single manufacturer. The customer will fill out a form with their personal particulars and this data will be entered into the database. The customer will be issued with a membership smartcard containing a machine-readable code which will be used at the supermarket checkout to identify customers. Bonus points related to the amount of customers purchase will be calculated and accumulated in the customer database.

SCENARIO 13 The Motor Vehicle Branch administers driving tests and issues driver's licenses. Any person who wants a driver's license must first take a learner's exam at any Motor Vehicle Branch in the province. If he/she fails the exam, he can take the exam again any time after a week of the failed exam date, at any branch. If he passes the exam, he is issued a license (type = learner's) with a unique license number. A learner's license may contain a single restriction on it. The person may take his driver's exam at any branch any time before the learner's license expiry date (which is usually set at six months after the license issue date). If he passes the exam, the branch issues him a driver's license. A driver's license must also record if the driver has completed driver's education, for insurance purposes. Propose a database system to Motor Vehicle Branch.

SCENARIO 14 Imagine that you are a consultant called into the office of a new Australian start-up called Movies4All. This company admires the success of the Internet Movie Database (IMDb) in collecting and publishing movie-related information via the web and thinks that it can set up its own database to rival the IMDb. Movies4All should maintain the following kinds of information: movies: title, cast, crew, story-line, genre, studio, year made/released actors: biographical, photos, films they appeared in, ... crew: occupation (director, cameraman,...), biographical, films, ... studios: contact information, historical information (e.g. heads), ... awards: given to movies or people who work in/on them movie jobs: information about what people like "gaffers" actually do session times: for movies being screened in cinemas all over the world All information in the system should be accessible (readable) to anyone on the Internet. However, Movies4All staffs are the only ones who are allowed to update the database. They also want to provide for registered users of the system, who can rate movies and post movie reviews. Registered users are also allowed to provide new information to the Movies4All staff, which will check its validity and then incorporate it into the site. Some ideas on the functionality that the system should provide: Movies4All staff and registered users have a username and password for login authentication Movies4All staff can add, update and (infrequently) delete any information in the database registered users can rate movies, post reviews, and post suggested changes to Movies4All staff anyone can search for movies, actors, crew, ... via keyword an advanced search facility allows search by individual aspects of movies/actors/crew/studios every reference to a person/movie/studio is a hyperlink to a page giving the details

SCENARIO 15 City Cameras is an independent retailer of cameras, video-cameras and accessories. Propose a database system to ease City Camera business operations based on the following traditional workflow of City Cameras: The owner fulfils the roles of shopkeeper and manager and he purchases a variety of products from a number of different suppliers. The owner can check on different suppliers wholesale and recommended retail prices with reference to their price lists. During a normal day, several customers will enter the shop and a number of them will buy one or more of the products on sale. At some stage the owner may decide that one or more product lines need to be reordered, following a visual stock-take. He will then consult the latest suppliers price lists to see who is offering the best deals on given product lines. Following this, he will ring one or more of the suppliers to order some of their products. At the same time he will also make a written record of the orders that have been placed with each supplier on a separate sheet of paper. These records are then used to verify incoming orders and invoicing details. En SCENARIO 16 You have been engaged by a pizza shop to create a database to enable the business to efficiently keep records. The pizza shop sells pizzas to customers who walks in (takeaway) and also takes phone orders which may be delivered to the customer's address or held at the shop until the customer comes in to pick them up. When a customer orders by phone the shop assistant taking the order asks the customer for their phone number and enters it into the computer system. The assistant also enters his ID number so a record is also kept of who took the order. The time when the phone was answered is recorded as well as the time when the phone call was terminated. (From this we can calculate how many orders each assistant took and the average time for each order). If the customer has previously ordered by phone the name(last name only) and address appears on the screen. The customer is then asked for his name and address and then takes the order. If the customer has not ordered before or if the name and address given does not correspond with that in the computer or if that phone number and address is marked as being the subject of a hoax previously, after the order has been taken the assistant dials the number given and confirms the order with the customer. It is required that each order given by a customer be recorded. The price of each item is recorded with the order. Pizzas are made from ingredients. From the database you must be able to determine the name and amount of each ingredient for a particular type of pizza. For each ingredient is kept the amount on hand (in the shop) and the date of the last stocktake. (Stocktakes are done weekly). It should be possible to calculate from the database the total amount of each ingredient used in the making of the pizzas from one stocktake to the next. Any variation from the expected amount is also recorded for that stocktake as a percentage e.g.-1%. For each ingredient we also keep the name and address of the supplier. Each ingredient can be supplied by many suppliers and each supplier can supply many ingredients. Not all pizzas are the same price, so a record exists in database for the current price of each type of pizza. The employees at the shop may be divided into two types: those who work in the shop and those who carry out the deliveries (the drivers). For each employee is kept their name and address, home phone number and tax file number. For the drivers is also kept their driver's license number Hours of work are not regular so for each time an employee works a record must be kept of their hours. Employees inside the shop are paid at an hourly rate. Drivers are paid according to the number of deliveries the do. A record is kept for which orders a driver delivers and of how many deliveries a driver does on each shift.

SCENARIO 17IAGR Propose a database system for hospital administration. Your system should be able to keep track of nurses and wards assignment as well as generate reports for the following queries. print names of nurses not assigned to any ward. print the name of the ward for which no nurse is assigned. for each ward print ward name and number of services it offers. print the ward with maximum number of nurses assigned. print the names of nurses whose functions are ensured by the ward to which they are assigned. list the wards that offer all services offered by ward w1. print the name of the most certified nurse. print pairs of nurses assigned to same ward. print the name of wards that ensure each function offered by the hospital. print nurse-id of nurses certified for every function the hospital offers. for each ward print ward-id and nurse-id of most certified nurse. SCENARIO 18IAGR

TDB Hospital wants to create a database to track the assignments of doctors and nurses. Doctors and nurses are considered staff - the database should contain their name, address, social security number, and their role (doctor or nurse). Patient information to be stored in the database includes their name, address, and their insurance company. Details about the insurance company that should be included in the database are its name, address, and the provider number. Patients are assigned to only one room, and each room can house two patients. Nurses are assigned to rooms (not patients), and each nurse can be assigned to more than one room. Each room has only one nurse assigned. Doctors are assigned to patients, and can be assigned to more than one patient. Patients can be assigned to more than one doctor. This means two patients in the same room may have different doctors, but will always have the same nurse. Procedures should also be recorded. A doctor performs a procedure on a patient. Information about a procedure includes the name of the procedure, whether it is in-patient or out-patient, and the type (general medicine, surgery, etc.). A patient can undergo multiple procedures by the same (or different) doctors, and a doctor can perform the same procedure on multiple patients. The date of the procedure and a brief description of the outcome should also be recorded for each procedure a doctor performs on a patient.

SCENARIO 19IAGR A companys Information Technology department wants to track its internal project assignments for the other departments in the firm. A project is considered to be a self-contained piece of work that has a beginning date and an end date, although this is usually a projected date that can change as the project progresses. A project is also described by a description, the internal client (department), and the type of project (i.e., network infrastructure, database development, application development, etc.).

Employees are assigned to projects. The database should track information for each employee, including their name, title, office location, office phone, and email. Each employee may be assigned to more than one project and more than one employee can work on the same project. The company also wants to track billable hours, which includes start period, end period, and the number of hours worked during that period.

They also want to be able to make the best choices for assigning the right people to each project. To do this, the company tracks skills possessed by each employee and required for each project. A skill is defined only by its description. An employee can have multiple skills, and multiple employees can have the same skill. Similarly, a project can require more than one skill, and more than one project may need the same skill.

SCENARIO 20 The Monster Car Company produces specialty vehicles by contract, all with the Monster theme. The company operates several departments, each one of which builds a particular vehicle, such as a truck (which they call Truckasaurus), limousine (Limosaurus), a van (Vanasaurus), or an RV (for some reason, Buddy). When a new vehicle is built, the department places an order with the purchasing Department to request specific components. The Purchasing Department is interested in creating a database to keep track of orders and to accelerate the process of delivering materials. Each division submits its own part orders to Purchasing. Each order can contain multiple parts. The information recorded for each order includes an order date and the name, email address, and phone number of the contact person in the originating department. A part is defined by its name, the companys internal part number, and a description of the part. Also, the inventory level for each part is tracked so that the department knows when they need to restock in order to maintain immediate order fulfilment. When an order comes in, the parts on that order are checked to determine whether the requested items are in inventory. If an item is not in inventory, it must be ordered from a supplier. Data for each supplier includes its name, address, phone number, and account manager. Each part may be sourced from several suppliers, which sell multiple parts to the Monster Car Company. Finally, suppliers have their own part numbering schemes. The id numbers for the same part may be different across suppliers. The database should keep track of suppliers part numbers and relate them back to the car companys own internal part number. For example, the car company may refer to part hex widget as 101, but supplier 1 may call it 201 and supplier 2 may call it 804.

SCENARIO 21 The Big City public housing agency has assigned you the task of keeping track of who is living in the agency's developments over time. The agency needs a database that allows them to capture this information. The city has three public housing developments. You want to record their names, locations, the year they opened, their height in stories, and the number of units. For each unit in the development, you want to keep track of the number of bedrooms, the number of bathrooms, whether the unit has a kitchen or living room, and the square footage. You also need to keep track of the people living in each unit. The basic unit of residence is the household, and there is a limit of only one household per unit at a time (although multiple households would occupy the unit over time). Each household can be made up of one or more residents, and a resident can only be part of one household. For each resident, record their name, date of birth, gender, and indicate whether or not they are they are the head of the household (more than one person can be the head of household). You also want to keep track of when a household moved into and out of a unit. You want to be able to track households as they move from one unit to another or from one development to another. Therefore, you can describe the occupancy of a household in a unit as having a start date and an end date. If they are currently living in the unit, the end date would be left blank.

SCENARIO 22 Propose a database system for a GMX. GMX is a video store which rents movies to members. The initial business rules are as follows: Each movie in the store has a title and is identified by a unique movie number. A movie can be in one of VHS, VCD or DVD format. Each movie belongs to one of a given set of categories (action, adventure, comedy, ... ) The store has name and a (unique) phone number for each member. Each member may provide a favourite movie category (The store uses for marketing purposes). There are two types of members: Golden Members (Provide their Credit Card number; can rent more than one movie each time) and Bronze Members (Don't provide their Credit Card number; can rent only one movie each time). A member may have a number of dependents (with known names). Each dependent is allowed to rent one (1) movie at a time.

SCENARIO 23 Propose a database system for a car dealership company. The dealership employs a number of people. Each employee has a unique employee ID (EID). Some employees manage other employees. Each employee is paid a base salary plus a commission on each car they sell (5% for the first 5 cars a month, 10% for each car after the fifth), a 2% commission on the monthly payment of each car they lease someone (while that car is under lease), plus 2% of the sales made by anyone they directly manage. Each car has a unique vehicle identification number (VIN), make, model, year, colour (outer and interior), base price, arrival date. When a car is sold the selling price (which may not equal the base price) and the date is recorded. Cars can be used or new. New cars come with a warranty option. Used cars have some number of miles on them. Warranties have a price and duration based on miles and time. Every used car goes through a 6 point inspection before it is sold. The results of this inspection, and any repairs required, must be recorded so that the cost of the repairs can be offset by a higher selling price. The dealership also leases cars and, upon the expiration of the lease, sells the cars as used. Previously leased cars are sold for a higher price than other used cars. Only new cars are available for leasing. A lease has duration and a monthly payment. This dealership does not have a service department.

You might also like