国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

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 有向圖程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    91美女片黄在线观| 久久久精品有限公司| 波多野结衣精品久久| 国产精品视频在线播放| 日韩精品另类天天更新| 成人av免费电影| 欧美巨猛xxxx猛交黑人97人| 欧美少妇在线观看| 丝袜亚洲欧美日韩综合| 欧美一区二区视频97| 97国产一区二区精品久久呦| 中文字幕免费高| 国产乱码精品一区二区三区不卡 | 国产欧美日韩综合精品二区| 久久久久久久久久久一区| 日韩在线第一区| 国产精品18久久久久久首页狼| 一区不卡视频| 成人免费在线小视频| 欧美黄网免费在线观看| 国产欧美高清在线| 久久99青青精品免费观看| 国产日韩中文字幕在线| 欧美精品一区二区免费| 麻豆亚洲一区| 美女999久久久精品视频| 国产美女视频免费| 亚洲一卡二卡三卡| 91精品成人久久| 亚洲v日韩v综合v精品v| 久久在线中文字幕| 日本精品视频在线观看| www欧美日韩| 男女视频网站在线观看| 国产精品嫩草视频| 国产一区香蕉久久| 色综合老司机第九色激情| 国产欧美一区二区三区四区| 美女视频久久黄| 91久久国产综合久久91精品网站| 亚洲国产精品www| 久久久人成影片一区二区三区 | 欧美亚洲另类视频| 久久久精彩视频| 欧美日韩天天操| 欧美成年人在线观看| 操人视频欧美| 日韩欧美亚洲精品| 国产精品老女人精品视频| 高清不卡日本v二区在线| 岛国一区二区三区高清视频| 色婷婷成人综合| 国模极品一区二区三区| 亚洲国产精品一区二区第四页av| 久久久久中文字幕2018| 免费看国产一级片| 亚洲国产精品久久久久久女王| 久久男人的天堂| 欧洲中文字幕国产精品| 久久国产精品偷| 久久99九九| 国产欧美在线一区| 日韩久久在线| 色综合久久中文字幕综合网小说| 国产极品精品在线观看| 欧美 日韩 激情| 亚洲精品免费在线视频| 国产精品日韩二区| 久久久婷婷一区二区三区不卡 | 午夜精品免费视频| 日韩中文字幕在线观看| 国产自产在线视频一区| 亚洲精品日韩成人| 国产精品麻豆va在线播放| 91免费在线观看网站| 日本欧美视频在线观看| 久久亚洲精品国产亚洲老地址| 97国产在线观看| 男人舔女人下面高潮视频| 亚洲一区 在线播放| 久久99久久精品国产| 国产精品综合久久久| 欧美中文娱乐网| 亚洲精品中文字幕在线| 国产精品旅馆在线| 国产精品av在线| 国产在线一区二| 欧美专区在线视频| 亚洲精品乱码久久久久久自慰| 国产精品黄页免费高清在线观看| 久热这里只精品99re8久| 国产美女在线一区| 黄色片久久久久| 欧美资源在线观看| 日韩资源av在线| 在线视频欧美一区| 国产精品露脸av在线| 日韩一区视频在线| 国产精品99久久久久久久久| 国产欧美日韩中文字幕在线| 青青青青在线视频| 午夜免费在线观看精品视频| 欧美激情一二区| 国产精品男女猛烈高潮激情| 久久精品国产一区二区三区不卡| www.亚洲视频.com| 国产欧美综合一区| 国产一区二区三区免费不卡| 欧美 日韩 国产一区| 欧美影院在线播放| 日韩av电影在线免费播放| 一本久道久久综合狠狠爱亚洲精品| 国产精品美女久久久久av超清| 久久精品国产精品亚洲精品色 | 色综合久综合久久综合久鬼88| 久久综合伊人77777尤物| 久久久久亚洲精品成人网小说| 91精品一区二区三区四区| 成人免费观看a| 爱福利视频一区二区| 成人精品一区二区三区电影免费| 国产精品自产拍在线观看| 国产毛片久久久久久国产毛片| 国产在线精品一区二区中文| 国内精品视频一区| 国产主播喷水一区二区| 精品网站在线看| 黄色片视频在线免费观看| 黄色免费高清视频| 国产在线青青草| 国产精品影片在线观看| 国产精品亚洲аv天堂网| 国产精品一二三视频| www.中文字幕在线| 国产精品97在线| 国产大尺度在线观看| 久久国产精品高清| 国产成人精品视频免费看| 国产精品视频久| 久久成人精品视频| 在线免费观看一区二区三区| 一区二区三区国产福利| 一区二区三区四区久久| 亚洲一区二区在线播放| 亚洲高潮无码久久| 日本高清+成人网在线观看| 日本精品免费| 欧美日韩不卡在线视频| 欧美性资源免费| 国产一区二区高清视频| 国产精品一区免费观看| 99久久国产免费免费| 国产成人综合一区| 久久久精品国产一区二区| 精品国产一区二区三区麻豆小说| 亚洲综合中文字幕在线观看| 天堂av一区二区| 日韩欧美精品在线观看视频| 男人添女人下部高潮视频在观看| 国产欧美日韩视频| 91国产一区在线| 久久精品色欧美aⅴ一区二区| 欧美乱妇40p| 午夜精品视频网站| 精品1区2区| 国产精品亚洲自拍| 国产成人精品视| 欧美成人精品一区二区| 亚洲成色www久久网站| 欧美一级黑人aaaaaaa做受| 经典三级在线视频| jizzjizz国产精品喷水| 91精品国产自产在线老师啪 | 国产精品美女免费视频| 宅男av一区二区三区| 日本一区二区免费高清视频| 内射国产内射夫妻免费频道| 成人在线小视频| 久久久成人av| 一区二区三区在线视频看| 日韩美女av在线免费观看| 国产奶头好大揉着好爽视频| 久久久亚洲国产精品| 国产精品福利无圣光在线一区| 亚洲一区二区中文| 精品欧美日韩在线| 7777奇米亚洲综合久久| 欧美成人精品在线| 日韩视频精品| 国产精品一区二区三区精品| 日韩一区二区福利| 亚洲国产精品一区二区第一页 | 婷婷五月色综合| 国产一区二区三区色淫影院| 久热国产精品视频一区二区三区| 国产精品美女av| 视频在线99| 国产欧美日韩亚洲精品| 久久色在线播放| 日本一区二区在线视频|