加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

CSCC43代做、R設計編程代寫

時間:2023-11-27  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



CSCC43 – Fall 2023 University of Toronto Scarborough
Intro to Databases – Assignment #3
Nov18, 2023
This assignment may be completed in a max group of 2 .
Please provide detailed answers to the following exercises.
Read the note on academic Integrity.
Instructions:
There are two parts in this assignment.
• Part 1 (3 questions – 40 points)
o Requires you to design ER Diagram given specification using any online drawing tool.
o Requires conversion from ER diagrams to relational schemas and improved version of
ER diagrams.
o Requires you to design an ER diagram given a relational schema.
o Note: Handwritten solutions/diagrams will not be accepted.
• Part 2 (6 questions with subparts - 60 points)
o Requires you to answer questions on functional dependencies and normal forms.
Submission: Quercus
For this assignment, you need to submit all typed solutions in a single PDF named
Assignment3.pdf. You can use LaTeX or any other word processing software. ER Diagrams should
be computer generated as well and should not be hand drawn.
Note: Late submissions with 10% penalty will be accepted until up to December 4th 11:59 pm.
No submissions will be accepted after that.
Assignment #3
Total: 100 points
Due Date: Dec 2nd, 2023 11:59pm
CSCC43 – Fall 2023 University of Toronto Scarborough
Part 1: Entity Relationship Model [40 marks]
Question 1 [25 marks]
For this question, you will design Entity Relationship Diagram and a database schema for
an Ice Hockey Tournament.
System Functional Requirements:
The administrator of tournament website and the database is the primary user who manages
the data associated with the tournament that includes information about players, teams,
coaches, matches, referees, etc.
The administrator wants following features included in your design and describes these
features as follows:
For each match, we store the series and the tournament day on which it takes place, which
match it is, (e.g., first match, second match, etc.) the date with day, month, year, the teams
involved in the match with the name of the city and the coach, and finally for each team
whether that team played at home. Each team can have multiple coaches and for each coach,
we record their name, salary, and city of birth.
We store the name and the surname of each player in each team with his date of birth and
main position. We store, for each day, how many points each team has, and we also store
for each match, the player of each team who played and in which position each player played
(the position can change from one game to another). For each match, we store the referee,
with first name, surname, city, and region of birth.
The match played as scheduled must be distinguished from those postponed. For a
postponed match, we store the date in which it is actually played. We also identify the
matches played in a city other than that of the home team; for each of these, we store the
city in which it took place, as well as the reason for the variation venue. For each player, we
are interested in the city of birth.
We also record the contracts between players and teams including the past contracts with
the date of beginning and end of the contracts for each player in each team. It is possible that
a player can have different contracts with the same team in different periods. For all contracts
we wish to know the date of commencement. Similarly, we also record contracts between
coach and teams.
Question 1.1 [15 marks]:
Design and draw an ER schema that captures the information given above. Your schema
should model explicitly entities and relationships in the domain of Ice Hockey Tournament,
also their attributes, generalization relationships, keys, and cardinality constraints.
Make necessary assumptions in order to complete your schema and state those assumptions
along with the diagram.
You may use domain knowledge to complete information missing in the given specifications.
CSCC43 – Fall 2023 University of Toronto Scarborough
Question 1.2 [10 marks]:
Remove any generalizations (subclass), unnecessary data and structural redundancies,
multi-valued attributes, optional relationships, and irregularities from your model.
If you did modify your ER schema, show the improved version of ER Diagram in this stage.
By removing weak entity sets (if any), translate your ER diagram into Relational schema
following the PostgreSQL syntax.
Question 2 [15 marks]
We wish to carry out a reverse engineering operation. That is, given a relational database,
we wish to construct its conceptual representation using the E-R model. The database is for
an application concerning trains and railway stations and is made up of the following
relations:
o STATION (Code, Name, City) with a referential constraint between the attribute
City and the CITY relation;
o CITY (Code, Name, Region);
o ROUTE (From, To, Distance), with referential constraints between the attributes
From and the relation STATION and between the attribute To and the relation
STATION; this relation contains all and only the pairs of stations connected
directly by a route (that is without intermediate stations);
o TRAINTIMETABLE (Number, From, To, DepartureTime, ArrivalTime) with
referential constraints between the attributes From and the relation STATION
and between the attribute To, and the relation STATION;
o TRAINROUTE (TrainNumber, From, To) with referential constraints between the
attribute TrainNumber and the relation TRAINTIMETABLE and between the
attributes From and To and the relation STATION;
o STOPTIME (TrainNumber, Station, Arrival, Departure) with referential constraints
between the attribute TrainNumber and the relation TRAINTIMETABLE and
between the attribute Station and the relation STATION;
o ACTUALTRAIN (TrainNumber, Date, DepartureTime, ArrivalTime) with a
referential constraint between the attribute TrainNumber and the
TRAINTIMETABLE relation;
o ACTUALSTOP (TrainNumber, Date, Station, Arrival, Departure) with a referential
constraint between the two attributes TrainNumber and Station and the
STOPTIME relation.
Question 2.1 [15 marks]
For the above schema, construct its conceptual representation using the E-R model.
Recall that derived redundancy can be present in terms of attribute, entity, or relationship.
Find out any such derived redundancy in this model.
CSCC43 – Fall 2023 University of Toronto Scarborough
Part 2: Functional Dependencies and Normalization [60 marks]
Question 1 [5 marks]
Consider a relation S with six attributes A, B, C, D, E, and F. You are given the following
dependencies: AB → C, BC → D, D → E, CF → B.
a) What are all the non-trivial functional dependencies that follow from the given
functional dependencies? Make sure that the functional dependencies you list have
exactly one attribute on the right hand side.
b) What are all the candidate keys of S?
c) What are all the superkeys of S that are not candidate keys?
Question 2 [5 marks]
Consider a relation R with five attributes A, B, C, D, and E. You are given the following
dependencies: A → B, BC → E, and ED → A.
a) List all the candidate keys for R.
b) Is R in 3NF? Explain why or why not.
c) Is R in BCNF? Explain why or why not.
Question 3 [15 marks]
For all of the parts below, assume you are given a relation R with four attributes A, B, C, and
D. In each part you are also given a set of functional dependencies, assume those are the
only dependencies that hold for R and do the following:
(i) Identify the candidate key(s) for R.
(ii) Identify the best normal form that R satisfies (1NF, 2NF, 3NF, or BCNF).
(iii) If R is not in BCNF, give a lossless-join decomposition of R into BCNF.
a) C → D, C → A, B → C
b) B → C, D → A
c) AB → C, AB → D, C → A, D → B
CSCC43 – Fall 2023 University of Toronto Scarborough
Question 4 [15 marks]
In each part below you are given a relation with attributes as well as a set of functional
dependencies that hold for that relation. For each part, do the following:
(i) List all the candidate keys for the relation.
(ii) Give a lossless-join and dependency-preserving decomposition of the relation
into 3NF.
a) R(A, B, C, D, E); {A → BC, CD → E, B → D, E → A}
b) S(A, B, C, D, E, F); {C → A, CD → E, A → B, D → F}
c) T(A, B, C, D, E); { A → CD, B → CE, E → B}
Question 5 [10 marks]
 For each of the following relation schemas and dependencies do the following:
