Question
2. You are asked to develop a database for microcomputer lab management. You want to keep track of the following information (Type your answer): The
2. You are asked to develop a database for microcomputer lab management. You want to keep track of the following information (Type your answer): The information about computer such as station ID, model, etc. The information about the software installed. Each computer station has various types of software (e.g., word processor, spreadsheet, database, Web page tools, etc.) Note you only care about the types, version and vendors of the software, not the licensing information of each piece of software. You just want to know which type of the software is used most frequently. The information about projects that are running on some computer station. Including the project ID, description, project leader and starting date, etc. The information about users who are the employees currently working some projects. Including emplyees ID and name, as well as job title. The information about appointments made by users to use the lab. For an appointment, employee must indicate the computer (station ID), types of software to use, and the time period of using computers. Note: In each appointment, an employee can only indicate one computer with multiple software to use. a. Design an E/R diagram to describe above situation. b. Convert the data model in (a) into database design model, showing the keys, attributes, foreign keys. Use table notation (Tablename (....)).
3. Given a TRANSACTIONS table used by a gallery to keep track all transactions (buying and selling) (and assuming the given data shows all possible FDs.)
artistID | artistName | artworkID | transationType | price | custID | custName | custLoc | agentName |
1 | john | A1 | buy | 500 | 1 | xyz | LA | Lee |
1 | john | A1 | sell | 600 | 2 | abc | LA | Josh |
2 | Roman | A3 | buy | 100 | 2 | abc | NY | Kim |
3 | shaw | A4 | buy | 100 | 3 | ijk | NY | Kelly |
3 | shaw | B8 | sell | 200 | 1 | xyz | LA | lee |
3 | shaw | A4 | sell | 200 | 3 | ijk | NY | kelly |
4 | peter | B3 | buy | 240 | 4 | qwe | NY | kim |
|
|
|
|
|
|
|
|
Note: each artist has an agent who handles his/her art piece transaction. But artist may change their agent periodically. Customers can buy/sell a piece of art from/to the gallery. Type your answer
a. List all FDs. b. If you want to create above table (TRANSACTIONS) in a database, what is the primary KEY for this table? (note this table is in a very bad design). c. What normal form this table (TRANSACTIONS) is in? Why ? d. How many themes (i.e., pieces of information) that are implied by above table? e. Normalize above table into a set of 3NF tables. In the normalization result you must show the table name, the key,and FK if there is any.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started