* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download CSCI485 File and Database Management
Oracle Database wikipedia , lookup
Entity–attribute–value model wikipedia , lookup
Open Database Connectivity wikipedia , lookup
Functional Database Model wikipedia , lookup
Ingres (database) wikipedia , lookup
Concurrency control wikipedia , lookup
Extensible Storage Engine wikipedia , lookup
Microsoft Access wikipedia , lookup
Relational model wikipedia , lookup
Clusterpoint wikipedia , lookup
Microsoft Jet Database Engine wikipedia , lookup
Spring 2004 CSCI485 File and Database Management Professor: Bahram Zartoshty Assignment 1 – part I Introduction The purpose of this assignment is to exercise your knowledge of conceptual and logical database design. This and the next two assignments guide you on how to design and implement a relational database using Microsoft Access and C#. Assignment 1 consists of two parts: Part 1, E-R model and logical data design: Based on a description of an application, draw its E-R diagram. Next, reduce the E-R diagram to a collection of tables. Realize these tables using Microsoft Access and C#. Part 1: Conceptual and logical data design 1. Conceptual data design: Draw the E-R diagram of a database in support of the following application. With the growing popularity of the stock market, we want to build a database to keep track of different stocks. The objective is to maintain the basic information about the company, its ticker symbol (also termed stock symbol), and the price of the stock over time. In this application, every company has a unique ticker symbol. For example, MSFT is the stock symbol of Microsoft Corporation. For each company, the database must maintain the current price, the 52-week high price, and the 52-week low price. Moreover, for each company, the database must maintain the company name, the address of its headquarters, the URL of its web site, the CEO’s name, and the number of employees. Each ticker symbol is traded at one market. For example, AOL (America Online) is traded at New York Stock Exchange (NYSE) while MSFT (Microsoft) is traded at Nasdaq. Each market has a unique index name (e.g., NYSE, Nasdaq). The database must maintain the value of each index. Every business day, the stock will have a closing price and exchange volume. The database must maintain this information for each stock. Each company is allowed to issue stock with one ticker symbol. The stock of a company is traded at only one market. And each market may trade stocks belonging to many different companies. Each stock has a set of history price and volume of different day. (Hint: History Price is a weak entity set, and date is the discriminator.) 2. Logical database design: Reduce your E-R diagram to tables in Microsoft Access 2000. After you finish drawing the E-R diagram, reduce it to tables. Create a database using Microsoft Access 2000 and write a C# program to build the tables into it without data. When reducing the E-R diagram to tables, consider the possibility of combining tables in order to eliminate redundant table(s). 3. Deliverables: Conceptual data design: draw the E-R diagram for this application. (35%) Logical data design: Reduce your E-R diagram to a collection of table specifications. (30%) Physical data design: C# program to generate your table schemas in Microsoft Access. (35%) Format: Electronically submit a Word file of the E-R diagram, tables, the C# program to realize your schema, and the database files (.mdb). Due date: Thursday, 12 February 2004 Reference: Database System Concepts; 4th edition, Silberschatz-Korth-Sudharshan, Mc Graw Hill, ISBN 0-07-228363-7 Microsoft Access 2000 At a Glance, Microsoft Press, ISBN 1-57231-946-1 Microsoft Access online help