(i) Find all the 4NF violations.
(ii) Decompose the relations into a collection of relation schemas in 4NF.
a) R(A, B, C, D) with MVD's A àà B and B àà CD.
b) R(A, B, C, D, E) with MVD's A àà B and AB àà C and FD's A à D and AB à E.
Question 6 [10 marks]
Give counterexample relations to show why the following rules for MVD's do not hold. Hint:
apply the chase test and see what happens.
a) If A àà BC, then A àà B.
b) If A àà B, then A à B.
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:CS 2210編程代寫、Java程序語言代做
  • 下一篇:代寫ecs36c 有向圖程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    亚洲欧美日韩国产一区二区| 精品国产一区二区三区2021| 丝袜美腿成人在线| 91精品啪在线观看国产爱臀| 亚欧成人精品| 国产美女高潮在线| 91精品1区| 精品国产123区| 日本一区福利在线| 欧美成人一二区| 蜜桃在线一区二区三区| 激情六月综合| 成人av影音| 亚洲人亚洲人色久| 国语对白精品一区二区| 亚洲综合av一区二区三区| 久久av最新网址| 韩日一区二区三区| 精品福利一区| 2020国产精品极品色在线观看| 亚洲视频电影在线| 日本免费一区二区三区等视频| 日本一二区不卡| 国产精品日本| 国产精品97| 91精品国产调教在线观看| 57pao国产一区二区| 国产一区二区三区精品在线观看| 老司机精品视频网| 亚洲a∨精品一区二区三区导航| 老司机午夜免费精品视频| 91精品动漫在线观看| 久久天堂精品| 国产精品一线| 成人av资源网址| 一区二区三区视频播放| 日韩电影一二三区| 亚洲另类春色校园小说| 欧美经典影片视频网站| 欧美全黄视频| 中文精品久久| 亚洲影视一区| 一级欧美视频| 国产精品免费精品自在线观看| 欧美三级不卡| 91成人小视频| 在线观看欧美| 国产成人免费视频网站视频社区| 欧美日本三区| a一区二区三区亚洲| 欧美人成在线| av在线精品| 欧美人与拘性视交免费看| 亚州av日韩av| 日韩欧洲国产| 精品亚洲精品| 国产一在线精品一区在线观看| 欧美亚洲高清| 在线免费观看日本欧美爱情大片| 天天射天天综合网| 99国产成+人+综合+亚洲欧美| 最新国产乱人伦偷精品免费网站| 亚洲欧美高清| 色综合色综合| 蜜桃av在线| 国产精品资源| www999久久| 日韩av一区二区在线影视| 亚洲精品观看| 激情欧美日韩| 亚洲一区二区网站| 亚洲美女久久精品| 色999韩欧美国产综合俺来也| 99精品国产99久久久久久福利| 亚洲人成人一区二区三区| 国产一区二区三区亚洲综合| 日韩第一区第二区| 久久精品av| 日韩一区欧美二区| 日韩不卡视频在线观看| 亚洲理伦在线| 久久99精品久久久野外观看| 欧美人体视频| 精品1区2区3区4区| 中文字幕一区久| 日日摸夜夜添夜夜添亚洲女人| 伊人久久大香| 秋霞午夜一区二区三区视频| 亚洲午夜久久久久久尤物| 国产亚洲精品自拍| 夜鲁夜鲁夜鲁视频在线播放| 麻豆久久久久久久| 一区二区三区四区视频免费观看| 久久亚洲专区| 欧美激情777| 日本不卡的三区四区五区| 日韩精品1区2区3区| 亚洲性人人天天夜夜摸| 国产精品成人一区二区不卡| 美女视频网站久久| 先锋影音国产精品| 欧洲毛片在线视频免费观看| 国产激情在线播放| 欧美喷水视频| 精品日韩一区| 成人激情免费视频| 老司机午夜精品| 天堂va在线高清一区| 中文亚洲免费| 欧美一区视频| 国产精品22p| 亚洲综合不卡| 麻豆精品新av中文字幕| 欧美视频一区| 蜜桃久久久久久| 国语对白精品一区二区| 欧美美女黄色| 中文av在线全新| 欧美国产亚洲精品| 欧美日韩国产综合网| 亚洲精品乱码日韩| 日韩精品视频在线看| 99xxxx成人网| 久久久久97| 精品在线91| 欧美一区影院| 99久久婷婷| 日韩精品免费观看视频 | 国产伦理久久久久久妇女 | 日韩制服丝袜先锋影音| 麻豆国产欧美一区二区三区| 鲁大师精品99久久久| 特黄毛片在线观看| 日韩电影免费在线观看网站| 午夜亚洲福利在线老司机| 在线成人超碰| 伊人影院久久| 欧美日韩亚洲一区| 图片小说视频色综合| 欧美aⅴ一区二区三区视频| 99tv成人| 国产一区二区三区久久| 久久国产精品亚洲人一区二区三区| 亚洲一级少妇| 成人毛片在线| 成人精品国产亚洲| 久久精品亚洲人成影院| 福利精品一区| 国产在线成人| 在线看片一区| 在线亚洲免费| 奇米狠狠一区二区三区| 欧美hd在线| 97久久精品| 久久激情五月婷婷| 欧美精品一区二区久久| 日本v片在线高清不卡在线观看| 亚洲精品一二三区区别| 欧美国产精品| 久久亚洲欧洲| 91麻豆精品激情在线观看最新| 日韩理论电影院| 久久久9色精品国产一区二区三区| 成人四虎影院| 亚洲精品国产首次亮相| 国产中文字幕一区二区三区| 日本女优一区| 久久久久99| 亚洲精品色图| 日韩精品一级中文字幕精品视频免费观看| 日韩超碰人人爽人人做人人添| 福利片在线一区二区| 青青草97国产精品免费观看| 中文字幕伦av一区二区邻居| 久久精品国产亚洲一区二区三区| 亚洲福利专区| 国产一区二区三区91| 亚洲综合电影| 亚洲午夜电影| 欧美猛男男男激情videos| 天堂av中文在线观看| 亚洲调教视频在线观看| 亚洲一区二区| 亚洲日本网址| 午夜久久美女| 一区二区三区亚洲变态调教大结局| 国产福利一区二区三区在线播放| 日韩视频二区| 国产精品一区二区三区美女| 日本91福利区| 都市激情亚洲一区| 欧美日韩国产综合网| 精品久久亚洲| 日本午夜精品视频在线观看 | 粉嫩久久久久久久极品| 午夜性色一区二区三区免费视频| 成人三级高清视频在线看| 尤物tv在线精品| 亚洲成人影音| 亚洲一区有码|